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

Home » Public Forums » archive » Emacs+IDLWAVE problems
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
Emacs+IDLWAVE problems [message #43958] Tue, 10 May 2005 03:00 Go to next message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Hi group,

I have a little problem with my idlwave-mode.
I have defined on my .bashrc and .bash_profile file the IDL_PATH
environment variable to point IDL directories and another personal
directory with some routines.

The problem is:
- If I open a GNOME-terminal and execute emacs (into X) then all is ok.
I can execute the programs that execute my personal routines.

- If I execute Emcas directly from a launcher icon the !PATH variable
not cantains my personal directory.

Any idea, thanks.
Antonio.


PS: I find other old messages but any resolve this little problem. Also
if I execute:

IDL> print, getenv('IDL_PATH')

The result is an empty string :(


--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
Re: Emacs+IDLWAVE problems [message #44040 is a reply to message #43958] Wed, 11 May 2005 01:16 Go to previous message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
>
> This is a common problem (e.g. under OSX too). Probably you should put
> your IDL stuff in your .login file, and log out/in, which will cause
> your entire GNOME session to inherit that environment. I put:
>
> source $HOME/.idl_setup # get idl aliases
>
> in .login, and put all relevant variables in that file.
>
> JD
>

Sorry, but that doesn't work. Finally I found the problem.
Working with GDM as started and GNOME the files to modify are:
/etc/environment - For all users
~/.gnomerc - To define user variables.

I put my IDL_PATH into .gnomerc restart XWindow and all is fine.

Thanks, anyway JD.
Antonio.

--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
Re: Emacs+IDLWAVE problems [message #44047 is a reply to message #43958] Tue, 10 May 2005 10:37 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 10 May 2005 12:00:41 +0200, Antonio Santiago wrote:

> Hi group,
>
> I have a little problem with my idlwave-mode.
> I have defined on my .bashrc and .bash_profile file the IDL_PATH
> environment variable to point IDL directories and another personal
> directory with some routines.
>
> The problem is:
> - If I open a GNOME-terminal and execute emacs (into X) then all is ok.
> I can execute the programs that execute my personal routines.
>
> - If I execute Emcas directly from a launcher icon the !PATH variable
> not cantains my personal directory.
>
> Any idea, thanks.
> Antonio.
>
>
> PS: I find other old messages but any resolve this little problem. Also
> if I execute:
>
> IDL> print, getenv('IDL_PATH')


This is a common problem (e.g. under OSX too). Probably you should put
your IDL stuff in your .login file, and log out/in, which will cause
your entire GNOME session to inherit that environment. I put:

source $HOME/.idl_setup # get idl aliases

in .login, and put all relevant variables in that file.

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDLitComponent - Introspection
Next Topic: Re: Using write_csv_data

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

Current Time: Fri Oct 10 14:34:57 PDT 2025

Total time taken to generate the page: 0.78860 seconds