From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: `#` in org mode links doesn't open correctly?
Date: Tue, 08 Apr 2014 15:11:47 +0200 [thread overview]
Message-ID: <8738ho0xv0.fsf@gmail.com> (raw)
In-Reply-To: CAHa53uw4z5nsXske8CV8N8HzxwP3icNpxLChaEFkQgST7svjug@mail.gmail.com
Tim Visher <tim.visher@gmail.com> writes:
> On Tue, Apr 8, 2014 at 3:51 AM, Thorsten Jolitz <tjolitz@gmail.com> wrote:
>> Tim Visher <tim.visher@gmail.com> writes:
>>
>>> I'm putting together a reading list file for SICP and I'm linking
>>> directly to the HTML version of the book.
>>>
>>> Many of the links include target data with them (i.e.
>>> `link#some-target`) and when I call `org-open-at-point` it corrupts
>>> the link by incorrectly converting `#` to `%23`.
>>>
>>> How can I get this to behave properly?
>>
>> I just switched to outorg and used C-c C-l to insert this link with
>> Org-mode:
>>
>> [[http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%25_sec_1.1.5][SICP-LINK]]
>>
>> which looks like this when copied from w3m:
>>
>> ,-------------------------------------------------------------------------
>> |
>> http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.5
>> `-------------------------------------------------------------------------
>>
>> but the Org link, besided being modified, works with org-open-at-point
>> or w3m-browse-url for me, so it does not really seem to be corrupted?
>
> What do you mean, 'besides being modified'?
I mean that the link inserted by Org is not exactly the same as the url
you get from emacs-w3m, as you can see in the examples given above.
> I'm on `GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0)`. Any chance
> you're on a more recent version and this is a bug that was fixed? I
> just confirmed that if I drop into fundamental mode and directly use
> browse-url-at-point, the behavior still happens.
#+begin_src emacs-lisp
(call-interactively 'org-version)
#+end_src
#+results:
: Org-mode version 8.2.5h (release_8.2.5h-883-ga36dde @ /usr/share/emacs/24.3/lisp/org/lisp/)
#+begin_src emacs-lisp
(emacs-version)
#+end_src
#+results:
: GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7)
: of 2014-01-28 on var-lib-archbuild-extra-x86_64-juergen
so we have the same version.
> I'm using Chrome as my browser.
I use (emacs-)w3m.
Maybe somebody else can try the link above produced by Org-mode?
--
cheers,
Thorsten
next prev parent reply other threads:[~2014-04-08 13:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 2:06 `#` in org mode links doesn't open correctly? Tim Visher
2014-04-08 7:51 ` Thorsten Jolitz
2014-04-08 12:53 ` Tim Visher
2014-04-08 13:11 ` Thorsten Jolitz [this message]
2014-04-08 13:41 ` Tim Visher
2014-04-08 14:16 ` Thorsten Jolitz
2014-04-14 17:33 ` Tim Visher
2014-04-15 9:08 ` Thorsten Jolitz
[not found] <mailman.19188.1396922831.10748.help-gnu-emacs@gnu.org>
2014-04-08 14:11 ` Rusi
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738ho0xv0.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=help-gnu-emacs@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.
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).