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

Home » Public Forums » archive » idlwave help files...
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
idlwave help files... [message #22202] Wed, 25 October 2000 00:00 Go to next message
Matt Haffner is currently offline  Matt Haffner
Messages: 34
Registered: October 2000
Member
Any chance of starting to include the idlw-help.* files in the xemacs
package or are there size restrictions? Also (just so ya know), the 1.22
package I snagged yesterday has VERSIONTAG instead of real version
numbers in the *.el files.

Thanks for the spectacular mode :) It's all I use now.

mh
--
Matt Haffner /|------|\ University of Wisconsin
Dept. of Astronomy /|--------|\ Madison
haffner@astro.wisc.edu /|----------|\
WHAM project -- http://www.astro.wisc.edu/wham
Re: idlwave help files... [message #22273 is a reply to message #22202] Wed, 25 October 2000 23:29 Go to previous messageGo to next message
dominik is currently offline  dominik
Messages: 47
Registered: June 2000
Member
>>>> > "MH" == Matt Haffner <haffner@astro.wisc.edu> writes:

MH> Any chance of starting to include the idlw-help.* files in the
MH> xemacs package or are there size restrictions?

Not size, but there is a copyright issue. I'll need to check, maybe I
could actually put them into the xemacs package. What I know for sure
is that I cannot put them into the GNU Emacs distribution.


MH> Also (just so ya
MH> know), the 1.22 package I snagged yesterday has VERSIONTAG instead
MH> of real version numbers in the *.el files.
Oh, OK.

- 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 help [message #27485 is a reply to message #22202] Wed, 24 October 2001 21:14 Go to previous messageGo to next message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
Ken Mankoff wrote:
>
> Hi,
>
> I have been fooling around more with the IDLWAVE mode, but have run into a
> problem. I have searched Carstens pages, but presumably missed the answer.
>
> I would like to start using completion in the editing buffer, not just the
> shell. I think this is bound to M-TAB (or ESC-TAB). When I hit that, I get
> the following:
>
> No tag table loaded; try M-x visit-tag-table
>
> I ran this in my idwave dir:
> perl --etags @/tools/rsi/idl
>
> and it built an IDLTAGS file. I then did M-x visit-tag-table, and gave it
> the IDLTAGS file that idltags built.
>
> now, when I type "plo ESC-TAB", it fills in with "plot__fields", not
> "plot", as I would expect.
>
> Any ideas anyone?
>



Well, first of all none of this etags business is necessary... it sounds to me
like IDLWAVE isn't even running on your buffer. In regular buffers [M-Tab]
completes tag symbols, which could explain your error. In IDLWAVE mode, it
should run a special function `idlwave-complete', which knows quite a bit about
where completion is occurring. As an example, if you're inside an obj_new()
function, it completes either classnames, or Init() arguments, depending on the
locatin.

If you are in IDLWAVE mode, you'll see "IDLWAVE" in the command bar below, and a
menu of the same name. If you're not in IDLWAVE, it could be because you forgot
to add:

(autoload 'idlwave-mode "idlwave" "IDLWAVE Mode" t)
(autoload 'idlwave-shell "idlw-shell" "IDLWAVE Shell" t)
(setq auto-mode-alist (cons '("\\.pro\\'" . idlwave-mode)
auto-mode-alist))
(setq idlwave-help-directory "/usr/local/etc")

into your .emacs. This is all covered in the INSTALL file you'll find in the
distribution. I know, who wants to read those.... with the recently released
Emacs21, none of this will be necessary, since IDLWAVE comes included (currently
at v4.7).

To digest your own libraries for completion and help, you should look at the
IDLWAVE->Routine Info->Select Catalog Directories command. This will allow you
to have completion and help on all your own routines and libraries too! It even
looks up keywords in your routines' headers (if they're properly written).

Good luck,

JD
Re: idlwave help [message #27616 is a reply to message #27485] Thu, 25 October 2001 08:28 Go to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Thu, 25 Oct 2001, John-David Smith wrote:
> Ken Mankoff wrote:
>>
>> I would like to start using completion in the editing buffer, not just the
>> shell. I think this is bound to M-TAB (or ESC-TAB). When I hit that, I get
>> the following:
>
> This is all covered in the INSTALL file you'll find in the distribution.

Hi JD,

I had done a custom location install before, as I dont have root
priviliges on my main computer. I do on another one, and am now testing
this there. I have followed the INSTALL file verbatim, and here is my
.emacs:

;(setq load-path (cons "~/local/idlwave-4.9d" load-path))
(autoload 'idlwave-mode "idlwave" "IDLWAVE Mode" t)
(autoload 'idlwave-shell "idlw-shell" "IDLWAVE Shell" t)
(setq auto-mode-alist
(cons '("\\.pro\\'" . idlwave-mode) auto-mode-alist))
(setq idlwave-help-directory "/usr/local/etc")

If I do this, and emacs a .pro file, it starts in my default major-mode,
Text. However, even in text mode, ESC-TAB *does* bring up completions. But
obviously, font-lock-mode and other stuff does not work.

Also, the *Messages* buffer has this:
File mode specification error: (file-error "Cannot open load file" "idlwave")

-----
If I change my .emacs so that the commented line above is uncommented,
then when I edit a file, I get loaded into "IDLWAVE Abbrev Fill" mode,
syntax is highlighted, and "C-c,?" brings up help, etc... In short,
everything works but the ESC-TAB. If I hit that, it says that 'tags are
not loaded'.

The confusing thing is that ~/local/idlwave-4.9d is where I ran
% make; su; make install-all

Ideally, I would like to run everything out of ~/local/idlwave, so that I
can have the same setup on all my computers, even where i am not root.

-k.

--
Ken Mankoff
LASP://303.492.3264
http://lasp.colorado.edu/~mankoff/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Open letter to RSI about dropping Alpha Tru64
Next Topic: Message From RSI VP of Engineering

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

Current Time: Sat Oct 11 01:17:05 PDT 2025

Total time taken to generate the page: 0.95763 seconds