emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to hyperlink a file whose name has `space' ?
@ 2009-08-29  8:49 waterloo
  2009-08-29 12:31 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: waterloo @ 2009-08-29  8:49 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 111 bytes --]

`file:' can link a file on disk .

But my file's name has `space' in it .

How to hyperlink that file?

Thanks

[-- Attachment #1.2: Type: text/html, Size: 145 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to hyperlink a file whose name has `space' ?
  2009-08-29  8:49 How to hyperlink a file whose name has `space' ? waterloo
@ 2009-08-29 12:31 ` Nick Dokos
  2009-08-29 13:07   ` Matt Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2009-08-29 12:31 UTC (permalink / raw)
  To: waterloo; +Cc: emacs-orgmode

waterloo <waterloo2005@gmail.com> wrote:

> `file:' can link a file on disk .
> 
> But my file's name has `space' in it .
> 
> How to hyperlink that file?
> 

Hex-encode the space (or other special characters):

[[file:/path/to/foo%20bar][foo bar]]

Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to hyperlink a file whose name has `space' ?
  2009-08-29 12:31 ` Nick Dokos
@ 2009-08-29 13:07   ` Matt Lundin
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Lundin @ 2009-08-29 13:07 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode, waterloo

Nick Dokos <nicholas.dokos@hp.com> writes:

> waterloo <waterloo2005@gmail.com> wrote:
>
>> `file:' can link a file on disk .
>> 
>> But my file's name has `space' in it .
>> 
>> How to hyperlink that file?
>> 
>
> Hex-encode the space (or other special characters):
>
> [[file:/path/to/foo%20bar][foo bar]]
>

And if you want this to happen automatically, you can create the link by
calling org-insert-link with a prefix argument (C-u C-c C-l). This will
provide an interactive prompt for navigating to the file.

- Matt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-29 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-29  8:49 How to hyperlink a file whose name has `space' ? waterloo
2009-08-29 12:31 ` Nick Dokos
2009-08-29 13:07   ` Matt Lundin

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).