Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rzlab.ucr.edu
X-Spam-Level:
X-Spam-Status: No, score=-11.1 required=4.0 tests=AWL,BAYES_00,FAKE_REPLY_C,
HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham
version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 96-quiet) by emacsbugs.donarmstrong.com; 24 Sep 2008 00:48:56 +0000
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 m8O0mmv8025277;
Tue, 23 Sep 2008 17:48:49 -0700
Received: from rgm by fencepost.gnu.org with local (Exim 4.67)
(envelope-from <rgm <at> gnu.org>)
id 1KiIWh-00043x-LA; Tue, 23 Sep 2008 20:46:43 -0400
From: Glenn Morris <rgm <at> gnu.org>
To: 96-quiet <at> debbugs.gnu.org
Subject: Re: bug#96: lgrep/rgrep not asking to save buffers
X-Spook: Ansar al-Islam counter terrorism AGT. AMME ASLET Elvis
X-Ran: c&L[t{bv+.=lE`8T5\KCJt1s*[oBq|_(,Uzw8SZdH,hOQf}'QbTrI7mh=PBbL&7Vg7s+PA
X-Hue: white
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 23 Sep 2008 20:46:43 -0400
Message-ID: <xntzc6fk0c.fsf <at> fencepost.gnu.org>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
tags 96 - moreinfo
severity 96 minor
stop
> I don't quite understand. Could you be more specific about what
> behavior you are looking for?
Presumably he wants a line adding like M-x compile's:
(save-some-buffers (not compilation-ask-about-save) nil)
before the grep process runs; preferably only asking about files that
might be accessed by the grep.
bug#96; Package emacs.
Full text available.Glenn Morris <rgm <at> gnu.org>
to control <at> emacsbugs.donarmstrong.com.
Full text available.Glenn Morris <rgm <at> gnu.org>
to control <at> emacsbugs.donarmstrong.com.
Full text available.Chong Yidong <cyd <at> stupidchicken.com>
to control <at> emacsbugs.donarmstrong.com.
Full text available.Received: (at unknown) by unknown; unknown X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.1 required=4.0 tests=AWL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 96) by emacsbugs.donarmstrong.com; 6 May 2008 03:03:34 +0000 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 m4633VEn009078 for <96 <at> emacsbugs.donarmstrong.com>; Mon, 5 May 2008 20:03:32 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 145904E304; Mon, 5 May 2008 22:58:49 -0400 (EDT) From: Chong Yidong <cyd <at> stupidchicken.com> To: Tom Tromey <tromey <at> redhat.com> Cc: 96 <at> debbugs.gnu.org Subject: Re: lgrep/rgrep not asking to save buffers Date: Mon, 05 May 2008 22:58:49 -0400 Message-ID: <87ve1si1ee.fsf <at> stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I notice that lgrep and rgrep do not offer to save buffers. > This is different from other search and compilation commands. > This means that sometimes the results are incorrect. > > Ideally these would only offer to save files that might actually be > matched by the command -- i.e., filtering buffers based on file > extension and directory. I don't quite understand. Could you be more specific about what behavior you are looking for?
Chong Yidong <cyd <at> stupidchicken.com>:Emacs Bugs <bug-gnu-emacs <at> gnu.org>.
Full text available.bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:bug#96; Package emacs.
Full text available.
Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rzlab.ucr.edu
X-Spam-Level:
X-Spam-Status: No, score=0.4 required=4.0 tests=AWL,FOURLA autolearn=no
version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 29 Mar 2008 21:28:54 +0000
Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182])
by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m2TLSjYI001701
for <submit <at> emacsbugs.donarmstrong.com>; Sat, 29 Mar 2008 14:28:46 -0700
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ag4FALZR7kfO+LLN/2dsb2JhbACBWpBqlls
X-IronPort-AV: E=Sophos;i="4.25,576,1199682000";
d="scan'208";a="17136494"
Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238])
by ironport2-out.teksavvy.com with ESMTP; 29 Mar 2008 17:28:39 -0400
Received: from pastel.home ([206.248.178.205])
by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id JYF64039
for <submit <at> emacsbugs.donarmstrong.com>; Sat, 29 Mar 2008 17:28:39 -0400
Received: by pastel.home (Postfix, from userid 20848)
id 470867FDF; Sat, 29 Mar 2008 17:28:39 -0400 (EDT)
Resent-Message-ID: <jwvsky9qkxk.fsf-monnier+emacsbugreports <at> gnu.org>
Resent-To: submit <at> debbugs.gnu.org
Resent-From: Stefan Monnier <monnier <at> iro.umontreal.ca>
Resent-Date: Sat, 29 Mar 2008 17:28:39 -0400
X-Original-To: monnier <at> iro.umontreal.ca
Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52])
by mercure.iro.umontreal.ca (Postfix) with ESMTP id 51A342CFAA9
for <monnier <at> iro.umontreal.ca>; Sat, 29 Mar 2008 17:05:01 -0400 (EDT)
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
by pinpin.iro.umontreal.ca (Postfix) with ESMTP id E9B843B8AA7
for <monnier <at> iro.umontreal.ca>; Sat, 29 Mar 2008 17:04:54 -0400 (EDT)
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.43)
id 1JfiEQ-0004FA-Ii
for monnier <at> iro.umontreal.ca; Sat, 29 Mar 2008 17:04:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
id 1JfiEF-0004DT-Dh
for bug-gnu-emacs <at> gnu.org; Sat, 29 Mar 2008 17:04:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
id 1JfiEE-0004Bj-DI
for bug-gnu-emacs <at> gnu.org; Sat, 29 Mar 2008 17:04:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
by lists.gnu.org with esmtp (Exim 4.43) id 1JfiEE-0004BY-23
for bug-gnu-emacs <at> gnu.org; Sat, 29 Mar 2008 17:04:42 -0400
Received: from mx1.redhat.com ([66.187.233.31])
by monty-python.gnu.org with esmtp (Exim 4.60)
(envelope-from <tromey <at> redhat.com>) id 1JfiED-0002lm-PI
for bug-gnu-emacs <at> gnu.org; Sat, 29 Mar 2008 17:04:41 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
[172.16.52.254])
by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m2TL4eA5022445
for <bug-gnu-emacs <at> gnu.org>; Sat, 29 Mar 2008 17:04:40 -0400
Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20])
by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m2TL4eRU011699
for <bug-gnu-emacs <at> gnu.org>; Sat, 29 Mar 2008 17:04:40 -0400
Received: from opsy.redhat.com (vpn-248-67.boston.redhat.com [10.13.248.67])
by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m2TL4dSx027412;
Sat, 29 Mar 2008 17:04:39 -0400
Received: by opsy.redhat.com (Postfix, from userid 500)
id B4F4E378267; Sat, 29 Mar 2008 14:07:48 -0600 (MDT)
To: bug-gnu-emacs <at> gnu.org
From: Tom Tromey <tromey <at> redhat.com>
X-Attribution: Tom
Date: Sat, 29 Mar 2008 14:07:48 -0600
Message-ID: <m3fxu98faj.fsf <at> fleche.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: lgrep/rgrep not asking to save buffers
X-BeenThere: bug-gnu-emacs <at> gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Tom Tromey <tromey <at> redhat.com>
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
<mailto:bug-gnu-emacs-request <at> gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs <at> gnu.org>
List-Help: <mailto:bug-gnu-emacs-request <at> gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
<mailto:bug-gnu-emacs-request <at> gnu.org?subject=subscribe>
Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca <at> gnu.org
Errors-To: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca <at> gnu.org
X-DIRO-MailScanner-Information: Please contact the ISP for more information
X-DIRO-MailScanner: Found to be clean
X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel,
SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60,
RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00)
X-DIRO-MailScanner-From: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca <at> gnu.org
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I notice that lgrep and rgrep do not offer to save buffers.
This is different from other search and compilation commands.
This means that sometimes the results are incorrect.
Ideally these would only offer to save files that might actually be
matched by the command -- i.e., filtering buffers based on file
extension and directory.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.1/etc/DEBUG for instructions.
In GNU Emacs 22.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.1)
of 2007-11-06 on xenbuilder4.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-pop' '--with-sound' '--with-gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -DSYSTEM_PURESIZE_EXTRA=16777216 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
auto-fill-function: tjt-c++-do-auto-fill
compilation-in-progress: (grep compilation compilation compilation compilation compilation grep gid compilation grep ...)
shell-dirtrack-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-spelling-mode: t
erc-truncate-mode: t
flyspell-mode: t
erc-status-mode: t
erc-services-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-readonly-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
5 0 <return> M-> Q y n n SPC 5 0 <return> M-> C-u C-p
C-n E S-SPC E S-SPC E SPC q n n SPC C-u E E E E E E
E E E E E E q C-l M-< n n n l s SPC z C-c b C-z o C-a
C-u C-u C-p C-u C-n C-p M-x g i d <return> <return>
C-z o <f9> <f9> M-f M-f M-x g i <M-backspace> l g r
e p <return> <return> <return> <return> C-x o C-x 1
C-z o C-x 1 <f9> <f9> <f9> <f9> <f9> <f9> <f9> <f9>
<f9> <switch-frame> <switch-frame> C-x b * g u <tab>
<return> d e t <backspace> <backspace> <backspace>
C-c C-c d e t a c h <return> q <return> C-c b <switch-frame>
C-z o C-s C-g C-SPC C-g C-s C-w C-w C-s C-r C-r C-g
C-z o C-c C-g C-z o M-f M-f M-f M-b c _ s m a M-/ SPC
<backspace> <backspace> M-/ M-/ SPC ( C-e C-b ) C-a
C-s c _ C-w C-s C-f C-f c _ s m a s M-/ SPC ( M-f )
C-s C-s C-s C-a C-s c _ a l i g n C-s C-x b <return>
C-s a l i g n o f C-s C-s C-s C-x C-f c - c o m <tab>
h <return> C-l C-a M-f M-f M-x g r e p <return> C-g
M-x l g r e p <return> <return> <return> <return> <f9>
C-h f l g r e p <return> C-h C-g <help-echo> <down-mouse-1>
<mouse-2> C-x o C-x 1 C-c C-g C-g C-c b C-x s C-g M-x
l g r e p <return> M-p <return> <return> <return> M-x
r e p o r t - e m <tab> g <backspace> b <tab> <ret
urn>
Recent messages:
Saving /home/tromey/.newsrc.eld...done
(No files need saving)
Quit
Mark set
Quit [2 times]
Mark saved where search started [4 times]
Quit
Type C-x 1 to remove help window.
Auto-saving...done
Quit
Quit
Tom
Tom Tromey <tromey <at> redhat.com>:Emacs Bugs <bug-gnu-emacs <at> gnu.org>.
Full text available.bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:bug#96; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.