From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: setenv and find-file Date: Mon, 20 May 2013 11:42:41 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA9828F7A884@DAKIYA1.pegasus.local> References: <155DEC68569B714B86C2C7075F5EDA9828F794FC@DAKIYA1.pegasus.local> <8089B172-1D9F-4ACA-83B0-92FABA47BD5B@Web.DE> <155DEC68569B714B86C2C7075F5EDA9828F7A60D@DAKIYA1.pegasus.local> <83sj1krbb6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1369050278 22797 80.91.229.3 (20 May 2013 11:44:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 11:44:38 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 20 13:44:35 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UeOW2-0006p4-UQ for geh-help-gnu-emacs@m.gmane.org; Mon, 20 May 2013 13:44:35 +0200 Original-Received: from localhost ([::1]:33542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeOW1-0000Wu-Vs for geh-help-gnu-emacs@m.gmane.org; Mon, 20 May 2013 07:44:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeOVn-0000Wm-Vp for help-gnu-emacs@gnu.org; Mon, 20 May 2013 07:44:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeOVj-0007w8-AN for help-gnu-emacs@gnu.org; Mon, 20 May 2013 07:44:19 -0400 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:34369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeORi-0006on-Dp for help-gnu-emacs@gnu.org; Mon, 20 May 2013 07:40:06 -0400 Original-Received: from dakiya1.pegasus.local ([172.16.208.201]) by DAKIYA1.pegasus.local ([172.16.208.201]) with mapi id 14.01.0339.001; Mon, 20 May 2013 07:42:42 -0400 Thread-Topic: setenv and find-file Thread-Index: Ac5TEv/RempKbKx5SsCGtKToJWVKsAAQTzQAAAUKpaAAFM8cgABkaeYA In-Reply-To: <83sj1krbb6.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90922 Archived-At: 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=3Dshubertticketing.com@gnu.org [mailto:h= elp-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On Behalf Of El= i Zaretskii Sent: Saturday, 2013 May 18 03:34 To: help-gnu-emacs@gnu.org Subject: Re: setenv and find-file > From: Doug Lewan > Date: Fri, 17 May 2013 21:07:51 +0000 >=20 > In shell: > $ echo ${VARIABLE} > /a/very/long/path > $ emacs & > Inside emacs: > C-x C-f ${VARIABLE}/to/work <=3D=3D Finds "/a/very/lon= g/path/to/work". > (setenv "VARIABLE" "/shorter/path") > =3D> "/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 so= rt of expect it to find "/shorter/path/to/Grandmothers/house". I cannot reproduce this. What version of Emacs is this, and on what OS?