From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Olivier Berger <olivier.berger@telecom-sudparis.eu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Colorization/masking of @@html: @@ in emacs editing mode ?
Date: Mon, 20 Apr 2015 12:43:21 -0400 [thread overview]
Message-ID: <m2fv7ueonq.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <87zj630ztt.fsf@inf-11879.int-evry.fr>
If you can define a regexp for those snippets, you can colorize them
like this, even getting a click function:
http://kitchingroup.cheme.cmu.edu/blog/2015/03/18/Clickable-links-for-Twitter-handles-in-Emacs/
This isn't all that portable, as others would need your code for the
colorization, but it might serve your needs.
Olivier Berger writes:
> Hi.
>
> The '@@html:...@@' markers allow to embed raw HTML. Unfortunately, they
> are not rendered in any special way in the Emacs editing mode, AFAIU.
>
> It would be interesting, I think, to be able to colorize them, and/or
> mask them somehow visually, to not clutter the plain org editing.
>
> I haven't found instructions for reporting feature requests for org, so
> feel free to direct me to a more appropriate venue.
>
> Hope ths helps.
>
> Best regards,
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
prev parent reply other threads:[~2015-04-20 16:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-20 12:05 Colorization/masking of @@html: @@ in emacs editing mode ? Olivier Berger
2015-04-20 16:43 ` John Kitchin [this message]
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=m2fv7ueonq.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=olivier.berger@telecom-sudparis.eu \
/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).