unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: emacs-devel@gnu.org, Richard Stallman <rms@gnu.org>,
	XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Re: abbrev-mode - toggle-abbrev-mode
Date: Thu, 18 Oct 2007 12:52:22 -0700	[thread overview]
Message-ID: <2bfd4e060710181252n5c06c67fib4f22cbdbd56633a@mail.gmail.com> (raw)
In-Reply-To: <200710150951.24637.andreas.roehler@online.de>

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
functionality,
but first we should think about whether there are reasons for doing it
one way or
the other.

On 10/15/07, Andreas Röhler <andreas.roehler@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
> possible.
>
> 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
> convention?
>
> Thanks all
>
> Andreas Röhler
>
> _______________________________________________
> XEmacs-Beta mailing list
> XEmacs-Beta@xemacs.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
>

       reply	other threads:[~2007-10-18 19:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200710150951.24637.andreas.roehler@online.de>
2007-10-18 19:52 ` Stephen J. Turnbull [this message]
2007-10-18 22:14   ` abbrev-mode - toggle-abbrev-mode Stefan Monnier
2007-10-19  6:31     ` Andreas Röhler
2007-10-19  5:41   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2bfd4e060710181252n5c06c67fib4f22cbdbd56633a@mail.gmail.com \
    --to=stephen@xemacs.org \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=xemacs-beta@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).