all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Subject: keyboard.c "version 1.724":  Echo area handling is wrong after C-u
Date: Sun, 9 Feb 2003 12:41:10 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1030209115607.181A-100000@acm.acm> (raw)

Emacs 21.1 with a patched keyboard.c.  Linux tty.

My keyboard.c is that delivered with Emacs 21.1, patched with the diffs
between the 1.723 and 1.724 CVS versions.  [Apologies if the following
bug doesn't exist in an up-to-date Emacs 21.3 snapshot.  My slow modem
connection makes it difficult for me to check this out].

**************************************************

Note:  On a Linux tty, [esc ?[ ?C] is the sequence of events produced by
pressing the right-arrow key, and is converted to 'right by the
function-key-kap.

1: Type C-u and wait till it appears in the echo area.

2: Type <esc>.
"C-u ESC-" now appears in the echo area.

3: Type "[".
"C-u ESC [-" momentarily flickers in the echo area.  The two last
characters are instantly removed, leaving "C-u-".  THIS SHOULD NOT
HAPPEN.

4: Type "C"
"C-u right" now (correctly) appears in the echo area, and point has been
(correctly) advanced by four characters.

**************************************************

1: Bind [esc ?[ ?9] to some command, e.g. 'previous-line.  This
   key-sequence doesn't exist in function-key-map.

2: Repeat steps 1 to 4 above, except "9" rather than "C" should by typed.
The echo area is left with the wront contents "C-u 9", rather than the
correct "C-u ESC [ 9".  The command, together with the prefix argument,
is correctly executed.

**************************************************

1: Type M-3 and wait.
"ESC 3" appears in the echo area.

2: Type M-C-a.
"ESC 3 ESC C-a" flickers briefly in the echo area.  The echo area is then
instantly truncated to "ESC 3".  THIS SHOULD NOT HAPPEN.  Point is
correctly moved back by three defuns.  The echo area continues to show
(wrongly) "ESC 3" until the next keypress.

**************************************************

Cc's of subsequent emails would be appreciated.

Many thanks in advance.

-- 
Alan Mackenzie (Munich, Germany)
acm@muc.de

                 reply	other threads:[~2003-02-09 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.96.1030209115607.181A-100000@acm.acm \
    --to=acm@muc.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.