From: Carsten Dominik <dominik@science.uva.nl>
To: zhang yunfeng <zhangyunfeng@gmail.com>
Cc: orgmode-maillist <emacs-orgmode@gnu.org>
Subject: Re: open link failed
Date: Tue, 16 Jan 2007 07:51:33 +0100 [thread overview]
Message-ID: <0e9cdfea8e4976b02dee995e9279e719@science.uva.nl> (raw)
In-Reply-To: <4ff46d8f0612242032r7541c3f5h621d4ae5882053c3@mail.gmail.com>
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 ("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
>
> _______________________________________________
> 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
prev parent reply other threads:[~2007-01-16 8:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-25 4:32 open link failed zhang yunfeng
2007-01-16 6:51 ` Carsten Dominik [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0e9cdfea8e4976b02dee995e9279e719@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=zhangyunfeng@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).