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: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 10387 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: bug#10387: CODE wishlist: search-prop.el
Date: Sun, 24 Nov 2013 19:04:10 +0200
> Date: Sun, 24 Nov 2013 08:51:26 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 10387 <at> debbugs.gnu.org
> 
> > > 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.

No, it can't, not on a Unix text terminal.

> And it can be bound to a command.  And typing it invokes the
> command.  And Emacs recognizes it as a binding of that command.

I'm guessing that you tried this on MS-Windows, where C-M-~ and C-~
are indeed usable in a -nw session.  But not on a Unix TTY.  (The
MS-Windows build of Emacs uses Windows-specific method for reading the
keyboard that is very different from character input on a Posix TTY,
and which supports almost every key combination that the GUI session
does.)

> 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?

I think Unix TTYs can only read those combinations that are
characters.  MS-Windows is different.




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

Previous Next


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