emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-mouse.el breaks org-open-at-point
@ 2022-12-11  3:26 Matt Lundin
  2022-12-11  9:37 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Lundin @ 2022-12-11  3:26 UTC (permalink / raw)
  To: emacs-orgmode

The org-mouse feature advises org-open-at-point in a way that overrides
the desired behavior of calling "M-x org-open-at-point" on a headline.

See the advice function org--mouse-open-at-point. It seems the intended
behavior of this advice is to allow the user to click on headline stars
and cycle the visibility of an entry. However, there is no test to see
if the user is indeed clicking with a mouse.

As a result, this advice also overrides org-open-at-point even when one
is typing.

- Expected behavior 

  - calling org-open-at-point with the keyboard "C-c C-o" should produce
    a list of links in the entry as advertised in the docstring ("When
    point is on a headline, display a list of every link in the entry,
    so it is possible to pick one, or all, of them.")

- What currently happens if org-mouse has been loaded:

  - calling "C-c C-o" with the keyboard cycles the visibility of the
    entry

Thanks,

Matt


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

end of thread, other threads:[~2022-12-14  8:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-11  3:26 [BUG] org-mouse.el breaks org-open-at-point Matt Lundin
2022-12-11  9:37 ` Ihor Radchenko
2022-12-13 16:08   ` Matt Lundin
2022-12-14  8:05     ` Ihor Radchenko

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