emacs-devel
[Top][All Lists]
Advanced

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

Re: Per-mode obarray for M-x


From: Richard Stallman
Subject: Re: Per-mode obarray for M-x
Date: Thu, 10 Mar 2011 18:15:39 -0500

      The idea is that I could do "M-x
    bod" and it would call the right version.

If you want `bod' to do something mode-specific, it is easy enough to
define a command `bod' that uses a variable to decide what to do.

                                               Of course it would make no
    sense for this particular case, but in general instead of making long,
    hard to remember key bindings for less frequently used commands you
    could use M-x with an easier to remember mnemonic.

You could define them as aliases yourself, too.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org



reply via email to

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