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

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

[debbugs-tracker] bug#19826: closed (25.0.50; wrong binding for 'comment


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19826: closed (25.0.50; wrong binding for 'comment-line)
Date: Mon, 23 Feb 2015 06:05:02 +0000

Your message dated Sun, 22 Feb 2015 22:04:49 -0800
with message-id <address@hidden>
and subject line Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): 
There is no 'C-; '.
has caused the debbugs.gnu.org bug report #19826,
regarding 25.0.50; wrong binding for 'comment-line
to be marked as done.

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


-- 
19826: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19826
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; wrong binding for 'comment-line Date: Tue, 10 Feb 2015 01:09:33 -0500
Hi,

(define-key ctl-x-map "C-;" 'comment-line)

is missing the backslash, and should be

(define-key ctl-x-map "\C-;" 'comment-line)



--- End Message ---
--- Begin Message --- Subject: Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '. Date: Sun, 22 Feb 2015 22:04:49 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
Artur Malabarba wrote:
The actual binding was supposed to be C-x C-;. The problem with bootstrap
surprises me, but I guess it must be something in the order that files are
loaded.

It's because if you try to evaluate the string "\C-;", Emacs throws (error "Invalid modifier in string"). I installed the attached patch to use the keybinding that you wanted. This should fix the bug, so I'm closing the bug report.

Attachment: 0001-Fix-the-desired-binding-for-comment-line.patch
Description: Text Data


--- End Message ---

reply via email to

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