From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Turning on minor modes in File Variables Date: Tue, 07 Jun 2011 15:22:20 -0300 Message-ID: References: <87k4cxr2pv.fsf@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307472636 10974 80.91.229.12 (7 Jun 2011 18:50:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2011 18:50:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: michael_heerdegen@web.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 20:50:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QU1MF-00084i-Vo for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2011 20:50:32 +0200 Original-Received: from localhost ([::1]:45934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU1ME-0003f8-Vz for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2011 14:50:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU0v4-0003mI-W3 for emacs-devel@gnu.org; Tue, 07 Jun 2011 14:22:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QU0v2-0003se-UE for emacs-devel@gnu.org; Tue, 07 Jun 2011 14:22:26 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:47323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU0v2-0003sU-JA for emacs-devel@gnu.org; Tue, 07 Jun 2011 14:22:24 -0400 Original-Received: from 121-249-126-200.fibertel.com.ar ([200.126.249.121]:62373 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QU0v2-0001xW-4d; Tue, 07 Jun 2011 14:22:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D4ACC660DD; Tue, 7 Jun 2011 15:22:20 -0300 (ART) In-Reply-To: <87k4cxr2pv.fsf@web.de> (Michael Heerdegen's message of "Tue, 07 Jun 2011 19:06:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:140276 Archived-At: > There was a plan to make minor modes always turn on if invoked > interactively without prefix arg (Subject "turning on minor modes from > hooks", 2009 in emacs-devel). What's the current state there? This change has been implemented for Emacs-24, tho it only applies to minor modes defined with define-minor-mode. > I guess there wasn't any change, `define-minor-mode' in `easy-mmode.el' > in trunk looks unchanged. Look again. > ;; Local Variables: > ;; mode: TeX-PDF > ;; End: You can also do ;; eval: (TeX-PDF-mode 1) which should work everywhere. It may/will prompt, but in Emacs-24 this has been changed so that `eval' doesn't prompt for such calls to enable minor modes. Stefan