Emacs+IDLWAVE problems [message #43958] |
Tue, 10 May 2005 03:00  |
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  |
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  |
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
|
|
|