From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55798: font-lock-fontify-syntactically-region uses point without initializing it. Date: Sun, 05 Jun 2022 21:07:30 +0200 Message-ID: <87bkv7yln1.fsf@gnus.org> References: <87fskj2nq0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6074"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55798@debbugs.gnu.org, Stefan Monnier To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 05 21:08:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxvbf-0001QN-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jun 2022 21:08:12 +0200 Original-Received: from localhost ([::1]:42876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxvbe-0003xj-5O for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jun 2022 15:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxvbW-0003xG-U8 for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 15:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxvbW-0006fF-Lw for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 15:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxvbW-0003zM-Gl for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 15:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jun 2022 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55798 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 55798-submit@debbugs.gnu.org id=B55798.165445606415305 (code B ref 55798); Sun, 05 Jun 2022 19:08:02 +0000 Original-Received: (at 55798) by debbugs.gnu.org; 5 Jun 2022 19:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:33484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxvbE-0003yn-3y for submit@debbugs.gnu.org; Sun, 05 Jun 2022 15:07:44 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:59780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxvbB-0003yZ-Hb for 55798@debbugs.gnu.org; Sun, 05 Jun 2022 15:07:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z8xMPVRmg5t8BxTY6OGTAUO/yEYUWBvw1eTBZz6vYMw=; b=X8X0tU9KzW5Ish0s0CbV5zOAJ0 qWkowkLFbC7rFNcmqUC1kaPGz1n/ta6bwnW0qLnIax6QImXbUyMHNsuvPSGTyeqawg6Uj0Gmgu76H h65Zyobe8IFiLgsrQO9lInyofZiKGhDGUWxUCcrmyCCvBYwEo0bvQFwYCdF745nTMTr8=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxvb1-0005GW-Eu; Sun, 05 Jun 2022 21:07:33 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEVmV2psX3BSRFZE N0t0cIinm6bFucDXzdL9/f2FeIivhGg9M0YbFRj///8oQUReAAAAAWJLR0QN9rRh9QAAAAd0SU1F B+YGBRMEIPU1r0gAAAGkSURBVDjLbZOxUsJAEIYvZijoIANFOhA7G+TKNOpgDzMGsHckPADKC5hc CQXM0CmP4JX3CL6Uu3e5vTthi8yQL7v/7r8LY20dyXUYnLFIgxa9GnAdjLF2Cx4RfcoJMA0G3Psc wT0zEfMw2AOBfv6WJ+fgqrERQpTbM5AWAmNtc9g4PXbGu/FxJkxMbbvf++d0l+azTQ1sCvtirajN or0FVgUARmQrUa0adJcE1nGtocG+IPCZZA44CSGqiQGnHpIn4YARYacfsG50uADwOQyBQvCLwM8Q AfA0xKsPukEG98DmrJTUoOGBFY6umLHsxk0OniiZXQLoibKgv/DAY6YIDOcOlNtMUSm/rWrrlfJr gb2ZK3UIfCeNplug1pAG6PE+KKW0XY2ahXif9A7eHDXoLl9iry+YnNt20bCmBWgizYGgoIvLAmAn WccyzOjP69vNJGRwA0bwHzMAW9Irsl71OnlhrOWYwc80KpAGDSXNavWuFrZZeAXgf7u4WBicE7CT wzaUAZgIfdMOV7EBysQd7bZM8Lc0QHp3VU1vHQiOGm4XSv0BSHWVK7bkJDAAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjItMDYtMDVUMTk6MDQ6MzIrMDA6MDDPKCRZAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIyLTA2LTA1VDE5OjA0OjMyKzAwOjAwvnWc5QAAAABJRU5ErkJggg== X-Now-Playing: 50 Foot Wave's _Power + Light_: "Medicine Rush" In-Reply-To: (Alan Mackenzie's message of "Sun, 5 Jun 2022 18:46:04 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233741 Archived-At: Alan Mackenzie 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