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: Backtrace and message buffer tell me different things Date: Sun, 19 Dec 2010 08:51:57 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292766732 8613 80.91.229.12 (19 Dec 2010 13:52:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2010 13:52:12 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 19 14:52:07 2010 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.69) (envelope-from ) id 1PUJgE-0001l5-CN for ged-emacs-devel@m.gmane.org; Sun, 19 Dec 2010 14:52:06 +0100 Original-Received: from localhost ([127.0.0.1]:33862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUJgE-0006gj-0J for ged-emacs-devel@m.gmane.org; Sun, 19 Dec 2010 08:52:06 -0500 Original-Received: from [140.186.70.92] (port=48916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUJg7-0006g9-D6 for emacs-devel@gnu.org; Sun, 19 Dec 2010 08:52:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUJg6-0000ij-88 for emacs-devel@gnu.org; Sun, 19 Dec 2010 08:51:59 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:42739 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUJg6-0000ic-5b for emacs-devel@gnu.org; Sun, 19 Dec 2010 08:51:58 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAAudDU1Ld/KP/2dsb2JhbACkM3S6c4VKBIRljhI X-IronPort-AV: E=Sophos;i="4.60,196,1291611600"; d="scan'208";a="85871514" Original-Received: from 75-119-242-143.dsl.teksavvy.com (HELO pastel.home) ([75.119.242.143]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 19 Dec 2010 08:51:57 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0CFFD58E99; Sun, 19 Dec 2010 08:51:57 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Sat, 18 Dec 2010 23:00:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:133812 Archived-At: > - Fontification variables are let-bound by mumamo in the function it > creates to do the fontification. It is done this way to override the > buffer local variables as fast as possible. Not sure why it let-binds these vars, but that's OK, it might indeed be the best solution to your problem. > - This particular variable is not buffer local by default so it is set > with make-local-variable somewhere. > (Maybe you want to avoid make-variable-buffer-local to catch conflicts > like this?) I think having it make-variable-buffer-local would not help (tho it might happen to silence the warning because the check is not done well enough). What you want then is to explicitly (make-local-variable ) before let-binding those vars. Stefan