From mboxrd@z Thu Jan 1 00:00:00 1970 From: "zhang yunfeng" Subject: open link failed Date: Mon, 25 Dec 2006 12:32:18 +0800 Message-ID: <4ff46d8f0612242032r7541c3f5h621d4ae5882053c3@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0771851341==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GyhVc-0005DO-R7 for emacs-orgmode@gnu.org; Sun, 24 Dec 2006 23:32:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GyhVb-0005Cn-Am for emacs-orgmode@gnu.org; Sun, 24 Dec 2006 23:32:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GyhVb-0005Ck-3V for emacs-orgmode@gnu.org; Sun, 24 Dec 2006 23:32:19 -0500 Received: from [66.249.82.224] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GyhVa-0003uT-PF for emacs-orgmode@gnu.org; Sun, 24 Dec 2006 23:32:18 -0500 Received: by wx-out-0506.google.com with SMTP id s17so4049332wxc for ; Sun, 24 Dec 2006 20:32:18 -0800 (PST) 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: orgmode-maillist --===============0771851341== Content-Type: multipart/alternative; boundary="----=_Part_63776_15401465.1167021138145" ------=_Part_63776_15401465.1167021138145 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ("d:/home") and use "org-store-link", the file's location is stored as "~/name.txt". Then I open my org file to insert the link, it is [[file:~/name.txt][~/name.txt]]. All these are ok. Then if I use "C-c C-o" to open the link, it report "ShellExecute failed". It seems windows cmd.exe doesn't recognize this path. Using mouse-1 or 2 get the same errors, while mouse-3 is able to open the file in Emacs. If the file stored in link is not located in $HOME, both "C-c C-o" and mouse 1,2,3 are ok. So, How can I open the link with "C-c C-o" when the file is located in "~" ? Zhang ------=_Part_63776_15401465.1167021138145 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ("d:/home") and use "org-store-link", the file's location is stored as "~/name.txt".
Then I open my org file to insert the link, it is [[file:~/name.txt][~/name.txt]]. All these are ok.

Then if I use "C-c C-o" to open the link, it report "ShellExecute failed". It seems windows  cmd.exe doesn't recognize this path. Using mouse-1 or 2  get the same errors, while mouse-3 is able to open the file in Emacs. 

If the file stored in link is not located in $HOME, both "C-c C-o" and mouse 1,2,3 are ok.

So, How can I open the link with "C-c C-o" when the file is located in "~" ? 

Zhang

------=_Part_63776_15401465.1167021138145-- --===============0771851341== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0771851341==--