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 opposed to turn-on-foo-mode, turn-off-foo-mode, and toggle-foo-mode,
since the foo-mode function covers all 3 uses just fine.
This said, as far as I can tell, Emacs has no `toggle-abbrev-mode', so
I don't know what Andreas was talking about.
Stefan
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta