From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Bug in Elisp font-locking Date: Sat, 21 Mar 2015 08:55:18 +0100 Message-ID: <87twxebx95.fsf@gnu.org> References: <878uerem09.fsf@gmail.com> <87d243si1c.fsf_-_@gnu.org> <878uersdzi.fsf@gnu.org> <87zj77qoer.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426924547 26444 80.91.229.3 (21 Mar 2015 07:55:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2015 07:55:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 21 08:55:36 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 1YZEFp-0003Ew-Vc for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 08:55:34 +0100 Original-Received: from localhost ([::1]:46921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZEFp-0004VY-D5 for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 03:55:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZEFk-0004VR-5K for emacs-devel@gnu.org; Sat, 21 Mar 2015 03:55:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZEFf-0008U3-5G for emacs-devel@gnu.org; Sat, 21 Mar 2015 03:55:28 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:32917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZEFe-0008Ty-UL for emacs-devel@gnu.org; Sat, 21 Mar 2015 03:55:23 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id EB58E20489 for ; Sat, 21 Mar 2015 03:55:19 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 21 Mar 2015 03:55:22 -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=bEqSuhyEtHGnqGzZH8SpsSm1c0U=; b=CHVbV2lQvnhiOkGj+AaG HGiLlInWLlt/sfygzgujSx1dlrUC+3DqCBxM9JRRPwvqoCIgEohD7RDPXO3EWWmQ zjy1mzMe+vSXDRhJ8Q5OhbrGjFyUcMOXcghOm4vZtKG9RL9SuHLXhVBCPt3GotWr g+2UayX43qCOu3HWT50Kcgs= X-Sasl-enc: nAwYogoZRXUAqPT0ajnTk0nNFb84+YMhE4x0MVNaLXFe 1426924521 Original-Received: from thinkpad-t440p (unknown [2.161.28.207]) by mail.messagingengine.com (Postfix) with ESMTPA id 54FD8C00011; Sat, 21 Mar 2015 03:55:21 -0400 (EDT) Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Fri, 20 Mar 2015 22:33:36 -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: 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:184074 Archived-At: Stefan Monnier writes: >> scratching my head why its regex explicitly handled "(setf " >> as function name. Aha, that's a setf-expander. Learned something >> again. :-) > > It's supported for cl-defmethod, by the way. Ah, there we have our counter-example. Oh well, `cl-defmethod' isn't listed as a defining keyword anyhow. eieio's `defmethod' OTOH is, but that doesn't seem to support (setf name), at least its docs don't mention it. So I guess the cl-version should be added since the eieio version is marked as obsolete. Anyhow, I've now added cl-defmethod as cl-lib definier and added the (setf symbol) stuff also for elisp. Bye, Tassilo