Open an arbitrary Org file (with a couple of headings) and add it to org-agenda-files.
Change the window configuration so that the Org file is not visible.
Call consult-org-agenda, navigate to a heading and cancel out via C-g.
When switching back to to the Org file, one sees that the position of point has moved,
despite having canceled the command.
Note that when the buffer is visible, the point is correctly restored after pressing C-g.
Open an arbitrary Org file (with a couple of headings) and add it to
org-agenda-files
. Change the window configuration so that the Org file is not visible. Callconsult-org-agenda
, navigate to a heading and cancel out via C-g. When switching back to to the Org file, one sees that the position of point has moved, despite having canceled the command. Note that when the buffer is visible, the point is correctly restored after pressing C-g.Tested on Emacs 29.1 (Linux).