all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Question on syntax-propertize-function
Date: Fri, 07 Jun 2013 20:46:03 -0400	[thread overview]
Message-ID: <jwvtxl9mnxp.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 6ab671c4-d219-4677-9bbc-57bf8358dac0@googlegroups.com

> BTW: you should have the same problem in tuareg.  How do you solve it?

AFAIK we don't.  IIRC the precise commenting rules in OCaml are pretty
subtle, and Tuareg mode doesn't try to obey them all.

> I noticed that when font-lock-mode is disabled, the text is not propertized.
> Is syntax-propertize run only by font-lock or is used also for other purpose?

It is propertized on demand.  So if noone asks for it, it's not run.
When you need it, call syntax-propertize.


        Stefan




      reply	other threads:[~2013-06-08  0:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 19:26 Question on syntax-propertize-function Marco Maggesi
2013-06-06 21:23 ` Stefan Monnier
     [not found] ` <mailman.1117.1370553840.22516.help-gnu-emacs@gnu.org>
2013-06-07  9:13   ` Marco Maggesi
2013-06-08  0:46     ` Stefan Monnier [this message]

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

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

  git send-email \
    --in-reply-to=jwvtxl9mnxp.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.