emacs-devel
[Top][All Lists]
Advanced

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

Re: Fix to handling of C++ digit separators, improvements in handling of


From: Alan Mackenzie
Subject: Re: Fix to handling of C++ digit separators, improvements in handling of single quotes.
Date: Sun, 2 Jul 2017 13:05:43 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Noam.

On Sat, Jul 01, 2017 at 23:35:41 -0400, Noam Postavsky wrote:
> On Sat, Jul 1, 2017 at 12:10 PM, Alan Mackenzie <address@hidden> wrote:
> > The code involved is moderately involved, with special cases needed to
> > handle things like '\'', '\\', or char foo [] = {',',',',',',','};.  So
> > if there are any problems with it (in particular, large areas of text
> > following a quotey bit getting misfontified with font-lock-string-face),
> > please let me know.

> I think this change breaks tests/lisp/electric-tests.el, here's a
> reduced test case (backtrace attached)

> (with-temp-buffer
>   (c++-mode)
>   (insert " (((()) ")
>   (goto-char 4)
>   (insert ")"))

This should be fixed, now.

Obviously, I should have run the test myself.  I'll be doing this in the
future.

Thanks for reporting the bug to me in such an easy to digest way.  :-)

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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