From unknown Sun Jun 22 04:18:55 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3343: 23.0.93; Setting grep-command etc has no effect Reply-To: bojohan+mail@dd.chalmers.se (Johan =?UTF-8?Q?Bockg=C3=A5rd),?= 3343@debbugs.gnu.org Resent-From: bojohan+mail@dd.chalmers.se (Johan =?UTF-8?Q?Bockg=C3=A5rd)?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 21 May 2009 14:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3343 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124291531730512 (code B ref -1); Thu, 21 May 2009 14:20:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 21 May 2009 14:15:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4LEF9vv030195 for ; Thu, 21 May 2009 07:15:12 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34892) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M7937-0005fq-C5 for emacs-pretest-bug@gnu.org; Thu, 21 May 2009 10:15:09 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M7935-0005rt-Be for emacs-pretest-bug@gnu.org; Thu, 21 May 2009 10:15:08 -0400 Received: from atum.ita.chalmers.se ([129.16.4.148]:51998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7934-0005nD-Uu for emacs-pretest-bug@gnu.org; Thu, 21 May 2009 10:15:07 -0400 Received: from remote2.student.chalmers.se (remote2.student.chalmers.se [129.16.29.80]) by atum.ita.chalmers.se (Postfix) with ESMTP id 5DD0C11C3E for ; Thu, 21 May 2009 16:14:49 +0200 (CEST) Received: by remote2.student.chalmers.se (Postfix, from userid 61540) id E6D3CAC05C; Thu, 21 May 2009 16:14:48 +0200 (CEST) From: bojohan+mail@dd.chalmers.se (Johan =?UTF-8?Q?Bockg=C3=A5rd)?= To: emacs-pretest-bug@gnu.org Date: Thu, 21 May 2009 16:14:47 +0200 Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) The problem is that grep-compute-defaults overwrites `grep-command', `grep-find-command' et al. emacs -Q M-x set-variable RET grep-command RET "ls" RET M-x grep RET RET M-x set-variable RET grep-command RET "ll" RET M-x grep RET => The old command is still used. This used to work in Emacs 22. From cyd@stupidchicken.com Fri May 22 06:36:22 2009 Received: (at control) by emacsbugs.donarmstrong.com; 22 May 2009 13:36:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4MDaJ7U012346 for ; Fri, 22 May 2009 06:36:21 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 9825357E24D; Fri, 22 May 2009 09:36:39 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 3343 serious Date: Fri, 22 May 2009 09:36:39 -0400 Message-ID: <87my95ntso.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 3343 serious thanks From unknown Sun Jun 22 04:18:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: bojohan+mail@dd.chalmers.se (Johan =?UTF-8?Q?Bockg=C3=A5rd)?= Subject: bug#3343 closed by Chong Yidong (23.0.93; Setting grep-command etc has no effect) Message-ID: References: <87pre0ekm8.fsf@cyd.mit.edu> X-Emacs-PR-Message: they-closed 3343 X-Emacs-PR-Package: emacs Reply-To: 3343@debbugs.gnu.org Date: Sat, 23 May 2009 00:25:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1243038307-16108-1" This is a multi-part message in MIME format... ------------=_1243038307-16108-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3343: 23.0.93; Setting grep-command etc has no effect It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 3343: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3343 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1243038307-16108-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3343-done) by emacsbugs.donarmstrong.com; 23 May 2009 00:19:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4N0JPTg015220 for <3343-done@emacsbugs.donarmstrong.com>; Fri, 22 May 2009 17:19:26 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6659257E268; Fri, 22 May 2009 20:19:43 -0400 (EDT) From: Chong Yidong To: bojohan+mail@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Cc: 3343-done@debbugs.gnu.org Subject: 23.0.93; Setting grep-command etc has no effect Date: Fri, 22 May 2009 20:19:43 -0400 Message-ID: <87pre0ekm8.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > emacs -Q > M-x set-variable RET grep-command RET "ls" RET > M-x grep RET RET > M-x set-variable RET grep-command RET "ll" RET > M-x grep RET => The old command is still used. > > This used to work in Emacs 22. This is due to the introduction of grep-compute-defaults and grep-host-defaults-alist, which is supposed to offer "smarter" defaults for these variables when you call grep on remote files. Unfortunately, this means that if you simply change these variables, those changes get overwritten during the next interactive call to grep. We should probably revisit the design of this code after the release. In the meantime, I've made a change so that if you change these variables via the Customize interface, the new values will take effect correctly. ------------=_1243038307-16108-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 21 May 2009 14:15:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4LEF9vv030195 for ; Thu, 21 May 2009 07:15:12 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34892) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M7937-0005fq-C5 for emacs-pretest-bug@gnu.org; Thu, 21 May 2009 10:15:09 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M7935-0005rt-Be for emacs-pretest-bug@gnu.org; Thu, 21 May 2009 10:15:08 -0400 Received: from atum.ita.chalmers.se ([129.16.4.148]:51998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7934-0005nD-Uu for emacs-pretest-bug@gnu.org; Thu, 21 May 2009 10:15:07 -0400 Received: from remote2.student.chalmers.se (remote2.student.chalmers.se [129.16.29.80]) by atum.ita.chalmers.se (Postfix) with ESMTP id 5DD0C11C3E for ; Thu, 21 May 2009 16:14:49 +0200 (CEST) Received: by remote2.student.chalmers.se (Postfix, from userid 61540) id E6D3CAC05C; Thu, 21 May 2009 16:14:48 +0200 (CEST) From: bojohan+mail@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) To: emacs-pretest-bug@gnu.org Subject: 23.0.93; Setting grep-command etc has no effect Date: Thu, 21 May 2009 16:14:47 +0200 Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) The problem is that grep-compute-defaults overwrites `grep-command', `grep-find-command' et al. emacs -Q M-x set-variable RET grep-command RET "ls" RET M-x grep RET RET M-x set-variable RET grep-command RET "ll" RET M-x grep RET => The old command is still used. This used to work in Emacs 22. ------------=_1243038307-16108-1--