From: Bozhidar Batsov <bozhidar@batsov.com>
To: Chong Yidong <cyd@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: set-temporary-overlay-map seems poorly named
Date: Sun, 22 Dec 2013 10:38:22 +0200 [thread overview]
Message-ID: <CAM9Zgm0Ee5JfVBi2rZT5iwSCOY+xBYDzZbo0pDDmWiyYdnGuSg@mail.gmail.com> (raw)
In-Reply-To: <87sitl3ene.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 822 bytes --]
+1 for "transient".
On 22 December 2013 02:36, Chong Yidong <cyd@gnu.org> wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> This function, new in Emacs 24.4, seems to have nothing to do with
> >> overlays in the usual Emacs sense. So it's a bad name.
> >>
> >> How about renaming it to `set-transient-keymap'?
> >
> > 'set-temporary-overriding-map', perhaps?
>
> This might be confusing, since overriding-local-map takes precedence
> over the temporary map.
>
> The reason I think "transient" is a good term to use is that we already
> use that word in Emacs in `transient-mode-map' to mean the same sort of
> behavior: a mode of operation which features disappears after doing
> something, returning you to the previous behavior. (We also use the
> word "electric" similarly, but that is a lot more cryptic.)
>
>
[-- Attachment #2: Type: text/html, Size: 1313 bytes --]
next prev parent reply other threads:[~2013-12-22 8:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 5:45 set-temporary-overlay-map seems poorly named Chong Yidong
2013-12-21 5:58 ` Jambunathan K
2013-12-22 14:19 ` Jambunathan K
2013-12-22 16:50 ` Jambunathan K
2013-12-21 8:26 ` Eli Zaretskii
2013-12-22 0:36 ` Chong Yidong
2013-12-22 8:38 ` Bozhidar Batsov [this message]
2013-12-22 10:48 ` Stefan Monnier
2013-12-22 13:43 ` Chong Yidong
2013-12-23 1:27 ` Stefan Monnier
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=CAM9Zgm0Ee5JfVBi2rZT5iwSCOY+xBYDzZbo0pDDmWiyYdnGuSg@mail.gmail.com \
--to=bozhidar@batsov.com \
--cc=cyd@gnu.org \
--cc=eliz@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.