[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turning on minor modes from hooks
From: |
Richard Stallman |
Subject: |
Re: turning on minor modes from hooks |
Date: |
Sun, 30 Aug 2009 23:33:19 -0400 |
Stephen has long advocated that non-interactive invocation of mode
commands should always turn on the mode instead of toggling.
A call with no arguments, as in (auto-save-mode), naturally ought to
toggle the mode or turn it on. But (auto-save-mode nil) has the
natural meaning of turning the mode off.
Perhaps we could make minor mode functions take &rest arguments so
they can distinguish those two cases. However, that could be a
painful change,
Re: turning on minor modes from hooks,
Richard Stallman <=
Re: turning on minor modes from hooks, Daniel Colascione, 2009/08/31
Re: turning on minor modes from hooks, Tassilo Horn, 2009/08/31
Re: turning on minor modes from hooks, Stefan Monnier, 2009/08/31
Re: turning on minor modes from hooks, Stephen J. Turnbull, 2009/08/31