[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: |
Ted Zlatanov |
Subject: |
Re: Add M-x occur to the menu-bar |
Date: |
Tue, 27 Jan 2004 14:35:26 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (usg-unix-v) |
On 27 Jan 2004, address@hidden wrote:
>> In order to accomplish this, probably M-x compile, M-x occur and
>> M-x grep would have to set some variable like
>> `next-error-follow-command' to 'compile, 'occur or 'grep,
>> respectively, inside those function definitions.
>
> The variable already exists and is called `compilation-last-buffer'.
If you think the code I posted to interface with occur-mode is useful,
I can change it to set compilation-last-buffer to the *Occur* buffer
when occur-mode is called, and then I can rewrite dwim-next as
needed. It should know that it's going to an occur-mode buffer
though, so just knowing the buffer may not be enough - once we get to
the buffer, the modes may need to be examined.
I also need to change it to take prefix args, so let me know if I
should bother or if this is better as a patch to next-error and
occur.el (so we don't bother with hooks).
Thanks
Ted
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/01/27
- Re: Add M-x occur to the menu-bar, Benjamin Rutt, 2004/01/27
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/01/27
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/01/27
- Re: Add M-x occur to the menu-bar,
Ted Zlatanov <=
- Re: Add M-x occur to the menu-bar, Miles Bader, 2004/01/27
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/01/27
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/01/28
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/01/28
- Re: Add M-x occur to the menu-bar, Kevin Rodgers, 2004/01/28
- Re: Add M-x occur to the menu-bar, Eli Zaretskii, 2004/01/29
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/01/29
- Re: Add M-x occur to the menu-bar, Miles Bader, 2004/01/29
- Re: Add M-x occur to the menu-bar, David Kastrup, 2004/01/29
- Re: Add M-x occur to the menu-bar, Kai Grossjohann, 2004/01/29