[Top][All Lists]

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

Re: Add M-x occur to the menu-bar

From: Stefan Monnier
Subject: Re: Add M-x occur to the menu-bar
Date: 03 Mar 2004 08:27:48 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> But I would like to give the user some control over that.  For instance,
> if next-error-last-buffer were a list with the most recently created
> buffer at the front (like a stack), the user could go back to his/her
> previous next-error task simply by killing the most recent
> compile/grep/occur buffer.

I'm not sure it's worth the trouble.  They can instead select the desired
buffer and use next-error in it, which will set next-error-last-buffer.

> (Those buffers should remove themselves from
> the list when they're killed, so that next-error doesn't have to check
> for a dead buffer.)

It's probably easier and surely more robust to check for liveness than to
reliably remove buffers from the list.


reply via email to

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