From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: Re: Bug in Elisp font-locking Date: Fri, 20 Mar 2015 23:45:00 +0100 Message-ID: <87zj77qoer.fsf@gnu.org> References: <878uerem09.fsf@gmail.com> <87d243si1c.fsf_-_@gnu.org> <878uersdzi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426891539 26730 80.91.229.3 (20 Mar 2015 22:45:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2015 22:45:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 23:45:26 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YZ5fL-0005vN-3M for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2015 23:45:19 +0100 Original-Received: from localhost ([::1]:45949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ5fK-0006e4-91 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2015 18:45:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ5f9-0006bx-S3 for help-gnu-emacs@gnu.org; Fri, 20 Mar 2015 18:45:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZ5f6-00013L-Na for help-gnu-emacs@gnu.org; Fri, 20 Mar 2015 18:45:07 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:53672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ5f6-00011I-KC for help-gnu-emacs@gnu.org; Fri, 20 Mar 2015 18:45:04 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BBAC320862 for ; Fri, 20 Mar 2015 18:45:01 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 20 Mar 2015 18:45:04 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:references :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=sq1geIInjS/EulVu7ZqG4XfhW/8=; b=S+F1dYCUG0tWoSjXHZJC fvF+8hRS8sBi0Elf3rvzqx4DszSkKDLg4UlPk8vbBo2MNwDRe/N3R/8azQc+rhbE X+2wmZ3I8YjNRXFs352ZdI9iWRxaClWg2w77bmGnJfzIKPWWNQCw8mixqeEqrCWp oC9cPQwtHDHRrH2p2jeNRiY= X-Sasl-enc: o3O9cY5rvAtM7MvO/rCGA2QeINmU2QqdYEYnH3PBK02p 1426891503 Original-Received: from thinkpad-t440p (unknown [2.161.210.144]) by mail.messagingengine.com (Postfix) with ESMTPA id A91C8C00017; Fri, 20 Mar 2015 18:45:02 -0400 (EDT) Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org, help-gnu-emacs@gnu.org In-Reply-To: (Stefan Monnier's message of "Fri, 20 Mar 2015 16:38:41 -0400") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.27 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103233 gmane.emacs.devel:184064 Archived-At: Stefan Monnier writes: >>> Could explain what the patch does? > [...] >> Or in simpler words: if the name appears after an opening paren, that >> cannot be a function name so don't font-lock as such. > > OK, that sounds right for *Lisp, I've committed the patch for elisp, and just now also for CL after scratching my head why its regex explicitly handled "(setf " as function name. Aha, that's a setf-expander. Learned something again. :-) Bye, Tassilo