emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] org-insert-link fails on special characters in headlines
@ 2012-12-28  3:58 William Léchelle
  2012-12-28 10:04 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: William Léchelle @ 2012-12-28  3:58 UTC (permalink / raw)
  To: emacs-orgmode

> > it looks like captured links won't take into account header text after < or
> > >, hence capturing links to headlines featuring these will fail, is there a
> > known issue about accepted characters in headlines that I'm not aware of ?

> There should be none, please test master if you can and report any
> problem.

Using org-store-link followed by org-insert-link RET RET fails on the following
headline :

****** TODO Special chars in titles > !
       [[*Special%20chars%20in%20titles%20][Special chars in titles > !]]

The link ignores what follows the greater-than sign (>) and thus the inserted
link is still-broken.

Prior to this, I had some working tests with <, it seems both < and > are
treated differently.

--

On Mon, 24 Dec 2012 01:56:24 +0100, Bastien spake thus:
> > I suggest the priority is removed from the captured link.
> This is now the case in master, it will be part of 8.0.
Great :)

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

* Re: [bug] org-insert-link fails on special characters in headlines
  2012-12-28  3:58 [bug] org-insert-link fails on special characters in headlines William Léchelle
@ 2012-12-28 10:04 ` Bastien
  2013-01-05 23:09   ` William Léchelle
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2012-12-28 10:04 UTC (permalink / raw)
  To: William Léchelle; +Cc: emacs-orgmode

Hi William,

William Léchelle <william.lechelle@ens-lyon.fr> writes:

> Using org-store-link followed by org-insert-link RET RET fails on the following
> headline :
>
> ****** TODO Special chars in titles > !
>        [[*Special%20chars%20in%20titles%20][Special chars in titles > !]]
>
> The link ignores what follows the greater-than sign (>) and thus the inserted
> link is still-broken.

Fixed, thanks.

-- 
 Bastien

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

* Re: [bug] org-insert-link fails on special characters in headlines
  2012-12-28 10:04 ` Bastien
@ 2013-01-05 23:09   ` William Léchelle
  2013-01-06  6:45     ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: William Léchelle @ 2013-01-05 23:09 UTC (permalink / raw)
  To: emacs-orgmode

>> is there a known issue about accepted characters in headlines that I'm not
>> aware of ?

> There should be none, please test master if you can and report any
> problem.

Using org-store-link followed by, in another file, org-insert-link RET RET
fails on the following headline : 

* [[http://www.anywho.com/][test]]

with No match - create this as a new heading?

If the link is created in the same file, then it fails by trying to open the
badly parsed url: 
http://www.anywho.com/][test]]
(the desired behavior being to jump to the headline, not following the link).

Shouldn't links be put in titles, or shouldn't titles with links inside them be
linked to ? 

O:-)

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

* Re: [bug] org-insert-link fails on special characters in headlines
  2013-01-05 23:09   ` William Léchelle
@ 2013-01-06  6:45     ` Bastien
  2013-01-14  8:09       ` William Léchelle
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2013-01-06  6:45 UTC (permalink / raw)
  To: William Léchelle; +Cc: emacs-orgmode

Hi William,

William Léchelle <william.lechelle@ens-lyon.fr> writes:

> Using org-store-link followed by, in another file, org-insert-link RET RET
> fails on the following headline : 
>
> * [[http://www.anywho.com/][test]]
>
> with No match - create this as a new heading?

Please try to apply the patch by Samuel and let us know if it fixes
your issue: http://thread.gmane.org/gmane.emacs.orgmode/64203

Thanks!

-- 
 Bastien

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

* Re: [bug] org-insert-link fails on special characters in headlines
  2013-01-06  6:45     ` Bastien
@ 2013-01-14  8:09       ` William Léchelle
  2013-01-22 14:40         ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: William Léchelle @ 2013-01-14  8:09 UTC (permalink / raw)
  To: emacs-orgmode

On Sun, 06 Jan 2013 07:45:47 +0100, Bastien spake thus:
> > Using org-store-link followed by, in another file, org-insert-link RET RET
> > fails on the following headline : 
> > * [[http://www.anywho.com/][test]]

> Please try to apply the patch by Samuel and let us know if it fixes
> your issue: http://thread.gmane.org/gmane.emacs.orgmode/64203

I'm getting plenty of awful

> Invalid read syntax: )

even though I cannot be sure it's not just me not being able to apply a patch.

I tried :')

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

* Re: [bug] org-insert-link fails on special characters in headlines
  2013-01-14  8:09       ` William Léchelle
@ 2013-01-22 14:40         ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2013-01-22 14:40 UTC (permalink / raw)
  To: William Léchelle; +Cc: emacs-orgmode

Hi William,

William Léchelle <william.lechelle@ens-lyon.fr> writes:

> I'm getting plenty of awful
>
>> Invalid read syntax: )
>
> even though I cannot be sure it's not just me not being able to
> apply a patch.

Mhh...  I hope that's the case and that Samuel's patch is fine :)

> I tried :')

Yes, thanks!

-- 
 Bastien

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

end of thread, other threads:[~2013-01-22 14:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28  3:58 [bug] org-insert-link fails on special characters in headlines William Léchelle
2012-12-28 10:04 ` Bastien
2013-01-05 23:09   ` William Léchelle
2013-01-06  6:45     ` Bastien
2013-01-14  8:09       ` William Léchelle
2013-01-22 14:40         ` Bastien

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