GNU bug report logs - #55798
font-lock-fontify-syntactically-region uses point without initializing it.

Previous Next

Package: emacs;

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

Date: Sat, 4 Jun 2022 19:18:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Alan Mackenzie <acm <at> muc.de>, 55798 <at> debbugs.gnu.org
Subject: Re: bug#55798: font-lock-fontify-syntactically-region uses point
 without initializing it.
Date: Sun, 05 Jun 2022 16:31:06 -0400
Lars Ingebrigtsen [2022-06-05 21:07:30] wrote:
> Alan Mackenzie <acm <at> muc.de> writes:
>> Er, yes, it will.  Somehow I didn't know that syntax-ppss did that.
> The doc string doesn't mention point movements at all, and perhaps it
> should?

Doesn't it say:

    Point is at POS when this function returns.

?


        Stefan





This bug report was last modified 3 years and 45 days ago.

Previous Next


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