From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Doing the impossible: magic font-lock-keywords-only changes Date: Fri, 5 Jun 2009 23:41:08 +0200 Message-ID: References: <60769.130.55.118.19.1244230797.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244238092 21021 80.91.229.12 (5 Jun 2009 21:41:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 21:41:32 +0000 (UTC) Cc: Stefan Monnier , Emacs-Devel devel To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 05 23:41:29 2009 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 1MChAG-00040r-4p for ged-emacs-devel@m.gmane.org; Fri, 05 Jun 2009 23:41:28 +0200 Original-Received: from localhost ([127.0.0.1]:40731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MChAF-0007pn-Ks for ged-emacs-devel@m.gmane.org; Fri, 05 Jun 2009 17:41:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MChA2-0007lf-Di for emacs-devel@gnu.org; Fri, 05 Jun 2009 17:41:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCh9x-0007jd-Ng for emacs-devel@gnu.org; Fri, 05 Jun 2009 17:41:13 -0400 Original-Received: from [199.232.76.173] (port=38609 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCh9x-0007jZ-IO for emacs-devel@gnu.org; Fri, 05 Jun 2009 17:41:09 -0400 Original-Received: from mail-fx0-f217.google.com ([209.85.220.217]:38245) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCh9x-0006as-AX for emacs-devel@gnu.org; Fri, 05 Jun 2009 17:41:09 -0400 Original-Received: by fxm17 with SMTP id 17so1962497fxm.42 for ; Fri, 05 Jun 2009 14:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=J6lLe45MBMJ2E82jTFuu0uZhC6E7Apk1/Ul17KlIef0=; b=qpzOdPhg/5wwjg9ZrAMxm8EEOvQUO1YLbjgwU4ynyduxrB7dzvDBZWoan7rfblKaRf u0Bo6rxl8UhsDv1p0AdG+cPXN32JKTP0KbQUxxUq3IxB/plQs17jTahyP//vFjBHDm4S oRtLAEtiMJoj+ui+wjTP5vOiKIwvEpbZKsoJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=L63de3nKpjRdFQYTRQCY2/ZvNQNhDRAHOCx8qTjxg98Mdqi0PzSGtmu5XtBxfKYUBH nfiNfEeSexP3FVMlnfjZqCGOsIsQqkbtw6PYU9VRpSdHE25cDmRcwfmWHRfT3Gmrll8R 99r5ZcUT69ecaA8k91XjaYfAJdJyYGNlH03Dc= Original-Received: by 10.239.151.82 with SMTP id q18mr282367hbb.22.1244238068255; Fri, 05 Jun 2009 14:41:08 -0700 (PDT) In-Reply-To: <60769.130.55.118.19.1244230797.squirrel@webmail.lanl.gov> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:111351 Archived-At: On Fri, Jun 5, 2009 at 9:39 PM, Davis Herring wrote: >> Ah, did not notice, but in this case the output will be the same >> (since font-lock-keywords-only is either t or nil). > > That's not true in general: > > (set 'foo t (make-local-variable 'foo) nil) > (cons (default-value foo) (default-value 'foo)) Nice example (but set takes only two pars), but I have of course tested the output again to see if everything is as I thought. Please see the bug report for more information.