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: Specifying mode in file variables trouble Date: Tue, 23 Sep 2008 17:27:03 -0400 Message-ID: References: <48D44761.6000809@gmail.com> <87ljxny6n8.fsf@catnip.gol.com> <48D44C79.9020004@gmail.com> <48D63F30.8060102@gmail.com> <48D6E8FB.4070108@gmail.com> <48D79A25.7050000@gmail.com> <48D8BD92.5080403@gmail.com> <48D925EA.3030703@gmail.com> <48D95601.8010703@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222205255 31546 80.91.229.12 (23 Sep 2008 21:27:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 21:27:35 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 23 23:28:32 2008 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 1KiFQj-0003IO-Rz for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 23:28:22 +0200 Original-Received: from localhost ([127.0.0.1]:56114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiFPh-0006Ol-V8 for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 17:27:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiFPe-0006Og-Mw for emacs-devel@gnu.org; Tue, 23 Sep 2008 17:27:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiFPd-0006OU-BK for emacs-devel@gnu.org; Tue, 23 Sep 2008 17:27:14 -0400 Original-Received: from [199.232.76.173] (port=57398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiFPd-0006OR-86 for emacs-devel@gnu.org; Tue, 23 Sep 2008 17:27:13 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:60558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KiFPW-0006Nx-Oj; Tue, 23 Sep 2008 17:27:06 -0400 Original-Received: from alfajor.home (vpn-132-204-232-64.acd.umontreal.ca [132.204.232.64]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m8NLR3YY004048; Tue, 23 Sep 2008 17:27:03 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 5A8821C138; Tue, 23 Sep 2008 17:27:03 -0400 (EDT) In-Reply-To: <48D95601.8010703@gmail.com> (Lennart Borgman's message of "Tue, 23 Sep 2008 22:48:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3110=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:104082 Archived-At: >> It sounds like you want it first in the parent's mode hook. > Yes, I think I fall for wishfull thinking there. > That is some more lines to implement ;-) If you can arrange for all the relevant modes to derive from some new `universal-parent-mode', then you just need to make it be first on `universal-parent-mode-hook'. Stefan