This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Emacs takes 100% CPU


Ken Brown wrote:

> On 7/25/2007 2:52 PM, René Berber wrote:
>> Nicolas Saunier wrote:
>>
>> [snip]
>>> I am using emacs with output to X11, and there is no error about not
>>> finding a display. It just crashes rightaway, but often works at the
>>> second try.
>>
>> Things may improve if you use cygserver and env. var. "CYGWIN=server".

I forgot to say: and restart X11.

> Can you elaborate on this?  I've looked at the documentation for
> cygserver and can't see why it would be relevant.  I confess, however,
> that I didn't understand much of the documentation beyond the first
> paragraph.  The latter says:
> 
>   Cygserver is a program which is designed to run as a background service.
>   It provides Cygwin applications with services which require security
>   arbitration or which need to persist while no other cygwin application
>   is running.
> 
> Does emacs require such services?

X11 improves with cygserver running, emacs might improve, I'm not sure since I
have not tested without cygserver.

If you currently don't run cygserver you can see in the X startup log
(/tmp/XWin.log) a warning about IPC not being present and something else (I
don't have the problem so I can't see it, just remember it).
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]