GNU bug report logs - #12217
24.2.50; append-to-register: Provide a convenient key binding

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Fri, 17 Aug 2012 09:49:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.2.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jambunathan K <kjambunathan <at> gmail.com>
Subject: bug#12217: closed (Re: bug#12217: [PATCH] Re: 24.2.50;
 append-to-register: Provide a convenient key binding)
Date: Sat, 08 Sep 2012 20:11:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#12217: 24.2.50; append-to-register: Provide a convenient key binding

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 12217 <at> debbugs.gnu.org.

-- 
12217: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12217
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 12217-done <at> debbugs.gnu.org
Subject: Re: bug#12217: [PATCH] Re: 24.2.50;
	append-to-register: Provide a convenient key binding
Date: Sat, 08 Sep 2012 16:09:53 -0400
>> Maybe you could prompt for a separator if the user provided a C-u
>> prefix?
> Prefix is used as a `delete-flag' already ...

The way I read the current binding of C-x r + (increment-register), it
only uses the prefix to specify the number to add to the register, which
in the case of string concatenation is of no use.

So we can use the prefix of C-x + either the way you do in your current
patch (i.e. to specify the delete-flag of append-to-register) or we can
use it to specify the separator.

I understand that deleting the text is a common need, but you can do
that with C-x + C-w instead of C-u C-x +, so maybe it's OK to use C-u
for the separator.

> I have introduced an extra indirection via a `separator-register' (which
> is nil by default) Now what gets used as a separator - a newline, a
> double newline, a comma or a tab - is under user control.

I've renamed it to register-separator, because I'd rather that
register.el move (ever so slowly) to obey the "register-" prefix.


        Stefan "Installed, thank you!"

[Message part 3 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; append-to-register: Provide a convenient key binding
Date: Fri, 17 Aug 2012 15:09:49 +0530
Subject says it all.

24.2.50; append-to-register: Provide a convenient key binding




This bug report was last modified 12 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.