emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)]
Date: Sun, 20 Jul 2014 15:03:14 +0200	[thread overview]
Message-ID: <84r41gji7h.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]


Hi all,

  when I insert some text like "elisp:sometext" or "shell:sometext"
in an Org buffer, it becomes highlighted and clickable. On click,
a prompt asks for confirm to execute "sometext".

  I get the same behaviour if I add tags to a headline, and one
of the tags is "elisp" or "shell".

  I expected this behaviour when I create links with double square
brackets, but not in default text paragraphs, nor in the tags.
May I please ask for some feedback:

1) did I miss something, and this was expected (at least for default
   text paragraphs)?
2) is this reproducible for some of you as well?

  I attach here a small test case:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test-bug-elisp.org --]
[-- Type: text/x-org, Size: 158 bytes --]

* my elisp tricks collection                            :elisp:andrea:tricks:

I like to write elisp:it is useful.
I seldow use shell:but it's useful as well

[-- Attachment #3: Type: text/plain, Size: 244 bytes --]


  Thanks in advance, kindest regards.

    Andrea

Emacs  : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7600) of 2013-03-17 on MARVIN
Package: Org-mode version 8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)

             reply	other threads:[~2014-07-20 13:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-20 13:03 Andrea Rossetti [this message]
2014-07-20 18:08 ` Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)] Nick Dokos
2014-07-21 18:28   ` Andrea Rossetti
2014-07-27 13:58     ` Bastien

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=84r41gji7h.fsf@gmail.com \
    --to=andrea.rossetti@gmail.com \
    --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).