emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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: Mon, 21 Jul 2014 20:28:28 +0200	[thread overview]
Message-ID: <84egxek1mb.fsf@gmail.com> (raw)
In-Reply-To: 87mwc3c38g.fsf@gmail.com

Nick Dokos <ndokos@gmail.com> writes:
> I don't know whether it's expected (one of these years I really have
> to sit down and learn the syntax).

  I digged a bit further about the "linkification"
of shell:bla and elisp:bla (the same applies
to all protocols listed in `org-link-types'):

  - this type of links is defined by the syntax (see "plain link" in
    defcustom `org-activate-links')
  - syntax seems not to consider the corner-case of tags shell:bla
  - the unwanted link inhibits the function "click on tags => do a search by tags"
  - my workaround: I won't use `elisp' and `shell' in the tags, but `el' and `sh'
  - possible actions could be:
    - change the syntax (backward-incompatible): the regexp for plain
      links should not allow for ":" delimiters
    - or (backward-compatible) change `org-activate-plain-links' so that
      a plain link is not activated if it's inside a tag
    - or (backward-compatible) leave everything as it is now,
      as it's a minor bug (note that the tag search with "C-c \"
      works properly, the problem is just that you can't
      start a search with a mouse click)
  Kindest regards,


  reply	other threads:[~2014-07-21 18:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-20 13:03 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/)] Andrea Rossetti
2014-07-20 18:08 ` Nick Dokos
2014-07-21 18:28   ` Andrea Rossetti [this message]
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:

  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=84egxek1mb.fsf@gmail.com \
    --to=andrea.rossetti@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \


* 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


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