GNU bug report logs -
#68781
[PATCH] Don't fill yaml except comments and block scalars.
Previous Next
Reported by: Rudolf Schlatte <rudi <at> constantly.at>
Date: Sun, 28 Jan 2024 13:17:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 68781 <at> debbugs.gnu.org (full text, mbox):
On Monday, January 29th, 2024 at 03:20, Rudolf Schlatte <rudi <at> constantly.at> wrote:
>
> Hello Randy, thanks for having a look! Could you tell me which
> tree-sitter grammar you are using? I'm asking because with the grammar
> from https://github.com/ikatyang/tree-sitter-yaml I don't see what you
> describe.
That's the one I'm using.
Here are some examples I see when using emacs -Q:
a:
b: 4
foo: |
l<POINT>ine-one
line-two
Place point where <POINT> is (and remove that text of course). Then run M-x fill-paragraph. This is what I see as a result:
a: b: 4 foo: | line-one
line-two
And with the example from bug#68226:
foo: |
l<POINT>ine-one
line-two
After M-x fill-paragraph I see:
foo: | line-one line-two
Hopefully these reproduce for you too.
>
> Needless to say, please don't install the patch before I have debugged
> this. :)
>
> Best, Rudi
This bug report was last modified 1 year and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.