From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tcr@freebits.de Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2159: 23.0.60; [PATCH] Incorrect fontification of SETF functions. Date: Mon, 02 Feb 2009 12:09:15 +0100 Message-ID: <87bptl6qp0.fsf@freebits.de> Reply-To: tcr@freebits.de, 2159@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 X-Trace: ger.gmane.org 1233585041 20190 80.91.229.12 (2 Feb 2009 14:30:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 14:30:41 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 15:31:55 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTzpq-0005mn-1V for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 15:31:38 +0100 Original-Received: from localhost ([127.0.0.1]:33144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTzoX-0001pk-6u for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 09:30:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTwtq-00081M-M8 for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:23:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTwtp-00080g-II for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:23:34 -0500 Original-Received: from [199.232.76.173] (port=50983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTwtp-00080d-Em for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:23:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42989) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTwtp-0000XG-0K for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:23:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12BNVaH011693; Mon, 2 Feb 2009 03:23:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n12BK3Nt010627; Mon, 2 Feb 2009 03:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: tcr@freebits.de Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Feb 2009 11:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2159 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12335730239281 (code B ref -1); Mon, 02 Feb 2009 11:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 11:10:23 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12BAIqo009275 for ; Mon, 2 Feb 2009 03:10:20 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:56705 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LTwfI-0000If-5f for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 06:08:32 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LTwgu-0007r8-5J for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 06:10:14 -0500 Original-Received: from a022.reverse.yawsp.de ([62.27.20.22]:49064 helo=freebits.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTwgt-0007oq-Ep for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 06:10:11 -0500 Original-Received: from host145.natpool.mwn.de ([138.246.7.145] helo=thaleron) by freebits.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44) id 1LTwgT-0006eW-1N for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 11:09:45 +0000 X-freebits.de-MailScanner-Information: http://freebits.de X-freebits.de-MailScanner: Sauber X-freebits.de-MailScanner-SpamCheck: not spam, SpamAssassin (notcached, Wertung=1.897, benoetigt 6, FROM_NO_LOWER 1.90) X-freebits.de-MailScanner-SpamScore: s X-MailScanner-From: tcr@freebits.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 02 Feb 2009 06:23:34 -0500 X-Mailman-Approved-At: Mon, 02 Feb 2009 09:30:11 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24827 gmane.emacs.pretest.bugs:23823 Archived-At: In `lisp-mode', the following forms are fontified incorrectly (defun (setf foo) ...) (defgeneric (setf foo) ...) (defmethod (setf foo) ...) The closing parenthesis of the function name is fontified in `font-lock-function-name-face'. The following patch fixes the issue: ----------------------------------------------------------- --- font-lock.el 2009-02-02 12:02:12.000000000 +0100 +++ font-lock.el-hacked 2009-02-02 11:45:34.000000000 +0100 @@ -2234,7 +2234,8 @@ "\\)\\)\\>" ;; Any whitespace and defined object. "[ \t'\(]*" - "\\(setf[ \t]+\\sw+)\\|\\sw+\\)?") + "\\(setf[ \t]+\\sw+\\|\\sw+\\)?" + "[ \t\)]*") (1 font-lock-keyword-face) (9 (cond ((match-beginning 3) font-lock-function-name-face) ((match-beginning 6) font-lock-variable-name-face) ----------------------------------------------------------- In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-03-19 on vernadsky, modified by Debian (emacs-snapshot package, version 1:20080228-1ubuntu1) Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t -- Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber. Freebits E-Mail Virus Scanner