|
From: | Lennart Borgman |
Subject: | Re: global minor modes that can be overridden locally? [was: highlight-changes-mode] |
Date: | Tue, 12 Dec 2006 04:27:48 +0100 |
User-agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
Richard Stallman wrote:
Why not define a new sub foo-mode-locally to toggle it in current buffer when it is a global minor mode?Two different commands is the way we do it now. In the current scheme; foo-mode is the local toggle and global-foo-mode is the global toggle. I think the current scheme is better than making foo-mode the global command.
The naming scheme does not matter to me very much. What I tried to argue about was that when we define a new global minor mode with define-minor-mode it should define functions for us for toggling both locally and globally.
[Prev in Thread] | Current Thread | [Next in Thread] |