all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: setenv and find-file
Date: Mon, 20 May 2013 11:42:41 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9828F7A884@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <83sj1krbb6.fsf@gnu.org>

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?




  reply	other threads:[~2013-05-20 11:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-17 15:29 setenv and find-file Doug Lewan
2013-05-17 19:14 ` Peter Dyballa
2013-05-17 20:52   ` andrea crotti
2013-05-17 21:07   ` Doug Lewan
2013-05-18  7:34     ` Eli Zaretskii
2013-05-20 11:42       ` Doug Lewan [this message]
2013-05-20 12:04         ` setenv and find-file (I take it back.) Doug Lewan
2013-05-18 10:07     ` setenv and find-file Peter Dyballa
     [not found]     ` <mailman.27.1368871635.22516.help-gnu-emacs@gnu.org>
2013-05-18 11:36       ` Barry Margolin
2013-05-18 18:09         ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA9828F7A884@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.