emacs-devel
[Top][All Lists]
Advanced

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

Re: parenthesis in ps-mode-syntax-table


From: Stefan Monnier
Subject: Re: parenthesis in ps-mode-syntax-table
Date: 15 Mar 2004 08:47:42 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> I wonder why parenthesis specifying string in postscript is not
> in ps-mode-syntax-table. Any strong reason or am I missing something?
[...]
> +  (modify-syntax-entry ?\( "\"" ps-mode-syntax-table)
> +  (modify-syntax-entry ?\) "\"" ps-mode-syntax-table)

The problem is that a (a(b)c) is a single string whereas with your changes
it would be considered as two strings separated by `b'.
If you want to add nestable strings to syntax-tables, you're welcome.
It would be useful in perl-mode as well.


        Stefan




reply via email to

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