From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: font-lock in machine mode of gdba Date: Tue, 19 Oct 2004 08:45:26 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041018.002930.45492341.jet@gyve.org> <16755.10649.857644.666785@farnswood.snap.net.nz> <20041019.112647.212948122.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098189959 31040 80.91.229.6 (19 Oct 2004 12:45:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2004 12:45:59 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 19 14:45:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CJtN4-0008CI-00 for ; Tue, 19 Oct 2004 14:45:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJtUP-00009U-8m for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2004 08:53:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJtUF-00009I-1I for emacs-devel@gnu.org; Tue, 19 Oct 2004 08:53:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJtUE-00008t-9r for emacs-devel@gnu.org; Tue, 19 Oct 2004 08:53:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJtUE-00008q-6R for emacs-devel@gnu.org; Tue, 19 Oct 2004 08:53:10 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJtMp-0002KH-7R for emacs-devel@gnu.org; Tue, 19 Oct 2004 08:45:31 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id BAC198282EF; Tue, 19 Oct 2004 08:45:30 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 856384AC75F; Tue, 19 Oct 2004 08:45:28 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 81C168CA23; Tue, 19 Oct 2004 08:45:26 -0400 (EDT) Original-To: Masatake YAMATO In-Reply-To: <20041019.112647.212948122.jet@gyve.org> (Masatake YAMATO's message of "Tue, 19 Oct 2004 11:26:47 +0900 (JST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28599 > Now font-lock-mode is turn-on in gdb-assembler-mode when > global-font-lock-mode is true. gdb-assembler-mode-hook is also > provided. See the comments at the tail of font-core.el. This is still wrong (well, maybe not "wrong", but...). Your patch should only set font-lock-defaults and nothing more. It should be all that's needed. If it's not enough, then there's a bug elsewhere (typically an omission to call `kill-all-local-variables). Stefan