From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 17345@debbugs.gnu.org
Subject: bug#17345: 24.4.50; some into clauses in cl-loop badly font-locked
Date: Thu, 01 May 2014 12:13:21 -0400 [thread overview]
Message-ID: <jwvtx99o5c9.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <8738gw68j8.fsf@gmail.com> (Thierry Volpiatto's message of "Tue, 29 Apr 2014 06:53:31 +0200")
> Yes probably but the last paren before "into" should not be highlighted IMO.
Makes sense, indeed. I installed the patch below which should do that.
Do you find it resolves this bug report satisfactorily?
Stefan
=== modified file 'lisp/emacs-lisp/lisp-mode.el'
--- lisp/emacs-lisp/lisp-mode.el 2014-04-25 16:11:07 +0000
+++ lisp/emacs-lisp/lisp-mode.el 2014-05-01 16:11:59 +0000
@@ -163,8 +163,9 @@
(let ((ppss (parse-partial-sexp (line-beginning-position)
(line-end-position)
-1)))
+ (skip-syntax-forward " )")
(if (or (>= (car ppss) 0)
- (looking-at "[]) \t]*\\(;\\|$\\)"))
+ (looking-at ";\\|$"))
(progn
(forward-line 1)
(< (point) limit))
next prev parent reply other threads:[~2014-05-01 16:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 6:58 bug#17345: 24.4.50; some into clauses in cl-loop badly font-locked Thierry Volpiatto
2014-04-25 16:43 ` Stefan Monnier
2014-04-29 4:53 ` Thierry Volpiatto
2014-05-01 16:13 ` Stefan Monnier [this message]
2014-05-01 19:06 ` Thierry Volpiatto
2014-05-01 20:48 ` Stefan Monnier
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=jwvtx99o5c9.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17345@debbugs.gnu.org \
--cc=thierry.volpiatto@gmail.com \
/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).