|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#20800: closed (perl mode reads into comments too deeply) |
Date: | Tue, 16 Jun 2015 01:04:02 +0000 |
Your message dated Mon, 15 Jun 2015 21:03:31 -0400 with message-id <address@hidden> and subject line Re: bug#20800: perl mode reads into comments too deeply has caused the debbugs.gnu.org bug report #20800, regarding perl mode reads into comments too deeply to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 20800: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20800 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: perl mode reads into comments too deeply Date: Sat, 13 Jun 2015 14:23:34 +0800 For this snippet of code perl mode gets the colors wrong: return 'W' if #/^Not Available on Mobile/m; #W=Web only /This video is not available on mobile devices./m; #After the m all is the wrong color.
--- End Message ---
--- Begin Message ---Subject: Re: bug#20800: perl mode reads into comments too deeply Date: Mon, 15 Jun 2015 21:03:31 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) > For this snippet of code perl mode gets the colors wrong: > return 'W' if #/^Not Available on Mobile/m; #W=Web only > /This video is not available on mobile devices./m; > #After the m all is the wrong color. Indeed, the code did not handle the case of a comment between the "if" and the "/": it treated this slash as a division operator. I installed a patch into the "master" branch which should fix it, Stefan
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |