emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#12217: closed (24.2.50; append-to-register: Provid


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12217: closed (24.2.50; append-to-register: Provide a convenient key binding)
Date: Sat, 08 Sep 2012 20:11:01 +0000

Your message dated Sat, 08 Sep 2012 16:09:53 -0400
with message-id <address@hidden>
and subject line Re: bug#12217: [PATCH] Re: 24.2.50; append-to-register: 
Provide a convenient key binding
has caused the debbugs.gnu.org bug report #12217,
regarding 24.2.50; append-to-register: Provide a convenient key binding
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
12217: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12217
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- 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 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)
>> 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!"


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]