all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Mac OS X Command Line Options Bug Fix
@ 2002-08-11  0:44 Andrew Choi
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Choi @ 2002-08-11  0:44 UTC (permalink / raw)


Hello Everyone,

I've checked in the following patch to the CVS that allows Emacs to be
started correctly as a GUI application from the terminal on Mac OS X.
Therefore command line options can now be passed to Emacs.  The OS X
loader still requires a pathname to the executable in the bundle be
typed to the shell for Emacs to correctly find its resources.

Now that this problem is solved, I will soon be changing
src/makefile.in to install the executable only at one place (within
the application bundle in its usual place, which is placed in say
/Applications/ or some other location specified by the user).  The
`executable' in $prefix/bin/ will really be just something like the
following script:

  #!/bin/sh
  /Applications/Emacs.app/Contents/MacOS/Emacs $*

When invoked from the command line, it will start a GUI or terminal
version depending on whether the -nw switch is used.

Of course one can still double-click on the application bundle in the
Finder to start Emacs.

I invite everyone to test this patch.

Andrew.
-----
2002-08-10  Andrew Choi  <akochoi@shaw.ca>

        * mac.c (sys_select) [MAC_OSX]: New function.

        * macterm.c (MakeMeTheFrontProcess): New function.
        (mac_initialize): Call MakeMeTheFrontProcess.

        * s/darwin.h: Define select to sys_select.

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

end of thread, other threads:[~2002-08-12 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m265yiql5h.fsf@shaw.ca>
2002-08-12  8:40 ` Mac OS X Command Line Options Bug Fix Andreas Schwab
2002-08-12 15:51   ` Andrew Choi
     [not found]   ` <m28z3cdqih.fsf@shaw.ca>
2002-08-12 16:08     ` Andreas Schwab
2002-08-11  0:44 Andrew Choi

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.