From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: Bug in Elisp font-locking Date: Fri, 20 Mar 2015 13:31:26 -0400 Message-ID: References: <878uerem09.fsf@gmail.com> <87d243si1c.fsf_-_@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426872737 9186 80.91.229.3 (20 Mar 2015 17:32:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2015 17:32:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 20 18:32:08 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YZ0mE-0005ox-Aj for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 18:32:06 +0100 Original-Received: from localhost ([::1]:44938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ0mD-0003Zb-FD for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 13:32:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ0mA-0003YF-8b for emacs-devel@gnu.org; Fri, 20 Mar 2015 13:32:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZ0m6-0000FR-6f for emacs-devel@gnu.org; Fri, 20 Mar 2015 13:32:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ0m5-0000FK-Vx for emacs-devel@gnu.org; Fri, 20 Mar 2015 13:31:58 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YZ0lw-0005Wu-6l for emacs-devel@gnu.org; Fri, 20 Mar 2015 18:31:48 +0100 Original-Received: from 69-165-152-31.dsl.teksavvy.com ([69.165.152.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Mar 2015 18:31:48 +0100 Original-Received: from monnier by 69-165-152-31.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Mar 2015 18:31:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-165-152-31.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:hzPgxh4swQLh+dpuVBpZ+AN1Pfs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184047 gmane.emacs.help:103227 Archived-At: > Thierry Volpiatto writes: >>> (defun lh/gen-predicate (label) >>> (defalias (intern (concat "lh/" label "-p")) >> ^^^^^^ >> In this case intern should not be highlighted, isn't it ?. Indeed. > (defstruct struct-name ...) > (defstruct (struct-name OPTIONS) ...) Also for defun in Common-Lisp, there's (defun (setf foo) ...) where the "setf" probably shouldn't be highlighted but the "foo" should. > Cc-ing emacs-devel to ask if that's ok to commit. Could explain what the patch does? Stefan