Subject: bug#39094: closed (regexp-quote the param in makefile-move-to-macro to avoid error message)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 17 Jan 2020 00:13:02 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39094: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39094
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: regexp-quote the param in makefile-move-to-macro to avoid error message
From: Paul Eggert <[email-masked]>
To: Lin Sun <[email-masked]>
Cc: [email-masked]
Date: Thu, 16 Jan 2020 16:12:01 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for reporting that bug. I installed your patch into the master 
branch.

Subject: 27.0.50; ; [PATCH] * makefile-edit.el: regexp-quote the param in makefile-move-to-macro to avoid error message
From: <[email-masked]>
To: <[email-masked]>, "'Eli Zaretskii'" <[email-masked]>
Date: Sun, 12 Jan 2020 16:06:43 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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