Von: Berndl, Klaus
Gesendet: Dienstag, 17. März 2009 08:20
An: 'Feng Li'
Betreff: AW: [ECB-list] ECB Window management bug(Customize/EShell/VC-Log...)
i have tested exactly your sequence of actions: No failure, all is working fine - but: I have tested with Emacs 22.3.1 on Windows NT - i do not have GNU Emacs 23.X (this is not an official release, right?).... Therefore my question if you could run your test-sequence with Emacs 22.3.1 too?!
Thanks for your help!
set-buffer is much better, do not use switch-to-buffer in the pop-to-buffer advice! But again: I still do not understand why set-buffer is necessary, because the preceding call to select-window should be sufficiant....
Von: Feng Li [mailto:fengli@...]
Gesendet: Montag, 16. März 2009 23:38
An: Berndl, Klaus
Betreff: Re: [ECB-list] ECB Window management bug(Customize/EShell/VC-Log...)
The version I'm running is GNU Emacs 188.8.131.52 (i386-mingw-nt6.0.6001) of 2009-02-24 on Windows Vista.
I just tested with unpatched ECB:
* start emacs with runemacs -q
* load cedet and ecb
* M-x ecb-activate
* dismiss the tips of day box
* M-x eshell
* observed a blank eshell-mode buffer and the buffer beneath it was popluated with eshell prompt.
In my current version, I'm using (set-buffer (ad-get-arg 0)) instead of switch-to-buffer. I find this works best for me.
On Mon, Mar 16, 2009 at 10:41 PM, <klaus.berndl@...> wrote:
Just tested with current ECB beta (2.33), cedet from CVS and Emacs 22.3.1 (the latest official release)... Neither customze-option nor eshell fails - all is working fine...
Unfortunatelly i have no Emacs 23.X here so i can not test with that Emacs-version.....
Also, i do not understand, why you patch (set-buffer (ad-get-arg 0)) should be necessary in the advice of pop-to-buffer because there is already a call (select-window (display-buffer....) and select-window should make the buffer current...
Can you run your tests with Emacs 22.3.1 too so we can see if there are differences in the behavior...