emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14237: closed ([PATCH] Fix syntax-propertize-multi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14237: closed ([PATCH] Fix syntax-propertize-multiline bug)
Date: Mon, 22 Apr 2013 14:17:02 +0000

Your message dated Mon, 22 Apr 2013 10:11:50 -0400
with message-id <address@hidden>
and subject line Re: bug#14237: [PATCH] Fix syntax-propertize-multiline bug
has caused the debbugs.gnu.org bug report #14237,
regarding [PATCH] Fix syntax-propertize-multiline bug
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14237: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14237
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] Fix syntax-propertize-multiline bug Date: Sun, 21 Apr 2013 02:38:00 -0400
Description

At least, I think it's a bug. I ran into this while adding support for C++11 raw strings to cc-mode.

syntax-propertize-multiline seeks backward for the first position without a 'syntax-multiline text property, but searches forward for 'font-lock-multiline. For a span of text marked 'syntax-multiline, the new end returned from syntax-propertize-multiline will not be the end of the multiline text.


Changelog

2013-04-21  Erik Charlebois  <address@hidden>

* emacs-lisp/syntax.el (syntax-propertize-multiline):
Use 'syntax-multiline text property instead of 'font-lock-multiline.






Attachment: syntax-multiline.txt
Description: Text document


--- End Message ---
--- Begin Message --- Subject: Re: bug#14237: [PATCH] Fix syntax-propertize-multiline bug Date: Mon, 22 Apr 2013 10:11:50 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> -  (when (get-text-property end 'font-lock-multiline)
> +  (when (get-text-property end 'syntax-multiline)

Duh!  Yes, thank you very much for catching this.
Installed in the `emacs-24' branch.  And sorry for the copy&paste error.


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]