unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Dynamic highlight in buffer.
@ 2015-07-25 20:04 Dmitry Igrishin
  2015-07-26  8:22 ` Alex Kost
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Igrishin @ 2015-07-25 20:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hello all,

Is it possible to highlight syntax of the different parts of the buffer
differently?
E.g. is it possible to highlight a literal (SQL query) of Lisp (or C)
according to
sql-mode? I.e. is it possible to hint Emacs which highlight rules to apply
to the
concrete part of the buffer?

Thanks.

-- 
// Dmitry.


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

* Re: Dynamic highlight in buffer.
  2015-07-25 20:04 Dynamic highlight in buffer Dmitry Igrishin
@ 2015-07-26  8:22 ` Alex Kost
  2015-08-03 13:52   ` Dmitry Igrishin
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Kost @ 2015-07-26  8:22 UTC (permalink / raw)
  To: Dmitry Igrishin; +Cc: help-gnu-emacs

Dmitry Igrishin (2015-07-25 23:04 +0300) wrote:

> Hello all,
>
> Is it possible to highlight syntax of the different parts of the buffer
> differently?
> E.g. is it possible to highlight a literal (SQL query) of Lisp (or C)
> according to
> sql-mode? I.e. is it possible to hint Emacs which highlight rules to apply
> to the
> concrete part of the buffer?
>
> Thanks.

I heard about <https://github.com/purcell/mmm-mode>.  Perhaps it does
what you want (I've never tried it so I don't know :-)).

-- 
Alex



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

* Re: Dynamic highlight in buffer.
  2015-07-26  8:22 ` Alex Kost
@ 2015-08-03 13:52   ` Dmitry Igrishin
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Igrishin @ 2015-08-03 13:52 UTC (permalink / raw)
  To: Alex Kost; +Cc: help-gnu-emacs

2015-07-26 11:22 GMT+03:00 Alex Kost <alezost@gmail.com>:

> Dmitry Igrishin (2015-07-25 23:04 +0300) wrote:
>
> > Hello all,
> >
> > Is it possible to highlight syntax of the different parts of the buffer
> > differently?
> > E.g. is it possible to highlight a literal (SQL query) of Lisp (or C)
> > according to
> > sql-mode? I.e. is it possible to hint Emacs which highlight rules to
> apply
> > to the
> > concrete part of the buffer?
> >
> > Thanks.
>
> I heard about <https://github.com/purcell/mmm-mode>.  Perhaps it does
> what you want (I've never tried it so I don't know :-)).
>
Thank you, Alex!


-- 
// Dmitry.


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

end of thread, other threads:[~2015-08-03 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-25 20:04 Dynamic highlight in buffer Dmitry Igrishin
2015-07-26  8:22 ` Alex Kost
2015-08-03 13:52   ` Dmitry Igrishin

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