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

Home » Public Forums » archive » Re: IDLWAVE Emacs curio-- focus shifts on error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDLWAVE Emacs curio-- focus shifts on error [message #89428] Wed, 15 October 2014 09:17
JDS is currently offline  JDS
Messages: 94
Registered: March 2009
Member
On Friday, September 12, 2014 11:51:18 PM UTC+2, Edward Hyer wrote:
> So, I use Emacs with idlwave-mode (and viper-mode, for you Emacs haters), and I've noticed a few differences between implementations running on different machines. One of these relates to the history file, which I prefer to be unique to an Emacs session, but is sometimes saved to disk with a history of what I was doing last week/month. Haven't really figured that out, but here's another one:
>

You'll want to customize the variable idlwave-shell-save-command-history.

> When I run an IDL program from the IDL> prompt in the IDLWAVE shell, and that program quits with an error, Emacs pulls up the source code of the routine that errored and puts the cursor at the location where the error was triggered. So far so good.
>
>
>
> On *some* machines, Emacs shifts the focus to the buffer with the source code, while on other machines the focus stays on the IDL command line. I prefer the second behavior, because I generally need to interrogate some variables from the command line before I can work out how to modify the code.

This shouldn't be machine specific. If you are in the *IDL* shell buffer when an error occurs, focus will remain there. If not, focus will be given to the buffer itself at the point of error. If you use electric-debug-mode all the time (which I do), the customize variable idlwave-shell-electric-zap-to-file forces it to go to the file buffer all the time, but at present there is no way of forcing the opposite (always stay in the shell).

By the way, the IDLWAVE version which ships with Emacs is somewhat outdated. I'm hoping to find some energy (or, better, help!) migrating IDLWAVE to an Emacs package so that it can be kept more up to date. Volunteers welcome.

In the meantime, look for the latest at:

https://github.com/jdtsmith/idlwave

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: multiple sign in postscript output in direct graphics
Next Topic: Mystical IDL_IDLBridge error

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

Current Time: Wed Oct 08 07:17:21 PDT 2025

Total time taken to generate the page: 0.00507 seconds