GNU bug report logs - #23019
parse-partial-sexp doesn't output the full state needed for its continuance.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Tue, 15 Mar 2016 09:12:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 23019 <at> debbugs.gnu.org
Subject: bug#23019: parse-partial-sexp doesn't output the full state needed for its continuance.
Date: Fri, 18 Mar 2016 15:22:18 +0000
Hello again, Stefan.

On Fri, Mar 18, 2016 at 03:11:55PM +0000, Alan Mackenzie wrote:

> Done.

> > - change element 10 so it's nil if the last char was an "end of
> >   something".  Another way to look at it, is that the element 10 should
> >   only be non-nil if the "next lexeme" might start on that
> >   previous character.

[ .... ]

> How about this idea: element 10 will record the syntax of the previous
> character ONLY when it is potentially the first character of a two
> character comment delimiter, otherwise it'll be nil.  At least that's
> being honest about what the thing's being used for.

That's exactly what you suggested.  Apologies for not reading your post
a bit more carefully.  I think we're agreed, then.  I'll implement it.

> >         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 9 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.