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: 8415 <at> debbugs.gnu.org
Subject: bug#8415: 23.3.50; Extensible Emacs Registers
Date: Sun, 26 Jun 2011 14:42:19 +0800
On 2011-06-25 21:19 +0800, Stefan Monnier wrote:
> But I'd pass `val' directly, so the function can use extra fields in
> values that inherit from registerv.  You could drop the `data' field as
> well, at that point.
>
> This just makes it more OO, and maybe experience would show that it
> actually makes things worse (just adds unused extra flexibility), so
> I'll let you judge.  Either way is OK with me.

Thanks for the comments. From my use cases, it seems most of the time
only DATA is needed and in other times closure can be used. I have made
the commit for wider testing.

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.