From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: `turn-on-eldoc-mode' obsolete? Date: Thu, 10 Apr 2014 13:22:04 +0200 Message-ID: <1546802.XA6dIj1tU7@descartes> References: <1466870.uFosKEoTT2@descartes> <87r455o2tt.fsf@gnu.org> 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 1397128964 872 80.91.229.3 (10 Apr 2014 11:22:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2014 11:22:44 +0000 (UTC) Cc: monnier@iro.umontreal.ca, Tassilo Horn To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 10 13:22:37 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 1WYD3z-0004PM-O5 for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2014 13:22:35 +0200 Original-Received: from localhost ([::1]:50337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYD3z-0002GL-9T for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2014 07:22:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYD3p-0002DV-W3 for emacs-devel@gnu.org; Thu, 10 Apr 2014 07:22:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYD3i-0002SX-IM for emacs-devel@gnu.org; Thu, 10 Apr 2014 07:22:25 -0400 Original-Received: from ptmx.org ([178.63.28.110]:36987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYD3i-0002SJ-Cv; Thu, 10 Apr 2014 07:22:18 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 3A4E2299E4; Thu, 10 Apr 2014 13:22:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2HAhVJ+44Y+Z; Thu, 10 Apr 2014 13:22:15 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 8C2B9280EA; Thu, 10 Apr 2014 13:22:15 +0200 (CEST) User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <87r455o2tt.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 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:171383 Archived-At: Hi, On Thursday 10 April 2014 13:12:46 Tassilo Horn wrote: > 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 lis= p > if you provide 'toggle as argument. that makes sense. So all `turn-on-*' functions should eventually be re= moved? Regards, R=C3=BCdiger