From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: Dynamic highlight in buffer. Date: Sun, 26 Jul 2015 11:22:43 +0300 Message-ID: <87oaiz2ur0.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1437898984 30803 80.91.229.3 (26 Jul 2015 08:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2015 08:23:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dmitry Igrishin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 26 10:22:58 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 1ZJHCz-0003Rx-5w for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2015 10:22:57 +0200 Original-Received: from localhost ([::1]:49612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJHCy-0001to-54 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2015 04:22:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJHCp-0001th-Tx for help-gnu-emacs@gnu.org; Sun, 26 Jul 2015 04:22:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJHCm-0004b6-Pf for help-gnu-emacs@gnu.org; Sun, 26 Jul 2015 04:22:47 -0400 Original-Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:35434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJHCm-0004ap-Gz for help-gnu-emacs@gnu.org; Sun, 26 Jul 2015 04:22:44 -0400 Original-Received: by lblf12 with SMTP id f12so36803878lbl.2 for ; Sun, 26 Jul 2015 01:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=yqyTy8mHvo7Riyw12KB7593/LSZ4/xI58LVgUR4d7qI=; b=iwWo0R9Cj7f2z87/I2pmLIIHbDVhOM2JeG01DquQy2Yz2w29uHEvq3TToSwZ4OFYI5 MpmKFaSZXPmwi7p18n2MiNiiC1I+JlxxhsdXPBGY9EOY93JJmpkdF8JDJzp2a7+Kwi1t gpa9YQV8W96Du7ACSp4ML//OgMaXQwIB8oV1GSLlC9i+2MWZ+T0BIQUBNZm5iXCvXU69 VU9PSRxP7+zbTLobXblyRP6DNs567PqYE+hsryhl+MvgA0oQt9Z/GQxA4kzfbzsiCINo 9L/adw3RleSVnMabFGEZy2q75MJJnQZJdgBIiS+HxkxnKix98yxTpurS+P7SMAG2M/8s CvTA== X-Received: by 10.112.138.199 with SMTP id qs7mr21508210lbb.21.1437898963378; Sun, 26 Jul 2015 01:22:43 -0700 (PDT) Original-Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id o7sm3033628lbp.9.2015.07.26.01.22.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Jul 2015 01:22:42 -0700 (PDT) In-Reply-To: (Dmitry Igrishin's message of "Sat, 25 Jul 2015 23:04:52 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f 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:105997 Archived-At: 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 :-)). -- Alex