emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

path, cwd in NS port


From: Perry E. Metzger
Subject: path, cwd in NS port
Date: Thu, 28 May 2020 11:00:37 -0400

Howdy! For years, it has irritated me a bit that when Emacs is
invoked by double-clicking the icon in the NS port, that the
user's path is basically empty and the selected cwd is sometimes "/".

I would like to make it possible for a user to at least correct this
situation in their .emacs by knowing when Emacs has been invoked by
launching the .app versus when it has been invoked from the command
line (and has the proper PATH set etc.)

Does anyone have ideas for ways that the user could figure out which
it is correctly inside their init file? (It's okay if the method
doesn't currently exist and it would require hacking to Emacs to add
such a feature; I'll happily do that.)

Note that in a theoretical sense such an issue probably exists on
other platforms (or might in the future) so something clean would be
good.

Perry
-- 
Perry E. Metzger                perry@piermont.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]