emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Can't create org-link to heading containing an ampersand
@ 2019-01-05  3:55 Joseph Lloyd
  2019-01-06 23:34 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Lloyd @ 2019-01-05  3:55 UTC (permalink / raw)
  To: emacs-orgmode

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I have the following heading:

* Example & Test

When I create the following link to it, I expect it to navigate to the heading when I call org-open-at-point (C-c C-o):
[[Example & Test][Example & Test]]

Instead, calling org-open-at-point offers to create a new heading. If I say yes, a new heading is created, but calling org-open-at-point again on the link offers to create another heading identical to the first that was created.

I have org-link-search-must-match-exact-headline set to ‘query-to-create.

It appears that the ampersand is not being found in the heading search.

Emacs  : GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511))
 of 2018-05-30
Package: Org mode version N/A (N/A @ /Users/joseph/.local/src/org-mode/lisp/)

Regards,

Joseph

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

* Re: Bug: Can't create org-link to heading containing an ampersand
  2019-01-05  3:55 Bug: Can't create org-link to heading containing an ampersand Joseph Lloyd
@ 2019-01-06 23:34 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-01-06 23:34 UTC (permalink / raw)
  To: Joseph Lloyd; +Cc: emacs-orgmode

Hello,

Joseph Lloyd <josarlo84@gmail.com> writes:

> I have the following heading:
>
> * Example & Test
>
> When I create the following link to it, I expect it to navigate to the heading when I call org-open-at-point (C-c C-o):
> [[Example & Test][Example & Test]]
>
> Instead, calling org-open-at-point offers to create a new heading. If
> I say yes, a new heading is created, but calling org-open-at-point
> again on the link offers to create another heading identical to the
> first that was created.

I cannot reproduce it. Please update Org, or fix its installation (see below).

> Package: Org mode version N/A (N/A @
> /Users/joseph/.local/src/org-mode/lisp/)

This looks dubious.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2019-01-06 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-05  3:55 Bug: Can't create org-link to heading containing an ampersand Joseph Lloyd
2019-01-06 23:34 ` Nicolas Goaziou

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