From: "Jérôme Marant" <jmarant@free.fr>
Subject: [PATCH] "@" is not recognized as part of defun name for emacs-lisp
Date: Thu, 10 Mar 2005 22:38:38 +0100 [thread overview]
Message-ID: <878y4vnpup.fsf@marant.org> (raw)
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 mentioned.
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 <joe-bugs-debian-org@elem.com>
--- /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 (("+-*/.<>=!?$%_&~^:" . "w")) beginning-of-defun
+ nil nil (("+-*/.<>=!?$%_&~^:@" . "w")) beginning-of-defun
(font-lock-mark-block-function . mark-defun))))
(defun lisp-outline-level ()
--
Jérôme Marant
next reply other threads:[~2005-03-10 21:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 21:38 Jérôme Marant [this message]
2005-03-10 23:44 ` [PATCH] "@" is not recognized as part of defun name for emacs-lisp Johan Bockgård
2005-03-11 8:03 ` Jérôme Marant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878y4vnpup.fsf@marant.org \
--to=jmarant@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).