From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: org-mode and mode hooks. Date: Sat, 4 Jun 2005 10:17:42 -0500 (CDT) Message-ID: <200506041517.j54FHgg09328@raven.dms.auburn.edu> References: <87y8a3mnz8.fsf@xs4all.nl> <87ll63weye.fsf-monnier+emacs@gnu.org> <200505252135.j4PLZvt26969@raven.dms.auburn.edu> <87hdgrufcl.fsf-monnier+emacs@gnu.org> <200505260359.j4Q3xbj28809@raven.dms.auburn.edu> <87is16rsid.fsf-monnier+emacs@gnu.org> <200505261501.j4QF17h00246@raven.dms.auburn.edu> <87psveq60w.fsf-monnier+emacs@gnu.org> <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.fs NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117898286 26644 80.91.229.2 (4 Jun 2005 15:18:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2005 15:18:06 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 04 17:18:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeaOm-0001rB-FQ for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2005 17:17:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeaUh-0007V1-Lw for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2005 11:23:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DeaUM-0007Qs-G1 for emacs-devel@gnu.org; Sat, 04 Jun 2005 11:23:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DeaUL-0007Q4-3s for emacs-devel@gnu.org; Sat, 04 Jun 2005 11:23:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeaUK-0007PP-VI for emacs-devel@gnu.org; Sat, 04 Jun 2005 11:23:05 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeaSa-0005Yv-OV; Sat, 04 Jun 2005 11:21:16 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j54FIQCK015834; Sat, 4 Jun 2005 10:18:26 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j54FHgg09328; Sat, 4 Jun 2005 10:17:42 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 04 Jun 2005 06:16:49 -0400) 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:38113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38113 Richard Stallman wrote: I am not sure what problems those are. Maybe I explained just when they occurred, but not what they are. If you call font-lock-{add,remove}-keywords with nil for MODE inside a parent mode's body instead of its mode hook, the keyword is not enabled in the derived mode. If the parent mode does call font-lock-{add,remove}-keywords in its mode hook, the keyword may not be enabled in the derived mode if any involved mode does not follow the new conventions. Sincerely, Luc.