From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33618: 27.0.50; ada-mode breaks M-x grep Date: Wed, 05 Dec 2018 16:41:46 +0200 Message-ID: <83bm60828l.fsf@gnu.org> References: <83wooo8ogl.fsf@gnu.org> <83d0qg82fr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1544020872 11312 195.159.176.226 (5 Dec 2018 14:41:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2018 14:41:12 +0000 (UTC) Cc: stephen_leake@member.fsf.org, 33618@debbugs.gnu.org To: monnier@IRO.UMontreal.CA Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 15:41:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUYMK-0002hO-3r for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Dec 2018 15:41:04 +0100 Original-Received: from localhost ([::1]:34932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUYOP-00081Y-VF for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Dec 2018 09:43:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUYOI-000818-9T for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 09:43:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUYOE-0006dF-6D for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 09:43:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUYOD-0006cP-VH for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 09:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUYOD-0004OW-Kl for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 09:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Dec 2018 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33618 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33618-submit@debbugs.gnu.org id=B33618.154402092216822 (code B ref 33618); Wed, 05 Dec 2018 14:43:01 +0000 Original-Received: (at 33618) by debbugs.gnu.org; 5 Dec 2018 14:42:02 +0000 Original-Received: from localhost ([127.0.0.1]:33286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUYNG-0004NG-1i for submit@debbugs.gnu.org; Wed, 05 Dec 2018 09:42:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUYND-0004Mm-Nq for 33618@debbugs.gnu.org; Wed, 05 Dec 2018 09:41:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUYN4-0005cC-Gt for 33618@debbugs.gnu.org; Wed, 05 Dec 2018 09:41:54 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUYN4-0005bw-CC; Wed, 05 Dec 2018 09:41:50 -0500 Original-Received: from [176.228.60.248] (port=1593 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gUYN3-0007XH-V5; Wed, 05 Dec 2018 09:41:50 -0500 In-reply-to: <83d0qg82fr.fsf@gnu.org> (message from Eli Zaretskii on Wed, 05 Dec 2018 16:37:28 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153112 Archived-At: > Date: Wed, 05 Dec 2018 16:37:28 +0200 > From: Eli Zaretskii > Cc: stephen_leake@member.fsf.org, 33618@debbugs.gnu.org > > > The patch I use changes compile.el so the var is looked up from the > > buffer from which the compilation is launched (e.g. an ada-mode buffer) > > and then stashed into the compilation buffer (for later use). > > What will that do if I invoke, e.g., "M-x recompile" from a source > buffer other than the one from which I invoked the previous "M-x compile"? > And what if we have multiple compilation buffers? And, btw, isn't it wrong for a mode to set the value of a defcustom? Maybe we should have a separate variable for this purpose, one that isn't a defcustom. A buffer-local value of a defcustom is going to surprise users, I think.