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: Richard Stallman <rms <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: acm <at> muc.de, larsi <at> gnus.org, 55798 <at> debbugs.gnu.org
Subject: bug#55798: font-lock-fontify-syntactically-region uses point without initializing it.
Date: Mon, 06 Jun 2022 18:14:48 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

      > Point is at POS when this function returns.

That way of saying it could be confusing because it doesn't describe
an action.  It sounds like a coincidence.  Would this be clearer?

     This function finishes by moving point to POS.
-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






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

Previous Next


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