From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: open link failed Date: Tue, 16 Jan 2007 07:51:33 +0100 Message-ID: <0e9cdfea8e4976b02dee995e9279e719@science.uva.nl> References: <4ff46d8f0612242032r7541c3f5h621d4ae5882053c3@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6jzZ-00066C-0w for emacs-orgmode@gnu.org; Tue, 16 Jan 2007 03:48:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6jzT-00064K-Gz for emacs-orgmode@gnu.org; Tue, 16 Jan 2007 03:48:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6jzS-00063j-A7 for emacs-orgmode@gnu.org; Tue, 16 Jan 2007 03:48:22 -0500 Received: from [149.217.40.2] (helo=mailer.mpia-hd.mpg.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H6jzR-0003EM-S2 for emacs-orgmode@gnu.org; Tue, 16 Jan 2007 03:48:22 -0500 In-Reply-To: <4ff46d8f0612242032r7541c3f5h621d4ae5882053c3@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: zhang yunfeng Cc: orgmode-maillist Any windows users out here that can try to replicate this? I looked at the code, and is *should* expand the "~". - Carsten On Dec 25, 2006, at 5:32, zhang yunfeng wrote: > Hi, I'm using Emacs 22.0.90.1 and org-mode 4.60 under windows xp. > > When I visit a file "name.txt"in $HOME=A0("d:/home") and=A0use=20 > "org-store-link", the file's location is stored as "~/name.txt". > Then I open my org file to insert the link, it is=20 > [[file:~/name.txt][~/name.txt]]. All these are ok. > > Then=A0if I use "C-c C-o" to open the link,=A0it=A0report = "ShellExecute=20 > failed".=A0It=A0seems=A0windows=A0 = cmd.exe=A0doesn't=A0recognize=A0this=A0path.=A0Using=20 > mouse-1=A0or=A02=A0=A0get=A0the same=A0errors, while=20 > mouse-3=A0is=A0able=A0to=A0open=A0the=A0file=A0in=A0Emacs.=A0 > > If=A0the=A0file=A0stored=A0in=A0link=A0is=A0not=A0located in $HOME, = both "C-c=20 > C-o"=A0and=A0mouse=A01,2,3=A0are ok. > > So, How can I open the link with "C-c C-o" when the file is located in=20= > "~" ?=A0 > > Zhang > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477