* emacsclient problem
@ 2011-02-21 17:57 Nick Parker
2011-02-21 20:26 ` Ken Brown
0 siblings, 1 reply; 3+ messages in thread
From: Nick Parker @ 2011-02-21 17:57 UTC (permalink / raw)
To: cygwin
Hello,
I am attempting to use the cygwin version of emacs and emacsclient,
however I am running into an issue. The scenario that I am attempting
is as follows:
1. Launching emacs from mintty (both of which were installed from the
cygwin installer).
2. A simple init.el inside the .emacs.d directory that looks like this
(http://pastie.org/1590067).
3. Background emacs with C-z
4. Launch emacsclient somefile.txt to edit the file.
When I perform step 4, the command prompt doesn't appear to invoke
emacsclient, the display does not change, and I do not see the file I am
attempting to view. I have to issue a C-c to break the prompt back to
normal user input.
Version Information:
mintty: 0.9.5
emacs: 23.2.1
emacsclient: 23.2
Does anyone have any suggestions on what might be the cause of this
behavior? Should this in fact work? Any suggestions would be
appreciated. Thanks.
--
Nick Parker
www.developernotes.com
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacsclient problem
2011-02-21 17:57 emacsclient problem Nick Parker
@ 2011-02-21 20:26 ` Ken Brown
2011-02-21 20:47 ` Nick Parker
0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2011-02-21 20:26 UTC (permalink / raw)
To: cygwin
On 2/21/2011 12:57 PM, Nick Parker wrote:
> Hello,
>
> I am attempting to use the cygwin version of emacs and emacsclient,
> however I am running into an issue. The scenario that I am attempting
> is as follows:
>
> 1. Launching emacs from mintty (both of which were installed from the
> cygwin installer).
> 2. A simple init.el inside the .emacs.d directory that looks like this
> (http://pastie.org/1590067).
> 3. Background emacs with C-z
> 4. Launch emacsclient somefile.txt to edit the file.
>
> When I perform step 4, the command prompt doesn't appear to invoke
> emacsclient, the display does not change, and I do not see the file I am
> attempting to view. I have to issue a C-c to break the prompt back to
> normal user input.
>
> Version Information:
> mintty: 0.9.5
> emacs: 23.2.1
> emacsclient: 23.2
>
> Does anyone have any suggestions on what might be the cause of this
> behavior? Should this in fact work? Any suggestions would be
> appreciated. Thanks.
I don't see anything in the emacsclient documentation that suggest that
the emacs server should continue to run after being suspended with C-z.
Here are two alternatives that do seem to work (but see the
documentation for much more information):
1. Start emacs (and the emacs server) in one mintty window and run
emacsclient in another.
2. Start emacs with the --daemon option.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacsclient problem
2011-02-21 20:26 ` Ken Brown
@ 2011-02-21 20:47 ` Nick Parker
0 siblings, 0 replies; 3+ messages in thread
From: Nick Parker @ 2011-02-21 20:47 UTC (permalink / raw)
To: cygwin
On 2/21/2011 2:25 PM, Ken Brown wrote:
> On 2/21/2011 12:57 PM, Nick Parker wrote:
>> Hello,
>>
>> I am attempting to use the cygwin version of emacs and emacsclient,
>> however I am running into an issue. The scenario that I am attempting
>> is as follows:
>>
>> 1. Launching emacs from mintty (both of which were installed from the
>> cygwin installer).
>> 2. A simple init.el inside the .emacs.d directory that looks like this
>> (http://pastie.org/1590067).
>> 3. Background emacs with C-z
>> 4. Launch emacsclient somefile.txt to edit the file.
>>
>> When I perform step 4, the command prompt doesn't appear to invoke
>> emacsclient, the display does not change, and I do not see the file I am
>> attempting to view. I have to issue a C-c to break the prompt back to
>> normal user input.
>>
>> Version Information:
>> mintty: 0.9.5
>> emacs: 23.2.1
>> emacsclient: 23.2
>>
>> Does anyone have any suggestions on what might be the cause of this
>> behavior? Should this in fact work? Any suggestions would be
>> appreciated. Thanks.
>
> I don't see anything in the emacsclient documentation that suggest
> that the emacs server should continue to run after being suspended
> with C-z. Here are two alternatives that do seem to work (but see the
> documentation for much more information):
>
> 1. Start emacs (and the emacs server) in one mintty window and run
> emacsclient in another.
>
> 2. Start emacs with the --daemon option.
>
> Ken
>
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
Ken,
Thank you, the --daemon option is what I was looking for, it worked
perfectly. Thanks.
--
Nick Parker
www.developernotes.com
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-21 20:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-21 17:57 emacsclient problem Nick Parker
2011-02-21 20:26 ` Ken Brown
2011-02-21 20:47 ` Nick Parker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).