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

Home » Public Forums » archive » Re: IDLWAVE EMACS QUESTION
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 EMACS QUESTION [message #34871 is a reply to message #34869] Tue, 29 April 2003 12:07 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 29 Apr 2003 11:04:08 -0700, Karthikayan Balakrishnan wrote:

> Hello All,
> I tried the structure completion in IdlWAVE by adding
>
> (add-hook 'idlwave-load-hook
> (lambda () (require 'idlw-complete-structtag)))
>
> in my .emacs file and then proceeded to add the
> idlw-complete-structtag.el file to /usr/local/share/emacs/site-lisp/
> where the rest of the idl*.el files are. Yet when I load up Emacs I get
> the following error:
> File mode specification error: (file-error "Cannot open load file"
> "idlw-complete-structtag")
>
> OS: Linux Redhat 8.0
> Emacs Version: GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d
> scroll bars) of 2002-08-28 on astest
> IDL Version : 5.5
>
> Any suggestions? Thanks,
> Karthik.

It's likely that you're accidentally using the Emacs-bundled version
of IDLWAVE, v4.7. You can see by "C-h v idlwave-mode-version". If
so, this means the stuff in /usr/local/share/... isn't being used at
all. Many linux systems, for some reason, come with Emacs configured
*not* to look in /usr/local/share/... for lisp files. You need to
configure your load-path in .emacs to include this directory:

(setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path))

You can view your load-path with "C-h v load-path". Now
complete-structtag should work, and you'll be using the newest IDLWAVE
version too.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: getting y Coordinates of NetCDF file
Next Topic: METAFILE + TVLCT

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

Current Time: Sun Oct 12 09:45:21 PDT 2025

Total time taken to generate the page: 1.04191 seconds