GNU bug report logs -
#8415
23.3.50; Extensible Emacs Registers
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Sun, 3 Apr 2011 12:30:03 UTC
Severity: wishlist
Tags: patch
Found in version 23.3.50
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 8415 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Leo,
On 4/3/11 5:29 AM, Leo wrote:
> I would like to propose the following patch that makes the register
> system easier to hook into. With this change, for example, if one wants
> to make a command to save a keyboard macro to a register. There is no
> need to change register.el. 3rd party libraries such as undo-tree.el can
> add registers of undo state that one can jump to with C-x r j.
>
> With this change, register is now a compound data structure. I have also
> removed one inconsistent use of the argument REGISTER. In the new code
> it always refers to the register object and never the name.
Thanks for doing this work. Why is window configuration special-cased
instead of going through the function hooking mechanism? "Any
customized data" might be parsed as referring to the customize
mechanism; "any value" would suffice. increment and append don't have
extension points. It'd be reasonable for a non-text register type to
support these operations in some sense.
Other than that, it good okay to me.
Thanks,
Daniel Colascione
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 13 years and 323 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.