all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Please precede all environmental variables with EMACS_
@ 2008-01-07  9:30 Lennart Borgman (gmail)
  2008-01-07 12:54 ` Mike Mattie
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-07  9:30 UTC (permalink / raw)
  To: Emacs Devel

Help! Some megalomanic software has stolen the DISPLAY environmental 
variable so Emacs/Emacs client will not work.

Could please environmental variables specific to Emacs be changed to 
begin with EMACS_ ? For example change DISPLAY to EMACS_DISPLAY.

In my case I have

   DISPLAY=localhost:0.0

Emacs does not recognize that value. Should Emacs recognize it or should 
Emacs use its own variable, named like EMACS_DISPLAY?

FYI, the value of the environmental variable DISPLAY is used by 
Emacs/Emacs client in 23.0.50.1. Emacs does not recognize the value above.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please precede all environmental variables with EMACS_
  2008-01-07  9:30 Please precede all environmental variables with EMACS_ Lennart Borgman (gmail)
@ 2008-01-07 12:54 ` Mike Mattie
  2008-01-08  0:30   ` Lennart Borgman (gmail)
  2008-01-07 17:15 ` Richard Stallman
  2008-01-07 18:20 ` Stefan Monnier
  2 siblings, 1 reply; 5+ messages in thread
From: Mike Mattie @ 2008-01-07 12:54 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 1100 bytes --]

On Mon, 07 Jan 2008 10:30:23 +0100
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:

> Help! Some megalomanic software has stolen the DISPLAY environmental 
> variable so Emacs/Emacs client will not work.
> 
> Could please environmental variables specific to Emacs be changed to 
> begin with EMACS_ ? For example change DISPLAY to EMACS_DISPLAY.
> 
> In my case I have
> 
>    DISPLAY=localhost:0.0
> 
> Emacs does not recognize that value. Should Emacs recognize it or
> should Emacs use its own variable, named like EMACS_DISPLAY?

AFAIK DISPLAY is interpreted by xlib not emacs. localhost is redundant.
DISPLAY=":0.0" is the typical default for a local server. I can't even
think of a Emacs environment variable that isn't prefixed e.g EMACSLOADPATH.

> FYI, the value of the environmental variable DISPLAY is used by 
> Emacs/Emacs client in 23.0.50.1. Emacs does not recognize the value
> above.
> 
> 
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please precede all environmental variables with EMACS_
  2008-01-07  9:30 Please precede all environmental variables with EMACS_ Lennart Borgman (gmail)
  2008-01-07 12:54 ` Mike Mattie
@ 2008-01-07 17:15 ` Richard Stallman
  2008-01-07 18:20 ` Stefan Monnier
  2 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2008-01-07 17:15 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: emacs-devel

    Help! Some megalomanic software has stolen the DISPLAY environmental 
    variable so Emacs/Emacs client will not work.

I think the bug is in the other software.
DISPLAY is the standard convention for specifying the display.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please precede all environmental variables with EMACS_
  2008-01-07  9:30 Please precede all environmental variables with EMACS_ Lennart Borgman (gmail)
  2008-01-07 12:54 ` Mike Mattie
  2008-01-07 17:15 ` Richard Stallman
@ 2008-01-07 18:20 ` Stefan Monnier
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2008-01-07 18:20 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

> Help! Some megalomanic software has stolen the DISPLAY environmental
> variable so Emacs/Emacs client will not work.

> Could please environmental variables specific to Emacs be changed to begin
> with EMACS_ ? For example change DISPLAY to EMACS_DISPLAY.

> In my case I have

>   DISPLAY=localhost:0.0

> Emacs does not recognize that value. Should Emacs recognize it or should
> Emacs use its own variable, named like EMACS_DISPLAY?

> FYI, the value of the environmental variable DISPLAY is used by Emacs/Emacs
> client in 23.0.50.1. Emacs does not recognize the value above.

I have the nagging suspicion that there's a real bug lurking here
somewhere, but the above doesn't help me track it down because I just
don't understand it.

Please write a real bug-report, with the usual recipe starting from
"emacs -Q" explaining what happens when you do something and what you
expected to happen instead.


        Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Please precede all environmental variables with EMACS_
  2008-01-07 12:54 ` Mike Mattie
@ 2008-01-08  0:30   ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-08  0:30 UTC (permalink / raw)
  To: Mike Mattie; +Cc: emacs-devel

Mike Mattie wrote:
> On Mon, 07 Jan 2008 10:30:23 +0100
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:
> 
>> Help! Some megalomanic software has stolen the DISPLAY environmental 
>> variable so Emacs/Emacs client will not work.
>>
>> Could please environmental variables specific to Emacs be changed to 
>> begin with EMACS_ ? For example change DISPLAY to EMACS_DISPLAY.
>>
>> In my case I have
>>
>>    DISPLAY=localhost:0.0
>>
>> Emacs does not recognize that value. Should Emacs recognize it or
>> should Emacs use its own variable, named like EMACS_DISPLAY?
> 
> AFAIK DISPLAY is interpreted by xlib not emacs. localhost is redundant.
> DISPLAY=":0.0" is the typical default for a local server. I can't even
> think of a Emacs environment variable that isn't prefixed e.g EMACSLOADPATH.

Thanks Mike. I should have said that this is on w32.

I have just filed a bug report.

PS: ALTERNATE_EDITOR is not prefixed with EMACS_.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-08  0:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07  9:30 Please precede all environmental variables with EMACS_ Lennart Borgman (gmail)
2008-01-07 12:54 ` Mike Mattie
2008-01-08  0:30   ` Lennart Borgman (gmail)
2008-01-07 17:15 ` Richard Stallman
2008-01-07 18:20 ` Stefan Monnier

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.