emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Diogo F. S. Ramos" <diogofsr@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Can't follow a link to a relative html filename with a whitespace [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]
Date: Fri, 13 Sep 2013 08:03:28 +0200	[thread overview]
Message-ID: <658A45E5-D679-41FB-8B3F-CA34AFFB709B@gmail.com> (raw)
In-Reply-To: <87mwnokopj.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]


On 8.9.2013, at 04:54, Diogo F. S. Ramos <diogofsr@gmail.com> wrote:

> 1. touch a file as `/tmp/bar baz.html'
> 2. Visit `/tmp/foo.org'
> 3. Link to the HTML file typing [[file:bar baz.html]]
> 4. Try following the link with C-c C-o
> 
> * Expected
> 
> Open the file inside a browser
> 
> * Happens
> 
> Two urls are open inside the browser: <file:///tmp/bar> and
> <http://www.baz.html/>


Hi Ramos,

first of all, this works out of the box with my current Org version.
Second, the link should look like this

 [[file:bar%20baz.html][file:bar baz.html]]

Org makes it look like this when you insert the link using the proper Org commands to do so.  It also repairs  the link when you put the Cursor on it and press `C-c C-l RET RET'.

Third:  I never put spaces into file names :)

Regards

- Carsten


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2013-09-13  6:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-08  2:54 Bug: Can't follow a link to a relative html filename with a whitespace [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] Diogo F. S. Ramos
2013-09-13  6:03 ` Carsten Dominik [this message]
2013-09-13  6:37 ` Carsten Dominik
2013-09-13 13:25   ` Diogo F. S. Ramos

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=658A45E5-D679-41FB-8B3F-CA34AFFB709B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=diogofsr@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).