* Re: [elpa] externals/dape bd1c30d52e 1/5: Fix out of hexl region error
[not found] ` <20241229235745.92F9ADB4A4B@vcs3.savannah.gnu.org>
@ 2024-12-30 4:36 ` Stefan Monnier
2025-01-07 19:24 ` Daniel Pettersson
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2024-12-30 4:36 UTC (permalink / raw)
To: Daniel Pettersson; +Cc: emacs-devel
> branch: externals/dape
> commit bd1c30d52e44563b407d887f25fdfc6912b97df5
> Author: Daniel Pettersson <daniel@dpettersson.net>
> Commit: Daniel Pettersson <daniel@dpettersson.net>
>
> Fix out of hexl region error
Reminds me: have you tried to offer a way to use `nhexl-mode` instead of
`hexl-mode`? It might require changes to `nhexl-mode.el`, in order to
be able to adjust the base address, and maybe others, but I'd be
happy to adjust `nhexl-mode.el` to provide the necessary hooks to make
it work well.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [elpa] externals/dape bd1c30d52e 1/5: Fix out of hexl region error
2024-12-30 4:36 ` [elpa] externals/dape bd1c30d52e 1/5: Fix out of hexl region error Stefan Monnier
@ 2025-01-07 19:24 ` Daniel Pettersson
2025-01-08 16:12 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Pettersson @ 2025-01-07 19:24 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [elpa] externals/dape bd1c30d52e 1/5: Fix out of hexl region error
2025-01-07 19:24 ` Daniel Pettersson
@ 2025-01-08 16:12 ` Stefan Monnier
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2025-01-08 16:12 UTC (permalink / raw)
To: Daniel Pettersson; +Cc: emacs-devel
> 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.
[ I'll let you decide how that should work. ]
> 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
Sounds like these would also be needed for nhexl, tho probably
with the details being different.
> It would be preferable if nhexl-mode had some built in way of setting
> the offset.
Yes, I'd be happy to change nhexl mode to better support Dape.
Should I expect a patch from you?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-08 16:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <173551666483.747519.2819007587227627326@vcs3.savannah.gnu.org>
[not found] ` <20241229235745.92F9ADB4A4B@vcs3.savannah.gnu.org>
2024-12-30 4:36 ` [elpa] externals/dape bd1c30d52e 1/5: Fix out of hexl region error Stefan Monnier
2025-01-07 19:24 ` Daniel Pettersson
2025-01-08 16:12 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).