all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* path, cwd in NS port
@ 2020-05-28 15:00 Perry E. Metzger
  2020-05-28 16:10 ` Eli Zaretskii
  2020-05-28 17:45 ` Stefan Monnier
  0 siblings, 2 replies; 12+ messages in thread
From: Perry E. Metzger @ 2020-05-28 15:00 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-05-30 14:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-28 15:00 path, cwd in NS port Perry E. Metzger
2020-05-28 16:10 ` Eli Zaretskii
2020-05-28 16:31   ` Perry E. Metzger
2020-05-28 20:46     ` Alan Third
2020-05-28 22:30       ` 조성빈
2020-05-30  1:03       ` Perry E. Metzger
2020-05-28 22:38     ` 조성빈
2020-05-28 22:52       ` Stefan Monnier
2020-05-30  0:48         ` 조성빈
2020-05-30 14:17           ` Stefan Monnier
2020-05-28 17:45 ` Stefan Monnier
2020-05-28 20:30   ` Perry E. Metzger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.