From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: `turn-on-eldoc-mode' obsolete? Date: Thu, 10 Apr 2014 13:37:44 +0200 Message-ID: <87mwfto1o7.fsf@gnu.org> References: <1466870.uFosKEoTT2@descartes> <87r455o2tt.fsf@gnu.org> <1546802.XA6dIj1tU7@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397129930 17799 80.91.229.3 (10 Apr 2014 11:38:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2014 11:38:50 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 10 13:38:43 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WYDJa-00085a-76 for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2014 13:38:42 +0200 Original-Received: from localhost ([::1]:50390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYDJZ-0005mL-RG for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2014 07:38:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYDJR-0005m4-BW for emacs-devel@gnu.org; Thu, 10 Apr 2014 07:38:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYDJL-0007oZ-Al for emacs-devel@gnu.org; Thu, 10 Apr 2014 07:38:33 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:33748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYDJL-0007oL-4b for emacs-devel@gnu.org; Thu, 10 Apr 2014 07:38:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3514E1A81F0; Thu, 10 Apr 2014 13:38:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id InOiWbeK6TTS; Thu, 10 Apr 2014 13:38:23 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad-t440p (dhcp17.uni-koblenz.de [141.26.71.17]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 72FB71A8302; Thu, 10 Apr 2014 13:38:23 +0200 (CEST) Mail-Followup-To: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld , emacs-devel@gnu.org, monnier@iro.umontreal.ca In-Reply-To: <1546802.XA6dIj1tU7@descartes> (=?utf-8?Q?=22R=C3=BCdiger?= Sonderfeld"'s message of "Thu, 10 Apr 2014 13:22:04 +0200") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171384 Archived-At: R=C3=BCdiger Sonderfeld writes: Hi R=C3=BCdiger, >> It used to be but not anymore. Now all minor-modes defined with >> `define-minor-mode' (which see) are turned on when passed no >> argument. Thus >>=20 >> (add-hook 'some-mode-hook #'some-minor-mode) >>=20 >> will always enable some-minor-mode. >>=20 >> The toggling behavior is only active in interactive calls or from lisp >> if you provide 'toggle as argument. > > that makes sense. So all `turn-on-*' functions should eventually be > removed? Yes, I guess so. Bye, Tassilo