At 06:30 AM 5/28/99 -0700, Alex Cachia wrote:
>
>
>--- Adam Ambrose <[EMAIL PROTECTED]> wrote:
>> Jim Piersol wrote:
>> > 
>> > Great, is there a similiar command to control sizing on the JDE->Run App
>> > buffer ?
>> > 
>> > Kenneth J. Hughes wrote in message
>> > <[EMAIL PROTECTED]>...
>> > >At 07:54 PM 5/27/99 GMT, Jim Piersol wrote:
>> > >>When you do a compile, a second buffer appears on the bottom half of the
>> > >>emacs screen.  While you can resize this buffer, if you chose to do
>> > another
>> > >>operation, i.e. run app., the buffer is reset to take up half the screen
>> > >>again.  Is there any way to control this resizing ?  I would like to
make
>> > >>the buffer only take uip about 20 - 25 % of the main screen.
>> > >
>> > >I use (setq compilation-window-height 17).
>> > >
>> > >Kenneth J. Hughes
>> > >
>> 
>> 
>> This is not exactly the answer you were looking for, but is kinda neat,
>> anyway.  If you're running emacs in a windowing system, one thing I like
>> to do is have a new frame pop up with the run output.  Since the buffer
>> is called "*Main*" by default, I use the following:
>> 
>> (setq special-display-buffer-names
>>            '("*Main*"))
>> 
>> Adam Ambrose
>> 
>
>I've been trying to get this to work.  I have the compilation window poping up
>but have been unable to get the run window to pop up.  I believe it has
>something to do with the name '*Main*'.  My run buffers are all named
>differently.  Any way to to use regular expressions in a lisp statement like
>that or change the name of my run buffers to the same name?
>

You could try inserting 

(setq special-display-buffer-names
           '("*MYMAINCLASS*"))

in the prj.el file for your project where MYMAINCLASS is the name of your
project's main class. (The JDE sets the name of the run buffer to the name
of the class being run.)

- Paul

Reply via email to