emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-temporary-overlay-map seems poorly named


From: Chong Yidong
Subject: Re: set-temporary-overlay-map seems poorly named
Date: Sun, 22 Dec 2013 08:36:37 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> 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.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]