abbrev-mode - toggle-abbrev-mode
Stephen J. Turnbull
stephen at xemacs.org
Thu Oct 18 15:52:22 EDT 2007
Adding emacs-devel because I think this is a more general policy question.
In general some-mode and toggle-some-mode are different. (some-mode nil)
is equivalent to (toggle-some-mode), while (some-mode 1) and (some-mode -1)
unconditionally turn it on and off respectively. As far as I know, XEmacs tries
to avoid the toggle-, turn-on-, turn-off-some-mode style. I would
prefer to avoid
introducing it if Emacs is not actively promoting that style (in fact,
I'd prefer to
ask Emacs to do things our way, on principle, not out of laziness ;-).
I'm certainly in favor of maintaining common interfaces for common
but first we should think about whether there are reasons for doing it
one way or
On 10/15/07, Andreas Röhler <andreas.roehler at online.de> wrote:
> It seems as `toggle-abbrev-mode' in GNU Emacs and
> `abbrev-mode' in XEmacs are reciprocal.
> As I'm going to adapt my GNU Emacs Lisp stuff to run at
> XEmacs too, I would like to keep the diffs as small as
> I'm not going to say, abbrev-mode in XEmacs isn't as
> good as in GNU, rather I'm campaigning to take the
> X-way there.
> However, in cases were commands only differ by name,
> what about to give RMS the honour and simply follow GNU
> Thanks all
> Andreas Röhler
> XEmacs-Beta mailing list
> XEmacs-Beta at xemacs.org
More information about the XEmacs-Beta