GNU bug report logs - #10387
CODE wishlist: search-prop.el

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Wed, 28 Dec 2011 08:03:02 UTC

Severity: wishlist

Tags: patch

Found in version 23.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 10387 <at> debbugs.gnu.org
Subject: bug#10387: CODE wishlist: search-prop.el
Date: Sun, 24 Nov 2013 08:51:26 -0800 (PST)
> > M-x global-set-key C-~ forward-char
> 
> That binds C-^ in -nw.  C-~ isn't a character.
> (characterp ?\C-~) => nil

What's your point?

The claim (from Juri) was that `C-M-~' "cannot be typed on tty".

But it can be typed.  And it can be bound to a command.
And typing it invokes the command.  And Emacs recognizes it
as a binding of that command.  And Emacs does not recognize,
just because of that binding, that `C-M-^ is bound to that
command (or is bound at all).

What does this behavior, and the usefulness of this binding,
have to do with the fact that `C-~' or `C-M-~' is not a character?
Or with the fact that `C-^' is a character and `C-~' is not?

In `emacs -Q -nw', `C-down' is bound to `forward-paragraph'.
Yet (characterp [(control down)]) is nil.  So what?  Did those
who defined that default binding for Emacs out of the box make
a mistake?  Was that a no-no?




This bug report was last modified 6 years and 25 days ago.

Previous Next


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