From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Olivier Sirven Newsgroups: gmane.emacs.help Subject: Re: How to setup emacs 23.1 on macosx Date: Wed, 05 Aug 2009 23:23:41 +0200 Organization: Guest of ProXad - France Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249508547 25415 80.91.229.12 (5 Aug 2009 21:42:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 21:42:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 05 23:42:19 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MYoFV-0002mS-3V for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 23:42:17 +0200 Original-Received: from localhost ([127.0.0.1]:45149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYoFU-0006MI-Il for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 17:42:16 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!de-l.enfer-du-nord.net!usenet-fr.net!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp5-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:V32I18jh5cUjoZXDy/nfvc/X0Hc= Original-Lines: 35 Original-NNTP-Posting-Date: 05 Aug 2009 23:23:41 MEST Original-NNTP-Posting-Host: 82.224.24.185 Original-X-Trace: 1249507421 news-2.free.fr 724 82.224.24.185:53254 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:171640 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66814 Archived-At: Hi, n179911 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