From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: abbrev-mode - toggle-abbrev-mode Date: Fri, 19 Oct 2007 08:31:39 +0200 Message-ID: <200710190831.40392.andreas.roehler@online.de> References: <200710150951.24637.andreas.roehler@online.de> <2bfd4e060710181252n5c06c67fib4f22cbdbd56633a@mail.gmail.com> 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 1192775219 4402 80.91.229.12 (19 Oct 2007 06:26:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 06:26:59 +0000 (UTC) Cc: Stefan Monnier , Stephen Turnbull , Richard Stallman To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 19 08:26:58 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 1IilJw-0006pC-Ba for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 08:26:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IilJo-0005OU-TY for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 02:26:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IilJl-0005M9-Bh for emacs-devel@gnu.org; Fri, 19 Oct 2007 02:26:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IilJj-0005Ic-LM for emacs-devel@gnu.org; Fri, 19 Oct 2007 02:26:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IilJj-0005IV-IR for emacs-devel@gnu.org; Fri, 19 Oct 2007 02:26:43 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IilJf-0003YQ-7j; Fri, 19 Oct 2007 02:26:39 -0400 Original-Received: from noname (p54BE8B7F.dip0.t-ipconnect.de [84.190.139.127]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1IilJY21ol-0001Ls; Fri, 19 Oct 2007 08:26:33 +0200 User-Agent: KMail/1.9.5 In-Reply-To: Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX18aAuPi2bf+Ael+qcaeh6ysJDv+Fz2iiIAWf60 IwE+C3aQryz9EKA4XTMcz3ARZqnJiRBqW5+ebyJgOrUdZlTxZQ tCqHkDBQHL59yjp7rTC9g== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:81196 Archived-At: Am Freitag, 19. Oktober 2007 00:14 schrieb Stefan Monnier: > > Adding emacs-devel because I think this is a more general policy > > question. In general some-mode and toggle-some-mode are different.=20 > > (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. > Oh yeah, sorry to all. That's my own forgotten alias I disputed here. All ashes over me. Andreas R=F6hler