unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: sort-first arg to map-keymap
Date: Mon, 27 Mar 2006 01:44:22 -0500	[thread overview]
Message-ID: <87acbcjsvq.fsf-monnier+emacs@gnu.org> (raw)


Does anyone know why we have the `sort-first' arg to map-keymap?
It doesn't seem to be used anywhere and its implementation is rather odd
(its handling is delegated from C to Lisp's map-keymap-internal which them
calls back C's map-keymap function, with an apparent-only circular
dependency).

As best as I can tell, it comes from emacs-lisp/lucid.el which is a brittle
package which tries to provide very coarse XEmacs compatibility; but
XEmacs's `map-keymap' function doesn't behave like ours anyway (it doesn't
apply the function to the keymap's parents, for one thing), and lucid.el has
never been very highly used, so it seems better to keep its brittle code in
lucid.el than to move it to subr.el.


        Stefan

             reply	other threads:[~2006-03-27  6:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27  6:44 Stefan Monnier [this message]
2006-03-28 19:33 ` sort-first arg to map-keymap Richard Stallman
2006-03-28 19:46   ` Stefan Monnier
2006-03-29 23:01     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87acbcjsvq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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 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).