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


Message #50 received at 23019 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 23019 <at> debbugs.gnu.org
Subject: Re: bug#23019: parse-partial-sexp doesn't output the full state
 needed for its continuance.
Date: Sat, 19 Mar 2016 17:06:24 +0000
Hello, Stefan.

On Fri, Mar 18, 2016 at 03:36:40PM -0400, Stefan Monnier wrote:

> > OK.  Here's an updated patch which does just that.  Comments would be
> > welcome.

> I'll take a closer look later, thanks.

I found some problems at ends of comments.  The upshot is that
forw_comment must inform scan_sexps_forward, on a failed search, whether
the last character it scanned is still "syntactically live", or whether
that last character's syntax was "used up" in closing or opening a
comment.  On a successful search, that character's syntax is always
"used up" in closing the comment.

Would you like to see the patch again, or should I just commit it?

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).




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

Previous Next


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