bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#16312: 24.3.50; Docstring fix for `set-transient-map' (and tangents.


From: Lars Ingebrigtsen
Subject: bug#16312: 24.3.50; Docstring fix for `set-transient-map' (and tangents...)
Date: Thu, 15 Jul 2021 07:18:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Phil Sainty <psainty@orcon.net.nz> writes:

> The docstring for `set-transient-map' states:
>
>> Note that MAP will take precedence over the \"overriding\" maps
>> `overriding-terminal-local-map' and `overriding-local-map' (and
>> over the `keymap' text property).  Unlike those maps, if no match
>> for a key is found in MAP, Emacs continues the normal key lookup
>> sequence.
>
> The NEWS file suggests that this info is now incorrect for the
> former of those two:
>
>> * Incompatible Lisp Changes in Emacs 24.4
>>
>> ** `overriding-terminal-local-map' no longer replaces the local keymaps.
>> It used to disable the minor mode, major mode, and text-property keymaps,
>> whereas now it simply has higher precedence.

It seems like this was fixed in:

commit ec00f20f553cdd37c1261a5a228ec762fc9b5497
Author:     Stefan Monnier <monnier@iro.umontreal.ca>
AuthorDate: Mon Jan 6 14:29:39 2014 -0500

> I also see the phrase "the keymap char property" in the docstring for
> `overriding-local-map'. Should that read "the keymap text property"? Or
> is this because there's a keymap Overlay property as well, and the
> `get-char-property' function checks them both?

Yup.  I've now clarified this in the doc string in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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