From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Igrishin Newsgroups: gmane.emacs.help Subject: Re: Dynamic highlight in buffer. Date: Mon, 3 Aug 2015 16:52:48 +0300 Message-ID: References: <87oaiz2ur0.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1438609988 6515 80.91.229.3 (3 Aug 2015 13:53:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 13:53:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alex Kost Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 03 15:53:08 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZMGAt-00052X-U4 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Aug 2015 15:53:08 +0200 Original-Received: from localhost ([::1]:59278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMGAt-00032m-CM for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Aug 2015 09:53:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMGAc-0002zK-Pp for help-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:52:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMGAb-0007Ke-J5 for help-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:52:50 -0400 Original-Received: from mail-io0-x22e.google.com ([2607:f8b0:4001:c06::22e]:35263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMGAb-0007KN-E5 for help-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:52:49 -0400 Original-Received: by iodd187 with SMTP id d187so144700143iod.2 for ; Mon, 03 Aug 2015 06:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MtbQqlger5EfWTRHoY0/QrcoF0EAYL2veB2oPcJprQo=; b=P1V3ZbBaplBWW+72nfffQRkvXqLQ/rd0HAXqF9we7b/zVeai9n+wz8LU5CzkSuEik5 uMKpMXiEmgkUqEMKjXDSDZCpA3b5N4gYlRN0oH5w6J1XGhRJZR0o5AFe8ZtkpqYHoXK6 kkrk3Wm3RXR3yb2k35Des2bQgwOVGiw6oD+rOKyjaiNGQ3kAID9pfXXsOh8A6oK1COvP p4jAv0XgRimI7nQGGTIiDVdKwsDqm9XX9mnAW1SYvnRBu5GPuGKs6lV06uJ63LwSlU6f EjKJrsexdbyEJowOz8tPK7oW/jRlNV3igkixJ5T32lztIve1m3/tukkI1RxjySVu5voD 40JA== X-Received: by 10.107.33.65 with SMTP id h62mr22405420ioh.11.1438609968637; Mon, 03 Aug 2015 06:52:48 -0700 (PDT) Original-Received: by 10.79.7.87 with HTTP; Mon, 3 Aug 2015 06:52:48 -0700 (PDT) In-Reply-To: <87oaiz2ur0.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c06::22e X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106221 Archived-At: 2015-07-26 11:22 GMT+03:00 Alex Kost : > 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 . Perhaps it does > what you want (I've never tried it so I don't know :-)). > Thank you, Alex! -- // Dmitry.