* 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/)]
@ 2013-09-08 2:54 Diogo F. S. Ramos
2013-09-13 6:03 ` Carsten Dominik
2013-09-13 6:37 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Diogo F. S. Ramos @ 2013-09-08 2:54 UTC (permalink / raw)
To: emacs-orgmode
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/>
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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/)]
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
2013-09-13 6:37 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2013-09-13 6:03 UTC (permalink / raw)
To: Diogo F. S. Ramos; +Cc: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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/)]
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
@ 2013-09-13 6:37 ` Carsten Dominik
2013-09-13 13:25 ` Diogo F. S. Ramos
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2013-09-13 6:37 UTC (permalink / raw)
To: Diogo F. S. Ramos; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 838 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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/)]
2013-09-13 6:37 ` Carsten Dominik
@ 2013-09-13 13:25 ` Diogo F. S. Ramos
0 siblings, 0 replies; 4+ messages in thread
From: Diogo F. S. Ramos @ 2013-09-13 13:25 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
> 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,
Hello Dominik.
> first of all, this works out of the box with my current Org version.
Uh. That's odd. Maybe you are not using the same version of me? I'm
using the org-version shipped with Emacs 24.3.1.
> 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'.
You are right.
I was aware of it though so that's why I specifically wrote "typing".
I think the "%20" is added because org-mode thinks this is an url, which
it is not.
But either way, can you open the file using C-c C-o? I suspect that
with the repair it's even harder now to open it.
> Third: I never put spaces into file names :)
That's a sensible thing to do.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-13 13:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-09-13 6:37 ` Carsten Dominik
2013-09-13 13:25 ` Diogo F. S. Ramos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.