emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Win Treese <treese@acm.org>
To: Emacs-orgmode@gnu.org
Subject: open link in source code block
Date: Fri, 4 Jan 2019 19:38:35 -0500	[thread overview]
Message-ID: <8585C713-3A24-4FE3-A187-A4587F3ADC97@acm.org> (raw)

I suspect that this has come up before, but I couldn’t find anything about it in the mailing list archives.

Suppose I have the following Org file contents:

* test
#+BEGIN_SRC emacs-lisp
(setq yyy 3)
;; See https://www.gnu.org
#+END_SRC

The URL for gnu.org is highlighted as a clickable link. But if I click it, the source block is evaluated. This seems rather unexpected, especially since my intention was to open the link.

I don’t know if this is a bug or if it’s the intended behavior. Or if there is a setting I have missed.

Version information: Aquamacs 3.5 on Mac OS 10.13.6, based on Emacs 25.3.50.1, Org version 9.2. Started Aquamacs with -q, then ran (package-initialize) so that it would find the current MELPA version of Org. No other configuration code was run.

Thanks for any insight.

Win Treese
treese@acm.org

             reply	other threads:[~2019-01-05  0:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-05  0:38 Win Treese [this message]
2019-01-05 10:25 ` open link in source code block Eric S Fraga
2019-01-05 15:41   ` Win Treese
2019-01-12  0:12     ` Berry, Charles
2019-01-16 23:43       ` Win Treese
2019-01-17 18:38         ` Berry, Charles
2019-01-18  2:05           ` Win Treese

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=8585C713-3A24-4FE3-A187-A4587F3ADC97@acm.org \
    --to=treese@acm.org \
    --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).