all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: uppercase->lowercase and function-key-map
Date: Thu, 23 May 2002 18:44:44 -0600 (MDT)	[thread overview]
Message-ID: <200205240044.g4O0iiS01373@aztec.santafe.edu> (raw)
In-Reply-To: <200205220211.g4M2B8b06553@rum.cs.yale.edu> (monnier+gnu/emacs@RUM.cs.yale.edu)

    When ESC O H fails to be found in function-key-map and the `H' is
    turned into `h' should `ESC O h' be looked up in function-key-map again ?

    My gut feeling says no and a comment in read_key_sequence agrees:

	  /* If the sequence is unbound, see if we can hang a function key
	     off the end of it.  We only want to scan real keyboard input
	     for function key sequences, so if mock_input says that we're
	     re-reading old events, don't examine it.  */

I think that comment is inconclusive.  However, the manual says that
key-translation-map operates on the output from function-key-map
and not vice versa.  That suggests you are right.

    where the `fkey_start = prev_fkey_start' implies that we might rescan
    the new key sequence for function-key-map bindings (whether and
    when this rescan actually happen, I don't really know because the
    code is not the clearest ever).

That could be a bug.  The results of key-translation-map translations
should not be reprocessed through function-key-map.

  reply	other threads:[~2002-05-24  0:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22  2:11 uppercase->lowercase and function-key-map Stefan Monnier
2002-05-24  0:44 ` Richard Stallman [this message]
2002-05-24 15:03   ` Stefan Monnier
2002-05-25 21:20     ` Richard Stallman

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=200205240044.g4O0iiS01373@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.