IDLWAVE 4.8 [message #23904] |
Mon, 26 February 2001 13:15  |
dominik
Messages: 47 Registered: June 2000
|
Member |
|
|
Hello, Emacs users,
I have uploaded IDLWAVE 4.8. As always you can find it here:
http://www.strw.leidenuniv.nl/~dominik/Tools/idlwave
Changes in version 4.8
---------------------
- The shell preserves the command history between sessions. See
new variables `idlwave-shell-command-history-file' and
`idlwave-shell-save-command-history'.
Note that JD posted some ugly code a few month ago which had the
same effect. If you copied that code into .emacs, remove it again.
Saving the command history is now the default, no extra actions
required.
- New variable `idlwave-indent-to-open-paren' which can be used to
turn off deep indentation of continuation lines. Example:
x = function_a(function_b(function_c( a, b, $
d, c)))
- The library catalog can be updated with a background job so that
you can continue to work while it runs.
- A double prefix argument to `idlwave-shell-print' evaluates
and prints the current region as an expression.
- When the IDL process under the shell exits, it runs
`idlwave-shell-sentinel-hook'.
- Fixed bug with deleting last window on IDL exit.
- Fixed bug (exponential regexp) with parsing Liam Gumley's routine
headers.
- Carsten
|
|
|
Re: IDLWAVE 4.8 [message #23929 is a reply to message #23904] |
Wed, 28 February 2001 12:34  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Carsten Dominik wrote:
>
>>>> >> "MS" == Martin Schultz <martin.schultz@dkrz.de> writes:
>
> MS> Wow!! This is exactly what I was looking for... except that
> MS> xemacs starts and tells me "Cannot load idlwave-shell" ;-( There
> MS> must be some path settings somewhere that I am missing. It always
> MS> works fine when I launch it from the menu.
>
> (autoload 'idlwave-shell "idlw-shell" "IDL/WAVE Mode code" t)
>
> in .emacs is missing.
> It is in the INSTALL file. If you use the XEmacs package, maybe I
> forgot to make this an autoload. I'll check.
>
> - Carsten
THANKS!!! The idlw instead of idlwave did it !!! No more xterm !!!
Hurraaaaah!
Martin
PS: Unfortunately, this was about the only thing that worked today ;-(
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
|
|
|
Re: IDLWAVE 4.8 [message #23942 is a reply to message #23904] |
Wed, 28 February 2001 03:08  |
dominik
Messages: 47 Registered: June 2000
|
Member |
|
|
>>>> > "JS" == JD Smith <jdsmith@astro.cornell.edu> writes:
JS> emacs --geometry 80x32 --eval "(setq
JS> idlwave-shell-use-dedicated-frame nil)" -f idlwave-shell -f
JS> delete-other-windows --eval "(add-hook
JS> 'idlwave-shell-sentinel-hook 'save-buffers-kill-emacs t)"
I'll put this into the manual.
- Carsten
--
Carsten Dominik <dominik@astro.uva.nl> \ _ /
Sterrenkundig Instituut "Anton Pannekoek" |X| _
Kruislaan 403; NL-1098 SJ Amsterdam /| |\ _ _ _/ \
phone +31 (20) 525-7477; FAX +31 (20) 525-7484 __|o|___/ ~~ \___/ ~~~
|
|
|
Re: IDLWAVE 4.8 [message #23943 is a reply to message #23904] |
Wed, 28 February 2001 02:58  |
dominik
Messages: 47 Registered: June 2000
|
Member |
|
|
>>>> > "MS" == Martin Schultz <martin.schultz@dkrz.de> writes:
MS> Wow!! This is exactly what I was looking for... except that
MS> xemacs starts and tells me "Cannot load idlwave-shell" ;-( There
MS> must be some path settings somewhere that I am missing. It always
MS> works fine when I launch it from the menu.
(autoload 'idlwave-shell "idlw-shell" "IDL/WAVE Mode code" t)
in .emacs is missing.
It is in the INSTALL file. If you use the XEmacs package, maybe I
forgot to make this an autoload. I'll check.
- Carsten
|
|
|
Re: IDLWAVE 4.8 [message #23947 is a reply to message #23904] |
Wed, 28 February 2001 00:43  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
JD Smith wrote:
>
>
> emacs --geometry 80x32 --eval "(setq idlwave-shell-use-dedicated-frame
> nil)" -f idlwave-shell -f delete-other-windows --eval "(add-hook
> 'idlwave-shell-sentinel-hook 'save-buffers-kill-emacs t)"
>
> as an alias (a bit hard to remember all that!). I'm not an xemacs user,
> so I don't know how it would cross over (but I suspect it should work).
> If I want to do it over a slow network connection, I'd add a "-nw" in
> there, in place of the "--geometry 80x32" part. Everything works as
> you'd hope.
>
> This starts the idlwave-shell in a nice sized window, killing all other
> windows (like *scratch*), and sets it up so that when I quit IDL (using
> C-d, perhaps), emacs itself quits. This is my "fire up IDL for a quick
> calc" mode, but complete with all the IDLWAVE goodies... completion,
> help and routine info lookup, etc. I used to use an xterm for this, but
> have not looked back since Carsten helped me formulate this incantation.
>
> JD
Oh, how I would love to be able not to look back ;-) Just that xemacs
still complains with "Cannot open load file idlwave-shell". I had to
leave out the --geometry argument, because that create one window
named "--geometry" and another window named "80x32". Now I see a
scratch window open and then the above error message.
Martin
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
|
|
|
Re: IDLWAVE 4.8 [message #23970 is a reply to message #23904] |
Tue, 27 February 2001 05:04  |
dominik
Messages: 47 Registered: June 2000
|
Member |
|
|
I am not sure if I understand what you mean with "editing window". Do
you mean the Emacs frame, or do you mean the fact that normally
IDLWAVE splits the Emacs frame into two windows, one for source and
one for the shell?
You can start XEmacs without any window with the -nomap option I
believe. I don't think Emacs supports this, and I don't think this is
what you mean.
If you want to launch emacs normally, but immediately start with the
IDLWAVE shell, do this
xemacs -f idlwave-shell &
If you want that the IDLWAVE shell is the only thing visible in the
Emacs frame, do this
xemacs -f idlwave-shell -f delete-other-windows &
If you want to run Emacs inside the xterm (a non-X Emacs), use the
option -nw (no-window)
xemacs -nw -f idlwave-shell -f delete-other-windows &
Note that some keybindings (like ALT and HYPER keys) don't work in an
xterm. Also, the mouse is not available.
I seem to remember that JD has a button on his desktop which launches
a process like one of the above. Want to comment, JD?
Hope this helps
- Carsten
>>>> > "MS" == Martin Schultz <martin.schultz@dkrz.de> writes:
MS> Hi Carsten, thanks again for keeping up the maintenance of this
MS> great tool! May I use the opportunity to ask one question (feature
MS> already there else request): Is there a chance to start (X)emacs
MS> directly with an IDL shell but no editing window. When I am only
MS> "using" IDL (as opposed to develop applications), I would like to
MS> have something simple like the "idl" command to get to a command
MS> line interface directly. Are there any XEmacs options to do that?
MS> I realize this might be difficult for XEmacs first has to find out
MS> that I want to use the idlwave mode...
|
|
|
Re: IDLWAVE 4.8 [message #23973 is a reply to message #23904] |
Tue, 27 February 2001 04:12  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Hi Carsten,
thanks again for keeping up the maintenance of this great tool! May
I use the opportunity to ask one question (feature already there else
request): Is there a chance to start (X)emacs directly with an IDL
shell but no editing window. When I am only "using" IDL (as opposed to
develop applications), I would like to have something simple like the
"idl" command to get to a command line interface directly. Are there
any XEmacs options to do that? I realize this might be difficult for
XEmacs first has to find out that I want to use the idlwave mode...
Regards,
Martin
Carsten Dominik wrote:
>
> Hello, Emacs users,
>
> I have uploaded IDLWAVE 4.8. As always you can find it here:
>
> http://www.strw.leidenuniv.nl/~dominik/Tools/idlwave
>
> Changes in version 4.8
> ---------------------
>
> - The shell preserves the command history between sessions. See
> new variables `idlwave-shell-command-history-file' and
> `idlwave-shell-save-command-history'.
> Note that JD posted some ugly code a few month ago which had the
> same effect. If you copied that code into .emacs, remove it again.
> Saving the command history is now the default, no extra actions
> required.
>
> - New variable `idlwave-indent-to-open-paren' which can be used to
> turn off deep indentation of continuation lines. Example:
> x = function_a(function_b(function_c( a, b, $
> d, c)))
>
> - The library catalog can be updated with a background job so that
> you can continue to work while it runs.
>
> - A double prefix argument to `idlwave-shell-print' evaluates
> and prints the current region as an expression.
>
> - When the IDL process under the shell exits, it runs
> `idlwave-shell-sentinel-hook'.
>
> - Fixed bug with deleting last window on IDL exit.
>
> - Fixed bug (exponential regexp) with parsing Liam Gumley's routine
> headers.
>
>
> - Carsten
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
|
|
|