unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
       [not found] ` <E1YPH4o-0006wC-Cj@vcs.savannah.gnu.org>
@ 2015-02-23  1:55   ` Stefan Monnier
  2015-02-23  2:03     ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2015-02-23  1:55 UTC (permalink / raw)
  To: emacs-devel; +Cc: Paul Eggert

>     For now, make do with 'M-;'; this allows 'make bootstrap' to work.

Huh, no, M-; should still be bound to comment-dwim,


        Stefan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
  2015-02-23  1:55   ` [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; ' Stefan Monnier
@ 2015-02-23  2:03     ` Dmitry Gutov
  2015-02-23  4:32       ` Stefan Monnier
  2015-02-23  4:42       ` Artur Malabarba
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Gutov @ 2015-02-23  2:03 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel; +Cc: Paul Eggert

On 02/23/2015 03:55 AM, Stefan Monnier wrote:

> Huh, no, M-; should still be bound to comment-dwim,

That was also my first reaction. But the actual binding it ended up with 
is `C-x M-;'.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
  2015-02-23  2:03     ` Dmitry Gutov
@ 2015-02-23  4:32       ` Stefan Monnier
  2015-02-23  4:42       ` Artur Malabarba
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2015-02-23  4:32 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Paul Eggert, emacs-devel

>> Huh, no, M-; should still be bound to comment-dwim,
> That was also my first reaction. But the actual binding it ended up with is
> `C-x M-;'.

Duh, right!


        Stefan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
  2015-02-23  2:03     ` Dmitry Gutov
  2015-02-23  4:32       ` Stefan Monnier
@ 2015-02-23  4:42       ` Artur Malabarba
  2015-02-23 11:41         ` Andreas Schwab
  2015-02-23 12:13         ` Nicolas Richard
  1 sibling, 2 replies; 7+ messages in thread
From: Artur Malabarba @ 2015-02-23  4:42 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Paul Eggert, Stefan Monnier, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

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.

Thanks a lot for providing a quick fix. I won't be able pick up a computer
for several days now. I'll look into this when I can.
On Feb 22, 2015 11:03 PM, "Dmitry Gutov" <dgutov@yandex.ru> wrote:

> On 02/23/2015 03:55 AM, Stefan Monnier wrote:
>
>  Huh, no, M-; should still be bound to comment-dwim,
>>
>
> That was also my first reaction. But the actual binding it ended up with
> is `C-x M-;'.
>
>

[-- Attachment #2: Type: text/html, Size: 964 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
  2015-02-23  4:42       ` Artur Malabarba
@ 2015-02-23 11:41         ` Andreas Schwab
  2015-02-23 12:13         ` Nicolas Richard
  1 sibling, 0 replies; 7+ messages in thread
From: Andreas Schwab @ 2015-02-23 11:41 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: Paul Eggert, emacs-devel, Stefan Monnier, Dmitry Gutov

Artur Malabarba <bruce.connor.am@gmail.com> writes:

> The actual binding was supposed to be C-x C-;. The problem with bootstrap
> surprises me,

"\C-;" is not a valid syntax.

ELISP> "\C-;"
*** Read error ***  Invalid modifier in string

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
  2015-02-23  4:42       ` Artur Malabarba
  2015-02-23 11:41         ` Andreas Schwab
@ 2015-02-23 12:13         ` Nicolas Richard
  2015-02-23 12:42           ` Artur Malabarba
  1 sibling, 1 reply; 7+ messages in thread
From: Nicolas Richard @ 2015-02-23 12:13 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: Paul Eggert, emacs-devel, Stefan Monnier, Dmitry Gutov

Hello,

Artur Malabarba <bruce.connor.am@gmail.com> writes:
> 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.

"\C-a" is a string with one character. It is just a fancy way of doing
(string 1). But \C-\; doesn't exist as a character.

As suggested in (info "(elisp) Changing Key Bindings"), we could use:
(define-key ctl-x-map [(control ?\;)] 'comment-line)
Or also the (IMHO) uglier version:
(define-key ctl-x-map [?\C-\;] 'comment-line)

-- 
Nicolas Richard



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; '.
  2015-02-23 12:13         ` Nicolas Richard
@ 2015-02-23 12:42           ` Artur Malabarba
  0 siblings, 0 replies; 7+ messages in thread
From: Artur Malabarba @ 2015-02-23 12:42 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: Paul Eggert, Dmitry Gutov, Stefan Monnier, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

> Or also the (IMHO) uglier version:
> (define-key ctl-x-map [?\C-\;] 'comment-line)
Yes, and it seems Paul already pushed this.
Cheers

[-- Attachment #2: Type: text/html, Size: 182 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-23 12:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20150221205502.26624.18158@vcs.savannah.gnu.org>
     [not found] ` <E1YPH4o-0006wC-Cj@vcs.savannah.gnu.org>
2015-02-23  1:55   ` [Emacs-diffs] master 1cb3428: * bindings.el (ctl-x-map): There is no 'C-; ' Stefan Monnier
2015-02-23  2:03     ` Dmitry Gutov
2015-02-23  4:32       ` Stefan Monnier
2015-02-23  4:42       ` Artur Malabarba
2015-02-23 11:41         ` Andreas Schwab
2015-02-23 12:13         ` Nicolas Richard
2015-02-23 12:42           ` Artur Malabarba

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).