emacs-devel
[Top][All Lists]
Advanced

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

Re: A simple solution to "Upcoming loss of usability ..."


From: Dmitry Gutov
Subject: Re: A simple solution to "Upcoming loss of usability ..."
Date: Fri, 26 Jun 2015 01:52:57 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/26/2015 01:41 AM, Paul Eggert wrote:

No straightforward conversion will work, I'm afraid.

The logic can follow along the lines of the new parts in substitute-command-keys.

It has been established already that we need an escaping syntax, too.

Sorry, I'm not following.  This would be a new escape syntax for Elisp
strings? How would it work?

In short, via re-search-foward, followed by compose-region.

For example, would \` and \' have
different meaning in strings than they do in character literals?

No. That would be nice, but more or less impossible to implement.

I think we could use "\\", though. Or else, something like "\\=", although that exact sequence is already taken (substitute-command-keys would eat it).

When
exactly would these escapes be transformed to user-preferred quote
characters?

During buffer fontification.



reply via email to

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