* How to setup emacs 23.1 on macosx
@ 2009-08-05 18:27 n179911
2009-08-05 21:27 ` Leo
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: n179911 @ 2009-08-05 18:27 UTC (permalink / raw
To: help-gnu-emacs
Hi,
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?
* what should my EDITOR variable set to? I want to set it up so that
git can open emacs when i commit.
Thank you.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
[not found] <mailman.3961.1249496861.2239.help-gnu-emacs@gnu.org>
@ 2009-08-05 21:23 ` Olivier Sirven
2009-08-06 2:07 ` n179911
0 siblings, 1 reply; 10+ messages in thread
From: Olivier Sirven @ 2009-08-05 21:23 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
2009-08-05 18:27 How to setup emacs 23.1 on macosx n179911
@ 2009-08-05 21:27 ` Leo
[not found] ` <mailman.3969.1249507681.2239.help-gnu-emacs@gnu.org>
2009-08-05 22:16 ` Nurullah Akkaya
2 siblings, 0 replies; 10+ messages in thread
From: Leo @ 2009-08-05 21:27 UTC (permalink / raw
To: help-gnu-emacs
On 2009-08-05 19:27 +0100, n179911 wrote:
> Hi,
>
> 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?
> * what should my EDITOR variable set to? I want to set it up so that
> git can open emacs when i commit.
>
> Thank you.
You need to use absolute path like this to start Emacs from terminal:
/Applications/Emacs.app/Contents/MacOS/Emacs
--
Leo's Emacs uptime: 1 day, 21 hours, 24 minutes, 3 seconds
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
[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
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Olivier Sirven @ 2009-08-05 21:47 UTC (permalink / raw
To: help-gnu-emacs
Leo <sdl.web@gmail.com> writes:
> On 2009-08-05 19:27 +0100, n179911 wrote:
> You need to use absolute path like this to start Emacs from terminal:
>
> /Applications/Emacs.app/Contents/MacOS/Emacs
I noticed some issues when using the nextstep version in console mode.
That's why I recommand installing it into /usr/local for console use.
--
Olivier
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
2009-08-05 18:27 How to setup emacs 23.1 on macosx n179911
2009-08-05 21:27 ` Leo
[not found] ` <mailman.3969.1249507681.2239.help-gnu-emacs@gnu.org>
@ 2009-08-05 22:16 ` Nurullah Akkaya
2 siblings, 0 replies; 10+ messages in thread
From: Nurullah Akkaya @ 2009-08-05 22:16 UTC (permalink / raw
Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
On Wed, Aug 5, 2009 at 9:27 PM, n179911 <n179911@gmail.com> wrote:
> Hi,
>
> 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?
> * what should my EDITOR variable set to? I want to set it up so that
> git can open emacs when i commit.
>
> Thank you.
>
>
>
in your .profile
EDITOR=/Applications/Emacs.app/Contents/MacOS/bin/emacsclient
export EDITOR
--
Nurullah Akkaya
http://nakkaya.com
[-- Attachment #2: Type: text/html, Size: 958 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
2009-08-05 21:47 ` Olivier Sirven
@ 2009-08-05 22:49 ` Edward O'Connor
2009-08-05 23:24 ` Leo
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Edward O'Connor @ 2009-08-05 22:49 UTC (permalink / raw
To: Olivier Sirven; +Cc: help-gnu-emacs
> I noticed some issues when using the nextstep version in console mode.
What sort of issues?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
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>
3 siblings, 0 replies; 10+ messages in thread
From: Leo @ 2009-08-05 23:24 UTC (permalink / raw
To: help-gnu-emacs
On 2009-08-05 22:47 +0100, Olivier Sirven wrote:
> Leo <sdl.web@gmail.com> writes:
>
>> On 2009-08-05 19:27 +0100, n179911 wrote:
>> You need to use absolute path like this to start Emacs from terminal:
>>
>> /Applications/Emacs.app/Contents/MacOS/Emacs
> I noticed some issues when using the nextstep version in console mode.
> That's why I recommand installing it into /usr/local for console use.
The ns port is still buggy. If you notice some bugs please report them
by M-x report-emacs-bug.
--
Leo's Emacs uptime: 1 day, 23 hours, 18 minutes, 15 seconds
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
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>
3 siblings, 0 replies; 10+ messages in thread
From: Nurullah Akkaya @ 2009-08-05 23:24 UTC (permalink / raw
Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
On Thu, Aug 6, 2009 at 12:47 AM, Olivier Sirven <the.slaa@gmail.com> wrote:
> Leo <sdl.web@gmail.com> writes:
>
> > On 2009-08-05 19:27 +0100, n179911 wrote:
> > You need to use absolute path like this to start Emacs from terminal:
> >
> > /Applications/Emacs.app/Contents/MacOS/Emacs
> I noticed some issues when using the nextstep version in console mode.
> That's why I recommand installing it into /usr/local for console use.
>
> --
> Olivier
>
don't use /Applications/Emacs.app/Contents/MacOS/Emacs
use emacsclient
--
Nurullah Akkaya
http://nakkaya.com
[-- Attachment #2: Type: text/html, Size: 1020 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
2009-08-05 21:23 ` Olivier Sirven
@ 2009-08-06 2:07 ` n179911
0 siblings, 0 replies; 10+ messages in thread
From: n179911 @ 2009-08-06 2:07 UTC (permalink / raw
To: Olivier Sirven; +Cc: help-gnu-emacs
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
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to setup emacs 23.1 on macosx
[not found] ` <mailman.3973.1249512575.2239.help-gnu-emacs@gnu.org>
@ 2009-08-06 7:19 ` Olivier Sirven
0 siblings, 0 replies; 10+ messages in thread
From: Olivier Sirven @ 2009-08-06 7:19 UTC (permalink / raw
To: help-gnu-emacs
"Edward O'Connor" <hober0@gmail.com> writes:
>> I noticed some issues when using the nextstep version in console mode.
>
> What sort of issues?
For example the daemon mode was very unstable: some times server crashed
and some times client just couldn't connect
--
Olivier
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-08-06 7:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05 18:27 How to setup emacs 23.1 on macosx 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
[not found] <mailman.3961.1249496861.2239.help-gnu-emacs@gnu.org>
2009-08-05 21:23 ` Olivier Sirven
2009-08-06 2:07 ` n179911
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.