From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22627: 25.1.50; Wishlist: It would be nice if the grep buffer had a history Date: Sun, 03 Apr 2016 20:27:25 +0300 Message-ID: <83twjippqa.fsf@gnu.org> References: <87lh6rx08h.fsf@gnus.org> <8337sz9e2l.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459704566 12509 80.91.229.3 (3 Apr 2016 17:29:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2016 17:29:26 +0000 (UTC) Cc: 22627@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 03 19:29:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1amlpq-0000WJ-8V for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 19:29:14 +0200 Original-Received: from localhost ([::1]:54535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amlpp-0005we-L9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 13:29:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amlpi-0005wI-Tc for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 13:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amlpd-0007Fw-UG for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 13:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amlpd-0007Fs-R1 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 13:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amlpd-00020H-KT for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 13:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Apr 2016 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22627 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22627-submit@debbugs.gnu.org id=B22627.14597044877643 (code B ref 22627); Sun, 03 Apr 2016 17:29:01 +0000 Original-Received: (at 22627) by debbugs.gnu.org; 3 Apr 2016 17:28:07 +0000 Original-Received: from localhost ([127.0.0.1]:50151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amlol-0001zB-HX for submit@debbugs.gnu.org; Sun, 03 Apr 2016 13:28:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amlok-0001yn-Ff for 22627@debbugs.gnu.org; Sun, 03 Apr 2016 13:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amloa-0007Bc-Cl for 22627@debbugs.gnu.org; Sun, 03 Apr 2016 13:28:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amloa-0007Ae-9m; Sun, 03 Apr 2016 13:27:56 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3559 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1amloW-00014o-Hr; Sun, 03 Apr 2016 13:27:52 -0400 In-reply-to: (message from Lars Magne Ingebrigtsen on Sun, 03 Apr 2016 19:12:56 +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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115945 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: 22627@debbugs.gnu.org > Date: Sun, 03 Apr 2016 19:12:56 +0200 > > > We could have an optional feature whereby the Grep buffer is named > > something like "*grep-the-command-line-used*". Then as long as the > > next Grep command is different, you will have a new buffer for its > > output, and Bob's your uncle. > > Having multiple grep buffers would also be a nice feature, but I think > just making the `r'/`l' commands work the way they do in, say, *Help* > and eww buffers would be sufficient for most needs. We'd just need a > history variable that containts, uhm, the command and the directory we > were in when we executed that command... Unlike Web pages, Grep searches are not connected by any links, so traversing the history one buffer at a time will be frustrating and unnatural, when there are a lot of them. By contrast, naming them uniquely will allow switching to the right one immediately.