[Top][All Lists]

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

Re: patch to make emacs proceed if DISPLAY is unreachable

From: Giorgos Keramidas
Subject: Re: patch to make emacs proceed if DISPLAY is unreachable
Date: Tue, 7 Mar 2006 18:15:23 +0200

On 2006-03-07 08:31, "Jan D." <address@hidden> wrote:
>Vivek Dasmohapatra wrote:
>> Hi: In the past, I've had to administer various machines with NFS
>> mounted homedirs, and from time to time when su'ing I've been bitten
>> by the fact that altough DISPLAY was set, emacs couldn't read my
>> .Xauthority file (as it was on NHS). I've had a look at the code, and
>> figure oud what's going on, (I think), and put together this patch to
>> make emacs proceed as if -nw had been supplied if DISPLAY is
>> unreachable for some reason.
> Hmm, I prefer the old behaviour.  I often set DISPLAY to a remote machine
> but forget to fix .Xauthority.  I don't want -nw to happen then, I just
> want Emacs to tell me it can not connect to that display.

How about making this customizable then?

I haven't had the time to look into the DISPLAY initialization parts.
If they are used before .emacs is loaded it may be a bit trickier than
what I initially thought.  But when users may want a diversion from the
default behavior, then a customizable option is what's called for, IMHO :)

- Giorgos

reply via email to

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