[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: setenv and find-file
From: |
Doug Lewan |
Subject: |
RE: setenv and find-file |
Date: |
Mon, 20 May 2013 11:42:41 +0000 |
Eli,
Version and OS? Sorry, I forgot. (And it turns out to be important!)
This funny behavior happens on
emacs version 24.3.1
OS: AIX 6.1
It does NOT happen with on CYGWIN (also emacs version 24.3.1). Hmmmm.
,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224
If the majority of cooking accidents happen in the kitchen, then why don't we
just cook in other rooms?
-----Original Message-----
From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
[mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On Behalf Of
Eli Zaretskii
Sent: Saturday, 2013 May 18 03:34
To: help-gnu-emacs@gnu.org
Subject: Re: setenv and find-file
> From: Doug Lewan <dougl@shubertticketing.com>
> Date: Fri, 17 May 2013 21:07:51 +0000
>
> In shell:
> $ echo ${VARIABLE}
> /a/very/long/path
> $ emacs &
> Inside emacs:
> C-x C-f ${VARIABLE}/to/work <== Finds
> "/a/very/long/path/to/work".
> (setenv "VARIABLE" "/shorter/path")
> => "/shorter/path"
> M-! echo ${VARIABLE}
> "/shorter/path"
> M-x shell
> In shell inside emacs:
> $ echo ${VARIABLE}
> "/shorter/path"
> Back in emacs:
> C-x C-f ${VARIABLE}/to/Grandmothers/house
> This finds the file "/a/very/long/path/to/Grandmothers/house", where I sort
> of expect it to find "/shorter/path/to/Grandmothers/house".
I cannot reproduce this. What version of Emacs is this, and on what
OS?