[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: |
Kim F. Storm |
Subject: |
Re: Add M-x occur to the menu-bar |
Date: |
24 Feb 2004 01:37:09 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Ted Zlatanov <address@hidden> writes:
> Here's another version of the next-error patch.
Getting closer :-)
> What it does:
>
> - move the next-error framework to simple.el, so it's always loaded.
> This was next-error plus all the related functions.
>
> - make the next-error-function always local (but not buffer-local)
The way you use make-local-variable doesn't accomplish that.
Either use make-variable-buffer-local at the global level (it will work
in this case, as simple.el is pre-loaded.
Or use
(set (make-local-variable 'next-error-function) 'some-function)
everywhere you currently setq next-error-function.
> (defun compilation-find-buffer (&optional other-buffer)
> ! (let ((next-error-buffer-p compilation-buffer-p))
> ! (next-error-find-buffer other-buffer)))
This does not function-bind next-error-buffer-p ...
Does it really work?
> + (make-local-variable 'next-error-function)
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Add M-x occur to the menu-bar, (continued)
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/10
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/12
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/12
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/02/13
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/12
- Re: Add M-x occur to the menu-bar, Kim F. Storm, 2004/02/12
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/13
- Re: Add M-x occur to the menu-bar, Kim F. Storm, 2004/02/13
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/14
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/23
- Re: Add M-x occur to the menu-bar,
Kim F. Storm <=
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/24
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/14
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/23
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/25
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/02/13
- Re: Add M-x occur to the menu-bar, Andreas Schwab, 2004/02/13
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/02/13
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/14
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/07