unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Alan Mackenzie <acm@muc.de>, 55798@debbugs.gnu.org
Subject: bug#55798: font-lock-fontify-syntactically-region uses point without initializing it.
Date: Sun, 05 Jun 2022 16:31:06 -0400	[thread overview]
Message-ID: <jwva6aqrgze.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87bkv7yln1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 05 Jun 2022 21:07:30 +0200")

Lars Ingebrigtsen [2022-06-05 21:07:30] wrote:
> Alan Mackenzie <acm@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






  reply	other threads:[~2022-06-05 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-04 19:17 bug#55798: font-lock-fontify-syntactically-region uses point without initializing it Alan Mackenzie
2022-06-05 14:23 ` Lars Ingebrigtsen
2022-06-05 18:46   ` Alan Mackenzie
2022-06-05 19:07     ` Lars Ingebrigtsen
2022-06-05 20:31       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-05 20:34         ` Lars Ingebrigtsen
2022-06-06 22:14         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwva6aqrgze.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=55798@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).