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 21:08:15 +0300 Message-ID: <83pou6pnu8.fsf@gnu.org> References: <87lh6rx08h.fsf@gnus.org> <8337sz9e2l.fsf@gnu.org> <83twjippqa.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459706962 14184 80.91.229.3 (3 Apr 2016 18:09:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2016 18:09:22 +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 20:09:11 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 1ammSV-00015n-BU for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 20:09:11 +0200 Original-Received: from localhost ([::1]:54655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammSU-0008VC-NF for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2016 14:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammSQ-0008Ut-K3 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ammSM-0007BX-BL for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammSM-0007BT-7t for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ammSM-0004Zf-57 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2016 14:09:02 -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 18:09:02 +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: fixed Original-Received: via spool by 22627-submit@debbugs.gnu.org id=B22627.145970693317568 (code B ref 22627); Sun, 03 Apr 2016 18:09:02 +0000 Original-Received: (at 22627) by debbugs.gnu.org; 3 Apr 2016 18:08:53 +0000 Original-Received: from localhost ([127.0.0.1]:50206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ammSC-0004ZH-Tv for submit@debbugs.gnu.org; Sun, 03 Apr 2016 14:08:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ammSB-0004Z6-Re for 22627@debbugs.gnu.org; Sun, 03 Apr 2016 14:08:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ammS2-0007AO-SO for 22627@debbugs.gnu.org; Sun, 03 Apr 2016 14:08:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammS2-0007AK-P5; Sun, 03 Apr 2016 14:08:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3655 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ammS2-0005qt-4H; Sun, 03 Apr 2016 14:08:42 -0400 In-reply-to: (message from Lars Magne Ingebrigtsen on Sun, 03 Apr 2016 19:41:32 +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:115957 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: 22627@debbugs.gnu.org > Date: Sun, 03 Apr 2016 19:41:32 +0200 > > My common use case is that I grep for "featurep 'xemacs", and then I > grep for a different function, and when I'm finished with that, I > just want to return to my previous search. The `r'/`l' commands fit > that perfectly. Is it reasonable to assume that an average Emacs session will have only a couple of Grep buffers? Or that the user will only care about the last 2 or 3 of them? I think it isn't reasonable, in which case your use case doesn't scale well enough to the needs of others. By contrast, having a distinct name will cater both to your use case and to that of others, where dozens of Grep buffers could exist in the same session. Besides, the 'gid' command, which is part of ID-Utils, and runs the 'lid' command, already behaves like I described, so we at least have a precedent here.