emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: command mode-specificity [was: scratch/command 064f


From: Robert Pluim
Subject: Re: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...]
Date: Fri, 19 Feb 2021 12:21:30 +0100

>>>>> On Fri, 19 Feb 2021 10:55:00 +0200, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Date: Fri, 19 Feb 2021 09:47:29 +0100
    >> Cc: Óscar Fuentes <ofv@wanadoo.es>,
    >> Alan Mackenzie <acm@muc.de>, emacs-devel <emacs-devel@gnu.org>
    >> 
    >> The user can always override the author's specification by putting a
    >> completion-predicate on the command in question (this would be a good
    >> use for the 'always' function people have been discussing in a
    >> different thread).

    Eli> If by "user" you really mean users, not Lisp programmers, then I think
    Eli> the above is too obscure for a user-level feature.  If we want to
    Eli> expose this functionality to users, we will need an interactive
    Eli> user-level command to produce such effects in a convenient and
    Eli> user-friendly fashion.

So

    M-x make-command-globally-available RET
    <name of command> RET

and

    M-x make-command-locally-available RET
    <display major and minor modes in effect>
    <select one> (or more?) RET

I donʼt think customize would be suitable for this.

Robert



reply via email to

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