From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?q?J=E9r=F4me_Marant?= Newsgroups: gmane.emacs.bugs Subject: [PATCH] "@" is not recognized as part of defun name for emacs-lisp Date: Thu, 10 Mar 2005 22:38:38 +0100 Message-ID: <878y4vnpup.fsf@marant.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1110491842 7380 80.91.229.2 (10 Mar 2005 21:57:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2005 21:57:22 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 10 22:57:22 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9Vbc-00027Q-Iq for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Mar 2005 22:54:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9VqZ-0003N4-CP for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Mar 2005 17:09:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9VlN-0000Wd-75 for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2005 17:04:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9VlH-0000UR-CX for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2005 17:04:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9VlG-0000Lw-8Z for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2005 17:04:06 -0500 Original-Received: from [213.228.0.62] (helo=postfix4-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9VNI-0008TT-Rx for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2005 16:39:21 -0500 Original-Received: from amboise (unknown [82.227.97.206]) by postfix4-1.free.fr (Postfix) with ESMTP id 015512B5B8E for ; Thu, 10 Mar 2005 22:39:13 +0100 (CET) Original-Received: by amboise (Postfix, from userid 1000) id 7F0082C03E; Thu, 10 Mar 2005 22:38:39 +0100 (CET) Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) 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 X-MailScanner-To: geb-bug-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.bugs:10906 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10906 Hi, It is seem that @ is a valid character in function names (although I did not see any place in the Lisp Ref where valid characters are mentione= d. I guess everything but parentheses would be the answer?) Lisp-mode does not properly highlight function names containing such a character. This patch is contributed by Joe Edmonds --- /usr/share/emacs/21.3/lisp/emacs-lisp/lisp-mode.el 2003-10-31 10:30:36= .000000000 -0800 +++ lisp-mode.el 2004-03-19 10:11:23.000000000 -0800 @@ -143,7 +143,7 @@ (setq font-lock-defaults '((lisp-font-lock-keywords lisp-font-lock-keywords-1 lisp-font-lock-keywords-2) - nil nil (("+-*/.<>=3D!?$%_&~^:" . "w")) beginning-of-defun + nil nil (("+-*/.<>=3D!?$%_&~^:@" . "w")) beginning-of-defun (font-lock-mark-block-function . mark-defun)))) =20=20 (defun lisp-outline-level () --=20 J=E9r=F4me Marant