From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: n179911 Newsgroups: gmane.emacs.help Subject: Re: How to setup emacs 23.1 on macosx Date: Wed, 5 Aug 2009 19:07:33 -0700 Message-ID: <3b9893450908051907h3550c4b4od9fd7e20b8e0fc86@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249524494 26850 80.91.229.12 (6 Aug 2009 02:08:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 02:08:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Olivier Sirven Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 04:08:07 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 1MYsOi-0002kK-5w for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 04:08:04 +0200 Original-Received: from localhost ([127.0.0.1]:45846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYsOh-0002Ng-JX for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 22:08:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYsOK-0002Nb-AH for help-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:07:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYsOF-0002NH-9w for help-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:07:39 -0400 Original-Received: from [199.232.76.173] (port=60532 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYsOF-0002NE-6P for help-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:07:35 -0400 Original-Received: from mail-qy0-f183.google.com ([209.85.221.183]:59678) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYsOE-0000tP-Ou for help-gnu-emacs@gnu.org; Wed, 05 Aug 2009 22:07:34 -0400 Original-Received: by qyk13 with SMTP id 13so568321qyk.14 for ; Wed, 05 Aug 2009 19:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nq/Mtj3QNBK82Ev+m+ll0CNmygimVKBmM/jwgORdjjg=; b=mJFioeLAvmejHVQWCgPp+KJKwhKAiKvPhoSK1bYYqXuA8UN6K7/WUvlyjCgvoVBgGs cNfDJzYWr/BtQcL/J/DKm/S4m5GuCjVKsV786Aw3V04G2WVYxCFCeUDH4uwY9ZK93G98 FilsgAAkNNI70ws23z5zDMrXWFyXDxOlOu/M4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tjXpBLSB0e05RJw9+AxX4C5zE+w1Cd7Q3KJEo72Mjp8ig0MCZeK6mAhtP/gXyYz7ht qwJEDQWdpiLJavxwSPGRZt/eh6fbraoVxwaX7JIhP+2+d6+Y1BM1IE3kkxx0XfN4uG6G B/PFV8qham5y+kNrlzWE1GvBZ6SLT35zx2KFc= Original-Received: by 10.229.100.137 with SMTP id y9mr2741993qcn.33.1249524453965; Wed, 05 Aug 2009 19:07:33 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:66822 Archived-At: On Wed, Aug 5, 2009 at 2:23 PM, Olivier Sirven wrote: > 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. > Thanks. I try to use emacs daemon on MacOSX. But when I use emacsclient with an emacs daemon, Scroll wheel does not work. But when I just start emacs at command line, scroll wheel works. > -- > Olivier >