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: org-mode and mode hooks. Date: Tue, 07 Jun 2005 14:15:08 -0400 Message-ID: <87wtp6jarp.fsf-monnier+emacs@gnu.org> References: <87y8a3mnz8.fsf@xs4all.nl> <200505271717.j4RHHGD07067@raven.dms.auburn.edu> <200505290157.j4T1vus10117@raven.dms.auburn.edu> <200505292354.j4TNsTE13354@raven.dms.auburn.edu> <200505311544.j4VFijq17680@raven.dms.auburn.edu> <200506011911.j51JBR025269@raven.dms.auburn.edu> <87oeap231t.fsf-monnier+emacs@gnu.org> <200506012242.j51MgBj26277@raven.dms.auburn.edu> <87r7flpubg.fsf-monnier+emacs@gnu.org> <200506012349.j51NnUA26352@raven.dms.auburn.edu> <200506031505.j53F5IE04403@raven.dms.auburn.edu> <200506041517.j54FHgg09328@raven.dms.auburn.edu> <200506062328.j5 NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118168365 10442 80.91.229.2 (7 Jun 2005 18:19:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 18:19:25 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 20:19:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfieC-0008Ew-5E for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 20:17:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dfikk-0003vd-V8 for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 14:24:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dfik0-0003jM-7s for emacs-devel@gnu.org; Tue, 07 Jun 2005 14:23:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dfijx-0003iM-OT for emacs-devel@gnu.org; Tue, 07 Jun 2005 14:23:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dfijw-0003fO-UT for emacs-devel@gnu.org; Tue, 07 Jun 2005 14:23:52 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dfiew-0002pZ-1Z; Tue, 07 Jun 2005 14:18:42 -0400 Original-Received: from alfajor ([67.71.116.59]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050607181510.MTZB26128.tomts5-srv.bellnexxia.net@alfajor>; Tue, 7 Jun 2005 14:15:10 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 8A79AD7339; Tue, 7 Jun 2005 14:15:08 -0400 (EDT) Original-To: Luc Teirlinck In-Reply-To: <200506062328.j56NSnY18148@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 6 Jun 2005 18:28:49 -0500 (CDT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:38272 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38272 > ! @strong{Warning:} Only use a non-@code{nil} @var{mode} argument when > ! you use @code{font-lock-add-keywords} or > ! @code{font-lock-remove-keywords} in your @file{.emacs} file. When you > ! use these functions from a Lisp program (such as a minor mode), we > ! recommend that you use @code{nil} for @var{mode} (and place the call > ! on a hook) to avoid subtle problems due to the details of the > ! implementation. The intention with the above text was to make a non-nil argument semi-obsolete, so that misfeatures related to them don't need to be fixed. I for one won't touch this code and will fight against "fixes" that pollute the rest of the font-lock code, Stefan