GNU bug report logs - #39094
27.0.50; ; [PATCH] * makefile-edit.el: regexp-quote the param in makefile-move-to-macro to avoid error message

Previous Next

Package: emacs;

Reported by: <lin.sun <at> zoom.us>

Date: Sun, 12 Jan 2020 08:07:01 UTC

Severity: normal

Tags: patch

Merged with 38014, 38416

Found in versions 26.3.50, 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39094: closed (27.0.50; ; [PATCH] * makefile-edit.el:
 regexp-quote the param in makefile-move-to-macro to avoid error message)
Date: Fri, 17 Jan 2020 00:13:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 16 Jan 2020 16:12:01 -0800
with message-id <25c4e204-0465-5e7a-4183-8e5a23989b85 <at> cs.ucla.edu>
and subject line regexp-quote the param in makefile-move-to-macro to avoid error message
has caused the debbugs.gnu.org bug report #39094,
regarding 27.0.50; ; [PATCH] * makefile-edit.el: regexp-quote the param in makefile-move-to-macro to avoid error message
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
39094: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39094
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: <lin.sun <at> zoom.us>
To: <bug-gnu-emacs <at> gnu.org>,
	"'Eli Zaretskii'" <eliz <at> gnu.org>
Subject: 27.0.50; ; [PATCH] * makefile-edit.el: regexp-quote the param in
 makefile-move-to-macro to avoid error message
Date: Sun, 12 Jan 2020 16:06:43 +0800
[Message part 3 (text/plain, inline)]
Hi Eli,

The attachment is a patch to fix the complaint message from `makefile-move-to-macro' for the param for re-search-forward isn't escaped.
To reproduce the issue, just run follow commands in your shell,
$ echo 'AM_LIBTMP_LIBS:=$(shell X \--libs)' > /tmp/Makefile.am
$ emacs -Q --eval '(progn (global-ede-mode t)(semantic-mode t)(find-file "/tmp/Makefile.am"))'

Could you please review and apply the patch? 
Thank you.

B.R.
Lin Sun
[0001-Fix-the-error-message-from-makefile-move-to-macro.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Lin Sun <lin.sun <at> zoom.us>
Cc: 39094-done <at> debbugs.gnu.org
Subject: regexp-quote the param in makefile-move-to-macro to avoid error
 message
Date: Thu, 16 Jan 2020 16:12:01 -0800
Thanks for reporting that bug. I installed your patch into the master 
branch.


This bug report was last modified 5 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.