all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Olivier Sirven <the.slaa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to setup emacs 23.1 on macosx
Date: Wed, 05 Aug 2009 23:23:41 +0200	[thread overview]
Message-ID: <m2ws5iosyq.fsf@gmail.com> (raw)
In-Reply-To: mailman.3961.1249496861.2239.help-gnu-emacs@gnu.org

Hi,

n179911 <n179911@gmail.com> writes:
> I get the source of emacs 23.1 and compile successfully on Mac OSX.
> I have installed it by DnD Emacs.app to /Application.
>
> But how can I
> * start emacs on shell command line ? with a file name so that it
> starts with the file open?
In your source directory, just run following commands:
$ make clean
$ ./configure --prefix=/usr/local
$ make
$ sudo make install

You'll just have to make sure /usr/local/bin is in your PATH and
prior to /usr/bin. If it's ok emacs command will launch emacs 23.1

To open a file in console is as easy as:
$ emacs /path/to/my/file

or with emacsclient:
$ emacsclient -c /path/to/my/file


> * what should my EDITOR variable set to? I want to set it up so that
> git can open emacs when i commit
I use this one:
EDITOR="emacsclient -c -a ''".

If there is no emacs daemon running it will start one and connect to it.
This way the next time you invoke $EDITOR it will be way faster.

-- 
Olivier


       reply	other threads:[~2009-08-05 21:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3961.1249496861.2239.help-gnu-emacs@gnu.org>
2009-08-05 21:23 ` Olivier Sirven [this message]
2009-08-06  2:07   ` How to setup emacs 23.1 on macosx n179911
2009-08-05 18:27 n179911
2009-08-05 21:27 ` Leo
     [not found] ` <mailman.3969.1249507681.2239.help-gnu-emacs@gnu.org>
2009-08-05 21:47   ` Olivier Sirven
2009-08-05 22:49     ` Edward O'Connor
2009-08-05 23:24     ` Leo
2009-08-05 23:24     ` Nurullah Akkaya
     [not found]     ` <mailman.3973.1249512575.2239.help-gnu-emacs@gnu.org>
2009-08-06  7:19       ` Olivier Sirven
2009-08-05 22:16 ` Nurullah Akkaya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ws5iosyq.fsf@gmail.com \
    --to=the.slaa@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.