emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] automatic multiple grep session


From: Juri Linkov
Subject: Re: [patch] automatic multiple grep session
Date: Mon, 20 Aug 2007 02:18:29 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>> There is an issue is that the command line of M-x rgrep is very
>>> long. So the name of rgrep buffer fills the mode-line. 
>>> Could you give me a suggestion?
>
>> Perhaps use something like
>
>>   rgrep, ANSWER1, ANSWER2 etc
>
>> where ANSWER1 is the answer to the first rgrep prompt etc.
>
> How 'bout tweaking uniquify to do something clever with it?
> So a single grep buffer will always appear as *grep*.

Something like (add-hook 'after-create-buffer-hook 'grep-uniquify-buffer-name)?

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]