all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: 22627@debbugs.gnu.org
Subject: bug#22627: 25.1.50; Wishlist: It would be nice if the grep buffer had a history
Date: Thu, 11 Feb 2016 14:04:13 -0800 (PST)	[thread overview]
Message-ID: <ab01ab95-621a-460d-81ca-aa1c106fb314@default> (raw)
In-Reply-To: <<8337sz9e2l.fsf@gnu.org>>

> > `g' works fine for redoing, but it would be great if you could return to
> > the previous (and next) with the normal `r'/`n' commands.
> 
> 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.

FWIW, in my `grep+.el':

 . You can automatically rename the current grep buffer to reflect the args
   using (add-hook 'grep-mode-hook 'grepp-rename-buffer-to-last-no-confirm)

 . You can rename it thus on demand using `r'.

 . `+' renames current grep buffer uniquely (without the args) and switches
   to buffer `*grep*'

 . `b' reads a grep buffer name and switches to that buffer.  A grep buffer
   here is any buffer whose name matches `'\\*grep\\*', which includes those
   whose names include the arguments.

You might want to do something similar for grep.el.

https://www.emacswiki.org/emacs/download/grep%2b.el





       reply	other threads:[~2016-02-11 22:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<87lh6rx08h.fsf@gnus.org>
     [not found] ` <<8337sz9e2l.fsf@gnu.org>
2016-02-11 22:04   ` Drew Adams [this message]
2016-02-12 12:35     ` bug#22627: 25.1.50; Wishlist: It would be nice if the grep buffer had a history Richard Stallman
     [not found] <<<87lh6rx08h.fsf@gnus.org>
     [not found] ` <<<8337sz9e2l.fsf@gnu.org>
     [not found]   ` <<ab01ab95-621a-460d-81ca-aa1c106fb314@default>
     [not found]     ` <<E1aUCwx-0003Vi-7S@fencepost.gnu.org>
2016-02-12 14:42       ` Drew Adams
2016-02-11  5:52 Lars Ingebrigtsen
2016-02-11 20:39 ` Eli Zaretskii
2016-04-03 17:12   ` Lars Magne Ingebrigtsen
2016-04-03 17:27     ` Eli Zaretskii
2016-04-03 17:41       ` Lars Magne Ingebrigtsen
2016-04-03 17:47         ` Lars Magne Ingebrigtsen
2016-04-03 18:04           ` John Wiegley
2016-04-03 18:09           ` Eli Zaretskii
2016-04-03 18:26             ` Lars Magne Ingebrigtsen
2016-04-03 18:39               ` Eli Zaretskii
2016-04-03 22:47             ` John Wiegley
2016-04-04  1:53               ` Drew Adams
2016-04-03 18:06         ` Drew Adams
2016-04-03 18:08         ` Eli Zaretskii
2016-04-03 18:15           ` Lars Magne Ingebrigtsen
2016-04-03 18:18             ` Drew Adams
2016-04-03 17:41     ` Óscar Fuentes
2016-02-12  0:53 ` Juri Linkov
2017-10-16 19:16 ` Charles A. Roelli
2017-10-16 21:30   ` Lars Ingebrigtsen
2017-10-17 18:16     ` Charles A. Roelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab01ab95-621a-460d-81ca-aa1c106fb314@default \
    --to=drew.adams@oracle.com \
    --cc=22627@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.