Re: bump : *EDE Shell v2* buffer consecutively kills other windows content
"Eric M. Ludlam" <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
On 10/14/2014 10:33 AM, Xaver Gerster wrote:
> Apart from stripping my init.el down to the aforementioned 3 lines, I
> now also generated an absolutely bare-bones ede automake project with a
> single program target comprising of the following sophisticated piece of
> code
>
> #include <iostream>
> using namespace std;
>
> int main() {
> cout << "Hi there" << endl;
> return 0;
> }
>
> I compile the project with 'C-c . C', I close all windows except for the
> one showing the code, I invoke 'C-c . R' once, this pops up an *EDE
> Shell ...* window, splitting the Emacs pane, and saying "Hi there". I
> invoke 'C-c . R' a 2nd time, this pops up another *EDE Shell ...*
> replacing the windows content which previously showed the code, leaving
> me with two identical *EDE Shell ...* buffers displayed in two windows
> on the emacs pane.
I tried your above example using the version of the EDE Automake project
that creates the Makefile.am files for you. I tried running it with the
above keystroke. With my fix in place, it did not do anything unusual
with the shell buffer showing up too many times.
> To make absolutely sure that the bazar version on my system was not
> somehow contaminated by emacs-built-in stuff, I replaced the string
> "*EDE Shell %s" on line 73 in shell.el by "*xxEDE Shell %s", which in
> turn was actually also the buffers name I got on invoking 'C-c . R'.
Good Test.
>
> Any other idea?
the only thing to do next is visit ede/shell.el, and put the cursor in
ede-shell-run-something, and do:
M-x edebug-defun RET
then do your repro steps. Step over each line using SPC, and watch to
see when the bad-stuff happens.
> PS.: now how cool is it that there is even a Gnu hello project? I didn't
> know that. And its tar.gz even takes a full 700K. That's something.
It is a handy thing to have when testing the standalong automake
project. Simple, yet full of exciting automake features. :)
Eric
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho