emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Phil Estival <pe@7d.nz>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: [BUG][minor] org-mouse
Date: Wed, 8 Jan 2025 10:22:22 +0100	[thread overview]
Message-ID: <4c6b78ec-ac7a-4b05-ab23-2afcc1ecae1b@7d.nz> (raw)

Org-mouse makes a star followed by a blank space
clickable anywhere, also in source blocks and this triggers the
evaluation of the block or the opening of *Org-Babel Error Output*
or *Org Babel Results*.

emacs -q
org mode v 9.8-pre

file:/tmp/test-org-mouse.org
(require 'org-mouse)
(require 'warnings)
#+begin_src bash
echo "Where is Charlie?" #* <-clicking the star...
#+end_src

...will asks for the evaluation of the block or reopen
the result buffer.

Additionally, I got puzzled by the end of the following sequence.

(org-babel-do-load-languages 'org-babel-load-languages '((shell . t)))
and click the star again
evaluate this bash block on your system ?
this time evaluates, and opens *Org Babel Results* with the
previous results.

If it's clicked once more, it opens again *Org Babel Results* without
running the source (changing the source block, killing the result
buffer and clicking again confirms that). At this point, I'm confused
because this result buffer is also reloaded after a fresh session of
emacs -q ... but I don't know where to look for its source
(rg --hidden Charlie) in /tmp or ~/.emacs or org-persist-directory?
In this case please tell me, where is Charlie?

Phil



                 reply	other threads:[~2025-01-08  9:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c6b78ec-ac7a-4b05-ab23-2afcc1ecae1b@7d.nz \
    --to=pe@7d.nz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).