Citation links appear to break the behaviour of org-return in some 
circumstances.

Minimum working example:

emacs 31.0.50
org 9.7.11

1. Starting from emacs -Q
2. open the file below (<1> and <2> shouldn't be included in the file)
3. evaluate the elisp block to set `org-return-follows-link` to `t`.
4. move point to <1> and press return
   -> fails with "No link found"
   -> pressing space and then pressing return resolves the problem: a space and 
      a newline are inserted
5. move point to <2> and press return
   -> fails with "No link found"
   -> pressing space *does not* resolve the problem: spaces are inserted, but 
      trying to press enter fails with "No link found"
   -> similarly, moving forward by using `org-open-line` and `C-n` I still 
can't 
      insert a newline with <return>
   -> <return> is effectively unusable until I enter text in the buffer

NB: pressing return with point on the citation itself opens the citation in the 
indicated .bib file, as expected.

This seems like a bug, but perhaps I've missed something in configuring the 
citation system. Please help!

- tyler

```
#+bibliography: /home/smithty/texmf/bibtex/bib/plantarum.bib

#+begin_src elisp
  (setq org-return-follows-link t)
#+end_src

#+RESULTS:
: t

[cite:@Yudina_1993]<1> 

* [cite:@Yudina_1993]<2>
```
  



-- 
plantarum.ca

Reply via email to