help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exclamation mark in a syntax table


From: Stefan Monnier
Subject: Re: Exclamation mark in a syntax table
Date: Mon, 22 Jul 2019 16:20:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> but symbol-at-point for !foo still returns !foo. Furthermore, I see no
> way of specifying that a leading ! is an expression prefix but in any
> other place it is a symbol constituent.

You can try a syntax like "_ p".  But it all depends on the details of
what you really want/need.  There's a good chance you'll need to use
syntax-propertize-function to give different syntaxes to those
different cases.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]