There may be a way:  See if putting

. /sw/bin/init.sh

in your .xinitrc near the top (i.e. before you run any programs) passes
/sw/bin to exec-path.

On Sat, 22 Feb 2003, Stephen Anderson wrote:

> Problem: xemacs can't find packages installed by fink, such as
> /sw/bin/ispell.  Xemacs uses the variable exec-path to find programs,
> and this is set to something quite conservative at startup, not
> including /sw/bin, /usr/local/bin, or the directory where GW's TeX
> programs live.  I can always hack this by putting something like the
> following in my .xemacs/init.el file:
>
> (setq exec-path (append '("/sw/bin" "/usr/local/bin") exec-path))
>
> but that's not as portable as it should be.  Is there any way to get
> xemacs to use the PATH variable from tcsh as its value for exec-path?
>
> I should mention that I'm starting xemacs from the application menu in
> Apple's X11, so there's probably no shell from which it could inherit
> this value.  But there must be some non-kludgey way to do it.
>
> -- Steve Anderson
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> The most comprehensive and flexible code editor you can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> www.slickedit.com/sourceforge
> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
>

--
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to