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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 55798 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#55798: font-lock-fontify-syntactically-region uses point without initializing it.
Date: Sun, 05 Jun 2022 21:07:30 +0200
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?  Hm...  reading the code now, and I'm not quite sure whether
it's guaranteed to do so or not, really, so perhaps there is a bug here
in some cases.  I've added Stefan to the CCs; perhaps he has a comment
here.

> Sorry for the false bug report.  I'll close it as notabug (assuming you
> haven't done this already.)

No, haven't done so.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.