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: Dynamic highlight in buffer. Date: Sat, 25 Jul 2015 23:04:52 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1437854708 8042 80.91.229.3 (25 Jul 2015 20:05:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jul 2015 20:05:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 25 22:05: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 1ZJ5gv-0000wa-1k for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2015 22:05:05 +0200 Original-Received: from localhost ([::1]:48858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ5gu-0007i1-99 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2015 16:05:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ5gk-0007hq-LX for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 16:04:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJ5gj-00041I-UO for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 16:04:54 -0400 Original-Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]:37323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ5gj-00040b-OZ for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 16:04:53 -0400 Original-Received: by igbpg9 with SMTP id pg9so41922636igb.0 for ; Sat, 25 Jul 2015 13:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4PEq9cQCLg5ttxTHvj+ODRHWHSdXk8A1PAdfYLxbL/Y=; b=J/SameVVB3Dcf3oEAGtjIOZO3Qk7eAW7W1JOpMt1rTqTImVF3XGbQKDyLZDwoXBCBH bhi7r0llksb1AQDYvITt4djfW5jeYiI2iPR13wLme2N5kWFEj5bgHJZ7O21Lzo3uVEC9 m19TuqDR+B+MPcB9kKeYfWh/3AE9GmJ/MofT97Qk0NXCnS5IzOtzBU+dvfIx3wBdwe5L bitssCPLAcsM9xMn4y2uoJhglr/8IZlsAlm49AL40LNgYrbJLDR4H+hK//7Cp/6rujnw zcsl+hNY2ZUCn85yowaH1Ca4z+5d5ZQ0OvlOSv2e6jxRLXEc2HwmyzJlzblB84FvTXET Kx4w== X-Received: by 10.107.17.13 with SMTP id z13mr32286505ioi.97.1437854692678; Sat, 25 Jul 2015 13:04:52 -0700 (PDT) Original-Received: by 10.107.140.16 with HTTP; Sat, 25 Jul 2015 13:04:52 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::233 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:105995 Archived-At: 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.