emacs-devel
[Top][All Lists]
Advanced

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

Re: global minor modes that can be overridden locally? [was: highlight-c


From: Richard Stallman
Subject: Re: global minor modes that can be overridden locally? [was: highlight-changes-mode]
Date: Sun, 10 Dec 2006 20:06:49 -0500

    4. Perhaps an interface for #3 something like this?

    - M-x foo-mode toggles the mode everywhere (including in buffers that have
    local values?) - it is like using setq-default (should it also change the
    local values?).

    - C-u M-x foo-mode toggles the mode in the current buffer only - it is like
    using setq with a local variable.

That might be good.  However, I'd rather have the simplest call
affect only the current buffer and use C-u to make it global.

    - C-9 M-x foo-mode turns the mode on globally. M-- M-x foo-mode turns it off
    globally. That is, you use a numeric prefix to explicitly turn it on or off
    globally (vs toggling).

That would fit the current scheme (except that these should operate locally).

    - C-u C-u foo-mode turns it on locally; C-u C-u C-u turns it off locally.
    That is, you use an non-numeric prefix to explicitly turn it on or off
    locally (vs toggling). Perhaps someone has a better idea here?

these might be ok for global turn on and off.




reply via email to

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