From: David.Kastrup@t-online.de (David Kastrup)
Cc: emacs-devel@gnu.org
Subject: Re: sortcar and sort-subr
Date: 24 May 2003 19:11:02 +0200 [thread overview]
Message-ID: <x5vfw0i82h.fsf@lola.goethe.zz> (raw)
In-Reply-To: <200305241625.h4OGPkl6003995@rum.cs.yale.edu>
"Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:
> While adding a `predicate' argument to sort-subr, I noticed that
> it uses a `sortcar' function (if fboundp) that I've never heard
> of and that doesn't exist and seems never to have existed.
Probably some remniscent of dynamic binding: use something like
(flet ((softcar some-function)) (sort-subr ...
> Any objection to removing it (and adding a `predicate' argument for
> when your keys can't conveniently be numbers or strings) ?
Perhaps do a grep through other sources first to make sure it is
never used in that (ugly) manner.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
prev parent reply other threads:[~2003-05-24 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-24 16:25 sortcar and sort-subr Stefan Monnier
2003-05-24 17:11 ` David Kastrup [this message]
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=x5vfw0i82h.fsf@lola.goethe.zz \
--to=david.kastrup@t-online.de \
--cc=dak@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.