help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to setup emacs 23.1 on macosx


From: n179911
Subject: Re: How to setup emacs 23.1 on macosx
Date: Wed, 5 Aug 2009 19:07:33 -0700

On Wed, Aug 5, 2009 at 2:23 PM, Olivier Sirven<the.slaa@gmail.com> wrote:
> 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.
>
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
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]