comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLWAVE Screen Split
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLWAVE Screen Split [message #54798 is a reply to message #54700] Fri, 13 July 2007 10:17 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 11 Jul 2007 17:35:58 +0000, mankoff wrote:

> On Jul 10, 12:26 pm, mankoff <mank...@gmail.com> wrote:
>> Hi JD,
>>
>> I'd like to have the IDLWAVE shell (Ctrl+C,S) not spit the screen in
>> half, but perhaps in a 2:1 ratio or so. I've scanned the documentation
>> but couldn't find the command to do this. I'm guessing it is either
>> "idlwave-shell-frame-parameters" or "idlwave-shell-mode-hook" but don't
>> know what to do beyond that.
>>
>> Thanks,
>>
>> -k.
>
> So, I realized this is not an IDLWAVE thing but an emacs thing in general,
> and therefore a bit offtopic. I figured out a solution and will post here
> just in case anyone cares...
>
> I've created a custom screen split function that gives me an 8 line lower
> buffer rather than a 50/50 split.
>
> (defun mysplit
> ()
>
> (interactive)
> (setq split-
> window
> (split-window nil (- (window-height)
> 8))
> )
> )

That might work, but it might screw up other windows which need to be a
certain size. There is no pre-set IDLWAVE variable for this, but you can
easily "advise" the appropriate function to do what you want:

(defadvice idlwave-display-buffer (after shrink-idl-window activate)
"Keep the IDL window height to 1/3 the frame height."
(if (equal buf (idlwave-shell-buffer))
(set-window-text-height (get-buffer-window buf) (/ (frame-height) 3))))

I simply use a dedicated frame for *idl* (see
idlwave-shell-used-dedicated-frame).

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: MOD43B3 Col.4 Processing. unexpected error message. why?
Next Topic: Extrude keyword

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:48:50 PDT 2025

Total time taken to generate the page: 0.00180 seconds