emacs-devel
[Top][All Lists]
Advanced

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

Re: Current mode command discovery


From: Dmitry Gutov
Subject: Re: Current mode command discovery
Date: Sun, 14 Feb 2021 22:16:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 14.02.2021 22:00, Óscar Fuentes wrote:
That only works with major modes, which IMO is enough to disqualify it,

Extending the implementation to minor modes should be straightforward.

but on addition it uses crude heuristics for detecting the commands
related to the major mode.

It's fairly crude, but do you imagine any frequent cases where it would lead to false positives? Any false negatives can be augmented with special (declare ...) instructions. But if we take that approach as a basis, fewer commands might such annotations.



reply via email to

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