Hello, "Adriane Würfl" <adriane.wue...@gmx.at> 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. WDYT? -- Nicolas Goaziou