From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: abbrev-mode - toggle-abbrev-mode Date: Thu, 18 Oct 2007 12:52:22 -0700 Message-ID: <2bfd4e060710181252n5c06c67fib4f22cbdbd56633a@mail.gmail.com> References: <200710150951.24637.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1192737159 9124 80.91.229.12 (18 Oct 2007 19:52:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 19:52:39 +0000 (UTC) Cc: emacs-devel@gnu.org, Richard Stallman , XEmacs Beta List To: "=?ISO-8859-1?Q?Andreas_R=F6hler?=" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 21:52:38 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IibQ5-0000Cx-O9 for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 21:52:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IibPy-0001Ux-8x for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 15:52:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IibPu-0001UW-LV for emacs-devel@gnu.org; Thu, 18 Oct 2007 15:52:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IibPs-0001UA-N6 for emacs-devel@gnu.org; Thu, 18 Oct 2007 15:52:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IibPs-0001U7-KX for emacs-devel@gnu.org; Thu, 18 Oct 2007 15:52:24 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IibPs-00048Z-2y for emacs-devel@gnu.org; Thu, 18 Oct 2007 15:52:24 -0400 Original-Received: by nf-out-0910.google.com with SMTP id f5so259060nfh for ; Thu, 18 Oct 2007 12:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=8dfgnEoU5+dhjs4PJW/xVzK36S3JspL9YINO5SDQ844=; b=r7MSErDnA3+4aEuh3+FSy3lD+8qzCL8V2i/na0qYiXDe/u60CSd6o7OzzTM+gkg0PRBVKl/wOqd0gzS9vY9dfcN8Dx5J+l7ifqgoqD4upV1byA8/Dq5nzeC/gMU/Cw46GRBmkQW64VZfzAHYERYBjWA4SmUn1wJetkI64w6vMQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=uM+cZQtddoReHt6MaT6sgx3GSWQN34wcsU+0NxaqNDjMg563SJbnuiMB7gZXw1JNDNup578LPkRgkaRYly10wXtMDOPz9OggDclAkcyw7Gpa/cnGaZXXjGKStb4pcJDJGtyF0NSHmL1i3SvsVmRG7pjQIktk2bsYcbWUBDBMjpE= Original-Received: by 10.86.98.18 with SMTP id v18mr699547fgb.1192737142256; Thu, 18 Oct 2007 12:52:22 -0700 (PDT) Original-Received: by 10.86.26.15 with HTTP; Thu, 18 Oct 2007 12:52:22 -0700 (PDT) In-Reply-To: <200710150951.24637.andreas.roehler@online.de> Content-Disposition: inline X-Google-Sender-Auth: 20ba7f0c0166fc0d X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81159 gmane.emacs.xemacs.beta:26095 Archived-At: 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=F6hler 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=F6hler > > _______________________________________________ > XEmacs-Beta mailing list > XEmacs-Beta@xemacs.org > http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta >