From: Matthias Paulmier <hello@mattplm.fr>
To: Yuan Fu <casouri@gmail.com>
Cc: 59679@debbugs.gnu.org
Subject: bug#59679: 29.0.50; python + tree-sitter: Syntax highlighting is sometimes wrong with multi line docstrings
Date: Wed, 30 Nov 2022 17:50:41 +0100 [thread overview]
Message-ID: <50e9cf1b-736e-51cd-9728-7ba0d49d1a56@mattplm.fr> (raw)
In-Reply-To: <f8db9127-8061-06f3-9e3f-793e3fac66b0@mattplm.fr>
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.
--
Matthias
next prev parent reply other threads:[~2022-11-30 16:50 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 [this message]
2022-12-02 5:08 ` Yuan Fu
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=50e9cf1b-736e-51cd-9728-7ba0d49d1a56@mattplm.fr \
--to=hello@mattplm.fr \
--cc=59679@debbugs.gnu.org \
--cc=casouri@gmail.com \
/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.