GNU bug report logs - #8415
23.3.50; Extensible Emacs Registers

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Leo <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Davis Herring <herring <at> lanl.gov>, 8415 <at> debbugs.gnu.org, Daniel Colascione <dan.colascione <at> gmail.com>
Subject: bug#8415: 23.3.50; Extensible Emacs Registers
Date: Wed, 06 Apr 2011 13:00:04 +0800
On 2011-04-05 21:50 +0800, Stefan Monnier wrote:
>>> The end point is pretty much the same, but all the intermediate steps
>>> are safe and easy to check.
>> I think a structure still is a better approach.
>
> I already agreed in the previous message.
>
>
>         Stefan

Sorry if I have missed that.

The alternative you propose, i.e. making the value a structure is
actually the first approach I attempted in
http://article.gmane.org/gmane.emacs.devel/137781.

1. all existing register-creating commands need to use the new
   implementation, so the patch won't be any smaller.

2. needs explicitly creating a register-value struct i.e.
  (register-set ?a (register-value-make ....)). If change
  register-set to implicitly convert to a struct then it has
  the same incompatible change as I proposed in this bug report.

So the alternative doesn't offer anything better.

If you are agreeable to the patch in
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8415#19, I am ready to
watch closely for any incoming bugs that related to register.el and fix
them as quickly as I can.

Leo




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.