emacs-devel
[Top][All Lists]
Advanced

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

Re: Occur stack


From: Allen S. Rout
Subject: Re: Occur stack
Date: Tue, 14 Jan 2014 12:41:48 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 01/14/2014 12:12 PM, Tom wrote:
> Juanma Barranquero <lekktu <at> gmail.com> writes:
> 
>>
>> On Tue, Jan 14, 2014 at 5:57 PM, Tom <adatgyujto <at> gmail.com> wrote:
>>
>>> Yes, I can do this manually if I remember to do it,
>>
>> No need to do it by hand:
>>
>> (add-hook 'occur-hook 'rename-uniquely)
> 
> Of course, but it results in a proliferation of occur buffers. 
> It would be nicer to have a single occur buffer where I could 
> go back to previous results. 
> 

Instead of renaming uniquely, you could copy contents to a uniquely
named buffer.  There's a thread which discusses unique but topical
occurs buffers from 2005;  might help your code.

http://comments.gmane.org/gmane.emacs.devel/40135


- Allen S. Rout





reply via email to

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