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 (I take it back.) Date: Mon, 20 May 2013 12:04:12 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA9828F7A908@DAKIYA1.pegasus.local> References: <155DEC68569B714B86C2C7075F5EDA9828F794FC@DAKIYA1.pegasus.local> <8089B172-1D9F-4ACA-83B0-92FABA47BD5B@Web.DE> <155DEC68569B714B86C2C7075F5EDA9828F7A60D@DAKIYA1.pegasus.local> <83sj1krbb6.fsf@gnu.org> <155DEC68569B714B86C2C7075F5EDA9828F7A884@DAKIYA1.pegasus.local> 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 1369051482 2642 80.91.229.3 (20 May 2013 12:04:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 12:04:42 +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 14:04:42 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 1UeOpV-0004iF-RU for geh-help-gnu-emacs@m.gmane.org; Mon, 20 May 2013 14:04:41 +0200 Original-Received: from localhost ([::1]:39217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeOpV-0004qR-EI for geh-help-gnu-emacs@m.gmane.org; Mon, 20 May 2013 08:04:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeOpK-0004qJ-KD for help-gnu-emacs@gnu.org; Mon, 20 May 2013 08:04:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeOpH-0006pK-Nb for help-gnu-emacs@gnu.org; Mon, 20 May 2013 08:04:30 -0400 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:1983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeOmW-0005vL-DD for help-gnu-emacs@gnu.org; Mon, 20 May 2013 08:01:36 -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 08:04:13 -0400 Thread-Topic: setenv and find-file (I take it back.) Thread-Index: AQHOVVIkBW7uY7dcjkSBLcD3fgudwA== In-Reply-To: <155DEC68569B714B86C2C7075F5EDA9828F7A884@DAKIYA1.pegasus.local> 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:90923 Archived-At: I take it back. I can't reproduce this on AIX anymore. Sorry for the troubl= e. :( ,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 Do= ug Lewan Sent: Monday, 2013 May 20 07:43 To: help-gnu-emacs@gnu.org Subject: RE: setenv and find-file 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?