emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Colorization/masking of @@html: @@ in emacs editing mode ?
@ 2015-04-20 12:05 Olivier Berger
  2015-04-20 16:43 ` John Kitchin
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Berger @ 2015-04-20 12:05 UTC (permalink / raw)
  To: emacs-orgmode

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,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Colorization/masking of @@html: @@ in emacs editing mode ?
  2015-04-20 12:05 Colorization/masking of @@html: @@ in emacs editing mode ? Olivier Berger
@ 2015-04-20 16:43 ` John Kitchin
  0 siblings, 0 replies; 2+ messages in thread
From: John Kitchin @ 2015-04-20 16:43 UTC (permalink / raw)
  To: Olivier Berger; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-20 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 12:05 Colorization/masking of @@html: @@ in emacs editing mode ? Olivier Berger
2015-04-20 16:43 ` John Kitchin

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