From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.devel Subject: Re: Combining syntax comment sequences (yaml-mode) Date: Wed, 23 Dec 2015 19:28:17 +0100 Message-ID: <20151223182817.GA780@odonien> References: <20151223104741.GA769@odonien.fritz.box> <87bn9hxwbc.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1450895321 32532 80.91.229.3 (23 Dec 2015 18:28:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Dec 2015 18:28:41 +0000 (UTC) Cc: emacs-devel To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 23 19:28:33 2015 Return-path: Envelope-to: ged-emacs-devel@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 1aBo9I-0005kX-L9 for ged-emacs-devel@m.gmane.org; Wed, 23 Dec 2015 19:28:32 +0100 Original-Received: from localhost ([::1]:57408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBo9H-0003Lh-W5 for ged-emacs-devel@m.gmane.org; Wed, 23 Dec 2015 13:28:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBo9E-0003LP-Io for emacs-devel@gnu.org; Wed, 23 Dec 2015 13:28:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBo99-0005lg-KL for emacs-devel@gnu.org; Wed, 23 Dec 2015 13:28:28 -0500 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:36317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBo99-0005lc-EW for emacs-devel@gnu.org; Wed, 23 Dec 2015 13:28:23 -0500 Original-Received: by mail-wm0-x230.google.com with SMTP id p187so156267191wmp.1 for ; Wed, 23 Dec 2015 10:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=NHlC9Tjh75qEbnik26iLj3mAt3SEc1VzJozeWrVwgVk=; b=QpOv9Yaft3SYRBOYoo3LYP3lzWMxsg26QOujhUpDSuxlTuoIwhiYSSOOBWxHTAixg3 C7BKNqSJN7AKqlndLwmh2/P4BIrN6iGIOznVdMMgfnyW5RNUS1gwz3snOm+8Yg06cKQG NikV38LfY4UjiUF9zN8UJAL+jhTwyA5VC2FJ0mj9aSvBo0xb7jYZ5NDaizSEjHk4N5kM 8H4VOlqyb79Kk3BVYYVod+3mUcXDLv6Bnh4OkZ5QEiTQvdcusNs9GOvWpxVt11U77sHy oo3LJSxIuHym/Y9/QSNPtmoMUjK4gYHPsW1awSqScBmRoZN2DoyBQjOhupH9MAkGysgK P2Mg== X-Received: by 10.28.188.70 with SMTP id m67mr24387981wmf.24.1450895302870; Wed, 23 Dec 2015 10:28:22 -0800 (PST) Original-Received: from localhost ([89.204.154.253]) by smtp.gmail.com with ESMTPSA id u134sm30195691wmd.0.2015.12.23.10.28.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Dec 2015 10:28:22 -0800 (PST) Content-Disposition: inline In-Reply-To: <87bn9hxwbc.fsf@igel.home> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196734 Archived-At: > Very similar to bourne shell syntax, so look at sh-script for hints, > especially sh-syntax-propertize-function. Thanks, I've assumed the only alternative was writing extra fontification and movement functions. If I understand correctly, this is a helper function that applies extra syntax-table properties and can therefore go beyond what a syntax table is able to do?