From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3343: marked as done (23.0.93; Setting grep-command etc has no effect) Date: Sat, 23 May 2009 00:25:07 +0000 Message-ID: References: <87pre0ekm8.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1243038307-16108-0" X-Trace: ger.gmane.org 1243038584 2242 80.91.229.12 (23 May 2009 00:29:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2009 00:29:44 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 23 02:29:37 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M7f7H-00071a-0K for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 May 2009 02:29:35 +0200 Original-Received: from localhost ([127.0.0.1]:40085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7f7G-0007Ow-8r for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 May 2009 20:29:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7f74-0007L7-IE for bug-gnu-emacs@gnu.org; Fri, 22 May 2009 20:29:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7f6x-0007Kd-Vi for bug-gnu-emacs@gnu.org; Fri, 22 May 2009 20:29:21 -0400 Original-Received: from [199.232.76.173] (port=52172 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7f6x-0007KT-E2 for bug-gnu-emacs@gnu.org; Fri, 22 May 2009 20:29:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58347) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M7f6w-0006ku-Ty for bug-gnu-emacs@gnu.org; Fri, 22 May 2009 20:29:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4N0TA0U016733; Fri, 22 May 2009 17:29:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4N0P7DK016159; Fri, 22 May 2009 17:25:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3343 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28095 Archived-At: This is a multi-part message in MIME format... ------------=_1243038307-16108-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 22 May 2009 20:19:43 -0400 with message-id <87pre0ekm8.fsf@cyd.mit.edu> and subject line 23.0.93; Setting grep-command etc has no effect has caused the Emacs bug report #3343, regarding 23.0.93; Setting grep-command etc has no effect to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 3343: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3343 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1243038307-16108-0 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-0 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@emacsbugs.donarmstrong.com 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-0--