[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: Linking to plain text [9.3.6 (release_9.3.6-471-g9e385d @ c:/Us

From: Nicolas Goaziou
Subject: Re: Bug: Linking to plain text [9.3.6 (release_9.3.6-471-g9e385d @ c:/Users/awu/.emacs.d/straight/build/org-plus-contrib/)]
Date: Thu, 23 Apr 2020 10:29:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)


"Adriane Würfl" <address@hidden> writes:

> Detailed description:
> I link with M-l to store the link and with C-l to insert it (see below for 
> implementation).
> Normally I press M-l at the top of the .org file and it stores the following 
> link: file:~/Documents/.../filename.org
> If the first line is a empty line it works just like mentioned above and how 
> it's supposed to.
> But now if the first line in the file is plain text (eg jsdlj) it links to 
> file:~/Documents/.../filename.org::jsdlj; a behavior not wanted.
> I thought this is only possible with headings (* Heading); (that's why I 
> avoid using them in the first line of an .org file).
> Is this a bug or a newly added feature?

Neither :) I partly rewrote this part of links recently, but I didn't
add any feature. However, I probably uncovered some previous bugs. 

In this case, it seems to be the correct behaviour: see variable
`org-link-context-for-files' for an explanation and a solution.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]