* open link failed
@ 2006-12-25 4:32 zhang yunfeng
2007-01-16 6:51 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: zhang yunfeng @ 2006-12-25 4:32 UTC (permalink / raw)
To: orgmode-maillist
[-- Attachment #1.1: Type: text/plain, Size: 689 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1084 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: open link failed
2006-12-25 4:32 open link failed zhang yunfeng
@ 2007-01-16 6:51 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-01-16 6:51 UTC (permalink / raw)
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 ("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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-16 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-25 4:32 open link failed zhang yunfeng
2007-01-16 6:51 ` Carsten Dominik
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).