[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with compile-mode
From: |
Stefan Monnier |
Subject: |
Re: Problems with compile-mode |
Date: |
28 May 2004 18:31:08 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> > (save-current-buffer
>> > (save-selected-window
>> > (save-excursion
>> > (select-window window)
>> > (enlarge-window (- height (window-height))))))
>>
>> How about placing the save-excursion before the save-selected-window ?
>> In other words throwing out save-current-buffer and replacing it with
>> save-excursion?
> Yes, this has the same effect. Alas this still introduces the second error
> Oscar reported:
> ] Now, setting compilation-scroll-output to nil has no effect. The
> ] window always scrolls as text is added to the compilation buffer.
Then how about
(save-excursion
(save-selected-window
(save-excursion
(select-window window)
(enlarge-window (- height (window-height))))))
>> Of course, maybe save-excursion should be fixed to remember which point it
>> saved and to restore the same one, just like `let' was fixed to restore the
>> value of a variable in the same buffer in which it was saved.
> Any improvement of the underlying mechanism is welcome. :-)
I don't have time to look into it now,
Stefan
- Re: Problems with compile-mode, (continued)
- Re: Problems with compile-mode, Eli Zaretskii, 2004/05/10
- Re: Problems with compile-mode, Oscar Fuentes, 2004/05/10
- Re: Problems with compile-mode, Stefan Daschek, 2004/05/10
- Re: Problems with compile-mode, Daniel Pfeiffer, 2004/05/12
- Re: Problems with compile-mode, Oscar Fuentes, 2004/05/18
- Re: Problems with compile-mode, Richard Stallman, 2004/05/19
- Re: Problems with compile-mode, Daniel Pfeiffer, 2004/05/19
- Re: Problems with compile-mode, Stefan Monnier, 2004/05/19
- Re: Problems with compile-mode, Daniel Pfeiffer, 2004/05/24
- Re: Problems with compile-mode, Eli Zaretskii, 2004/05/24
- Re: Problems with compile-mode,
Stefan Monnier <=
- Re: Problems with compile-mode, Stefan Monnier, 2004/05/28
- Re: Problems with compile-mode, Richard Stallman, 2004/05/29
- Re: Problems with compile-mode, Stefan Monnier, 2004/05/29
- Re: Problems with compile-mode, Richard Stallman, 2004/05/30
- Re: Problems with compile-mode, Richard Stallman, 2004/05/20
Re: Problems with compile-mode, Eli Zaretskii, 2004/05/10