all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: hello@mattplm.fr
Cc: 59679-done@debbugs.gnu.org
Subject: bug#59679: 29.0.50; python + tree-sitter: Syntax highlighting is sometimes wrong with multi line docstrings
Date: Thu, 1 Dec 2022 21:08:16 -0800	[thread overview]
Message-ID: <12F6662A-67B3-4CD9-ADE3-56F90F191512@gmail.com> (raw)
In-Reply-To: <d87a046f-ee8c-0a1c-2a12-a5f033a3f3e7@mattplm.fr>


Matthias Paulmier <hello@mattplm.fr> writes:

> On 30/11/2022 12:06, Matthias Paulmier wrote:
>>
>>> Hmmm, it seems the tabs in the code throws tree-sitter off and makes it
>>> parse incorrectly. But I’m not sure if the tabs are in your code or they
>>> are added by the email provider. Do you expect the code to contain tabs?
>>
>> Hello Yuan,
>>
>> Thank you for looking at the issue.
>>
>> The actual file doesn't contain any tabs (they are 4 spaces indent),
>> must be my email client trying to format it.
>>
>> After reflecting a bit, I'm not sure it is related in any way to
>> treesitter. I'm not even sure python + treesitter is a thing in
>> emacs in 29.0.50 (not according to etc/NEWS at least).
>>
>> I can just confirm that versions <28.2 don't show this issue, that's
>> why I thought about treesitter.
>>
>> -- Matthias
>
>
> Hello again.
>
> Turns out I had a slightly out of date version (from last week). I
> recompiled and don't have this problem anymore.
>
> Seems to have been resolved in fc9d7b3d04.
>
> Sorry for the confusion.

Don’t be sorry :-) Thanks for reporting the bug! I’m closing this report.

Yuan





      parent reply	other threads:[~2022-12-02  5:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29 12:05 bug#59679: 29.0.50; python + tree-sitter: Syntax highlighting is sometimes wrong with multi line docstrings Matthias Paulmier
2022-11-30 10:31 ` Yuan Fu
2022-11-30 11:06   ` Matthias Paulmier
2022-11-30 16:50     ` Matthias Paulmier
2022-12-02  5:08 ` Yuan Fu [this message]

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

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

  git send-email \
    --in-reply-to=12F6662A-67B3-4CD9-ADE3-56F90F191512@gmail.com \
    --to=casouri@gmail.com \
    --cc=59679-done@debbugs.gnu.org \
    --cc=hello@mattplm.fr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.