From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Pettersson Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/dape bd1c30d52e 1/5: Fix out of hexl region error Date: Tue, 07 Jan 2025 20:24:45 +0100 Message-ID: References: <173551666483.747519.2819007587227627326@vcs3.savannah.gnu.org> <20241229235745.92F9ADB4A4B@vcs3.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29006"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 07 20:47:07 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tVFXf-0007PO-II for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jan 2025 20:47:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVFXQ-0002Cp-Px; Tue, 07 Jan 2025 14:46:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVFC7-00033G-3E for emacs-devel@gnu.org; Tue, 07 Jan 2025 14:24:51 -0500 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVFC5-0007SS-GA for emacs-devel@gnu.org; Tue, 07 Jan 2025 14:24:50 -0500 Original-Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-30227ccf803so178146831fa.2 for ; Tue, 07 Jan 2025 11:24:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736277887; x=1736882687; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QjyXlolqYBXXcxCegFIjKziGROTdlrTOYTgp4GmXC28=; b=Xiq31OviaRzz4QSgtu001knLefZ75iON9Oq6kseGfGgiNWrIVnlJCZhTPMEWkYNdzo wW/jh67+tc6CBg6iQX+sebPFtKOjfqAyL28wmJ1p2pBbgYF+zfBMSXQFQe/llXXcJhdl J1U465xRT16dn5d8/EfzpvAOk4UXYZ0EXKsFhbvDkVKpgVO/fW1Dg3mB62N4qvz4UTa7 si1dOShgT6NhxxX+Q2isTaHnQT3NZ9/PFg5e5/GIeHQLNswrGIuOgAALV7z0X2EVLZPP LC58Hm4FbGi062Fs6IzI43pr/SiSja5QDLrs/IhiURJ4Cjyr8pq4ZjXfGpwqlJ6PqBOu NCBQ== X-Gm-Message-State: AOJu0YyekvAtadB8aRVVh2wbkMA5XXVMI9+viHocbkWPEGZ/AlhQMiwm O/3v/i4QhASyQWNdc1l02cB+vKKnyIYFOKYjM0aA2BObJlPSbONohnhXQA== X-Gm-Gg: ASbGncvxBfdEnEzneEN+fAcx6oTYAR59npZtojMVWpHLtdKL+ZYrOoV9p5FKuiyf47e jfo5DUrJL7cpzEPz8ZGG7ePkgDD3gsoAZ/OkhH02OJOCL91irr3TWoOuvoGS45yz/Xndn2jB2YZ biY36UiAjdoE5/GLzm9Q9j2cGtsb6MjbsCkTScAbweC2vJRj/awmdYZz0pjT3oB2i0D8ZXeh2Se WzRVler4qpqzoX4ja74VYrLCez33KTizm1SNHEFLAQyqRRirpQUnXXCtptAChCw/uA37ggG62j+ LHAqUuF24w2jhLK0vyqsS7r0yzADcC6+ X-Google-Smtp-Source: AGHT+IHXTmlEMRwhBQ/xFX84CkVUhEioi8JlQVSytuWcDQaX+ShUDkuShay87tYwdmPykOpVuzlacw== X-Received: by 2002:a05:651c:2223:b0:302:4130:e0c8 with SMTP id 38308e7fff4ca-304685305e1mr200193021fa.9.1736277886763; Tue, 07 Jan 2025 11:24:46 -0800 (PST) Original-Received: from Daniels-Air (c-85-228-201-151.bbcust.telenor.se. [85.228.201.151]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3045b082e01sm59695141fa.98.2025.01.07.11.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:24:46 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Sun, 29 Dec 2024 23:36:39 -0500") Received-SPF: pass client-ip=209.85.208.176; envelope-from=daniel.dpettersson.net@gmail.com; helo=mail-lj1-f176.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.24, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 07 Jan 2025 14:46:47 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327773 Archived-At: Hey Stefan! I just installed nhexl-mode and it seams great. Dapes integration with hexl is a bit awkward as it doesn't support base address offset. I am not sure if it makes sense to drop hexl support (if not nhexl is moved into core) but I am all for adding some custom's for swapping out hexl-mode for nhexl-mode if that is what the user wants. Currently the dape-read-memory installs: - variable for address offset - revert-function to convert base64 string into hexl buffer - write-contents-functions function for converting back into base64 and sending to debug adapter It would be preferable if nhexl-mode had some built in way of setting the offset. /Daniel Pettersson