You could create an executable wrapper script, say /usr/local/bin/my-emacswrapper.sh,
approximately:


#!/bin/bash
PATH=$PATH:(put additional path directories here)
exec emacs

(or maybe the last line should just read "emacs", or "emacs &" plus any options you want to pass to emacs; help me, someone who knows Bash better than I do. The point would be to pass your modified $PATH to emacs via your wrapper.) Then your command in the X11 Applications menu would be

/usr/local/bin/my-emacswrapper.sh

HTH,

Jonathan


At 10:21 PM +0000 3/20/03, Alexis wrote:
Do you have any ideas on how to fix that?

On Thursday, Mar 20, 2003, at 22:16 Europe/London, Alexander Hansen wrote:

It might be the same kind of problem, though.  Under Apple X11, if you
run an application from the Applications Menu, the PATH doesn't get set
up properly.

On Thu, 2003-03-20 at 17:10, Alexis wrote:
I have it installed indeed.
But I guess my emacs does not use it, but the carbon lib.

On Thursday, Mar 20, 2003, at 22:04 Europe/London, Alexander Hansen
wrote:

Are you using Apple X11, by any chance?

On Thu, 2003-03-20 at 15:47, Alexis wrote:
Hi guys,

I've got a problem which is not strictly related to fink, but I dont
know where else to ask. I am trying to install latex via fink. I am
now
trying to use latex with auctex, the great emacs package. But
unfortunately, it doesnt work, and I think thats because, for some
reason, the $PATH used by emacs is not the correct one...


-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to