|
From: | Paul Eggert |
Subject: | Re: Change of Lisp syntax for "fancy" quotes in Emacs 27? |
Date: | Tue, 9 Oct 2018 08:30:22 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Noam Postavsky wrote:
deciding which characters are confusable and hence require backslash escaping is based on a shifting mess of heuristics.
No more than the "shifting mess of heuristics" inevitable in any choice of syntax. Quite possibly the confusables list from the Unicode consortium will do. The list won't shift much once it's established.
We can start merely by warning about confusable characters and seeing how often those warnings are triggered in real (as opposed to malicious or purposely-tricky) code. If the warnings are quite rare, in a later Emacs version we can change the manual from "confusable characters should be escaped" to "confusable characters must be escaped".
[Prev in Thread] | Current Thread | [Next in Thread] |