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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDLWAVE EMACS QUESTION [message #34869] Tue, 29 April 2003 13:39 Go to next message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
JD Smith wrote:
> 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

Hello,

I guess along the same topic but a slightly different question; how do I
get the IDL shell to pick up the modifications in my .tcshrc file that I
made to IDL's !PATH variable. I can't manage to get the shell to pick
up my modifications although it's there when I start IDL from the
command line or IDLDE.

IDL 5.6 on MacOSX

Thanks for any advise,
Ben
Re: IDLWAVE EMACS QUESTION [message #34871 is a reply to message #34869] Tue, 29 April 2003 12:07 Go to previous messageGo to next 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
Re: IDLWAVE EMACS QUESTION [message #34963 is a reply to message #34869] Tue, 29 April 2003 20:16 Go to previous messageGo to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 29 Apr 2003 13:39:30 -0700, Ben Tupper wrote:

> JD Smith wrote:
>> 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
>
> Hello,
>
> I guess along the same topic but a slightly different question; how do I
> get the IDL shell to pick up the modifications in my .tcshrc file that I
> made to IDL's !PATH variable. I can't manage to get the shell to pick
> up my modifications although it's there when I start IDL from the
> command line or IDLDE.
>
> IDL 5.6 on MacOSX
>

This just came up last week. You can either start Emacs/IDLWAVE from the
shell, or add your path setting stuff to ~/.MacOSX/environment.plist.
The issue is that, when started as an Aqua Application, a program never
consults the shell for its environment. Hence the environment.plist
route.

JD
Re: IDLWAVE EMACS QUESTION [message #34967 is a reply to message #34871] Tue, 29 April 2003 14:34 Go to previous messageGo to next message
Karthikayan Balakrish[1] is currently offline  Karthikayan Balakrish[1]
Messages: 5
Registered: April 2003
Junior Member
JD Smith wrote:

> *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))
>

Got that working. Thanks a lot. On the same topic, I tried to use
structure tag completion and got the following error:
"complete-tag: No tags table loaded; try M-x visit-tags-table" on using
Esc-Tab key. What is a tags-table? How do I create one?
Re: IDLWAVE EMACS QUESTION [message #43294 is a reply to message #34963] Fri, 25 March 2005 11:49 Go to previous message
Ch. Konig is currently offline  Ch. Konig
Messages: 2
Registered: March 2005
Junior Member
So I had the problem too that my Carbon Emacs (I'm on Mac OS X) would
not see my IDL_PATH definition in my .cshrc file. Starting from the
shell remedies the situation, while adding my path definition to
~/.MacOSX/environment.plist does not seem to change anything.

Might the "~/.MacOSX/environment.plist" route be a feature of the past
(pre-10.3 or so)?
Or is there something to be tweaked in my Mac?
How else could I make Emacs.app see my .cshrc or the IDL_PATH setting
at least? Is there a way to 'source' a file or define paths in .emacs?

No urgency to those questions, starting from the shell works fine. More
a remark to the IDLWAVE FAQ author.

Cheers,

Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: getting y Coordinates of NetCDF file
Next Topic: METAFILE + TVLCT

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

Current Time: Wed Oct 08 17:36:50 PDT 2025

Total time taken to generate the page: 0.00838 seconds