unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: "Wedler, Christoph" <christoph.wedler@sap.com>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Clarification needed: syntax-propertize vs font-lock-syntax-table
Date: Wed, 18 Nov 2015 20:37:15 +0200	[thread overview]
Message-ID: <564CC55B.4060102@yandex.ru> (raw)
In-Reply-To: <F9C2521BBF380A4A97379009991555E699354F9D@DEWDFEMB17C.global.corp.sap>

On 11/18/2015 08:06 PM, Wedler, Christoph wrote:

>   * Solution 1: the font-lock syntax table must not differ too much from
>     the normal syntax table, i.e., the function in

I think this is the current consensus. It shouldn't differ in paren, 
comment or string syntax. IOW, it should be syntax-ppss-compatible with 
the main one.

>     syntax-propertize-function should behave the same.  If so, it should
>     be probably documented.

It should.

> Any other ideas?

Support different syntax tables in different parts of the buffer. That 
must be a part of our eventual multi-major-mode solution.



  reply	other threads:[~2015-11-18 18:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 18:06 Clarification needed: syntax-propertize vs font-lock-syntax-table Wedler, Christoph
2015-11-18 18:37 ` Dmitry Gutov [this message]
2015-11-20 18:24   ` Wedler, Christoph
2015-11-20 18:39     ` Dmitry Gutov
2015-11-23 17:05       ` Wedler, Christoph
2015-11-23 19:01         ` Dmitry Gutov
2015-11-24  8:58           ` Wedler, Christoph
2015-11-24 11:35             ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=564CC55B.4060102@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=christoph.wedler@sap.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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