From: Markus Armbruster <armbru@redhat.com>
To: Andrea Bolognani <abologna@redhat.com>
Cc: "Eduardo Habkost" <eduardo@habkost.net>,
"Kevin Wolf" <kwolf@redhat.com>,
"Vladimir Sementsov-Ogievskiy" <v.sementsov-og@mail.ru>,
"Daniel P. Berrangé" <berrange@redhat.com>,
qemu-block@nongnu.org, "Juan Quintela" <quintela@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
qemu-devel@nongnu.org, "Yanan Wang" <wangyanan55@huawei.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Pavel Dovgalyuk" <pavel.dovgaluk@ispras.ru>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [PATCH 6/7] qapi: Drop unnecessary horizontal spacing in comments
Date: Mon, 02 May 2022 19:24:53 +0200 [thread overview]
Message-ID: <87ee1bkftm.fsf@pond.sub.org> (raw)
In-Reply-To: <CABJz62PTMG6GvZM7nCGxLAb0YhDuA-Yn-q+iNgcZb4=Wpq-Mfw@mail.gmail.com> (Andrea Bolognani's message of "Mon, 2 May 2022 10:34:09 -0400")
Andrea Bolognani <abologna@redhat.com> writes:
> On Mon, May 02, 2022 at 10:50:07AM +0200, Markus Armbruster wrote:
>> Andrea Bolognani <abologna@redhat.com> writes:
>> > -# @writeback: true if writeback mode is enabled
>> > -# @direct: true if the host page cache is bypassed (O_DIRECT)
>> > -# @no-flush: true if flush requests are ignored for the device
>> > +# @writeback: true if writeback mode is enabled
>> > +# @direct: true if the host page cache is bypassed (O_DIRECT)
>> > +# @no-flush: true if flush requests are ignored for the device
>>
>> I'm no fan of horizontally aligning descriptions, because when you add a
>> longer name, you either realign (I hate the churn) or live with the
>> inconsistency (I hate that, too).
>
> We seem to be in violent agreement on the topic, but it's apparent
> that other people feel diffently :)
>
>> I doubt changing to a different alignment now is useful. The next
>> patch, however, drops the alignment entirely. Possibly useful.
>>
>> Thoughts?
>
> My rationale for splitting things the way I did is that, if dropping
> the horizontal alignment entirely was not considered desirable, we
> could at least get rid of the extra whitespace.
Understood.
> But if you think that
> the benefit from the half measure doesn't offset the cost of the
> churn it causes, I'm happy to drop these hunks and go straight from
> the current status to no horizontal alignment at all in one fell
> swoop with the next patch.
Show us the patches, and then we can decide whether the improvement is
worth the churn.
>> > -# Since: 0.14
>> > +# Since: 0.14
>>
>> This one is TAG: TEXT, whereas the one above is a multiple @NAME:
>> DESCRIPTION. Extra space in the latter can provide alignment. Extra
>> space in the former is always redundant. I'd take a patch dropping
>> these obviously redundant spaces without debate :)
>
> Okay, I'll respin this so that the first patch drops all extra
> whitespace in contexts where horizontal alignment is either not
> attempted or not possible, and the second one implements the more
> controversial changes.
The first one is another no-brainer.
next prev parent reply other threads:[~2022-05-02 17:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-29 15:47 [PATCH 0/7] qapi: Primarily whitespace tweaks Andrea Bolognani
2022-04-29 15:47 ` [PATCH 1/7] qapi: Drop stray trailing symbol Andrea Bolognani
2022-05-02 8:22 ` Markus Armbruster
2022-04-29 15:47 ` [PATCH 2/7] qapi: Fix comment indentation Andrea Bolognani
2022-05-02 8:22 ` Markus Armbruster
2022-04-29 15:47 ` [PATCH 3/7] qapi: Add missing separators between sections Andrea Bolognani
2022-05-02 8:24 ` Markus Armbruster
2022-04-29 15:47 ` [PATCH 4/7] qapi: Drop unnecessary empty lines in comments Andrea Bolognani
2022-05-02 8:24 ` Markus Armbruster
2022-04-29 15:47 ` [PATCH 5/7] qapi: Drop unnecessary empty lines outside of comments Andrea Bolognani
2022-05-02 8:30 ` Markus Armbruster
2022-04-29 15:47 ` [PATCH 6/7] qapi: Drop unnecessary horizontal spacing in comments Andrea Bolognani
2022-05-02 8:50 ` Markus Armbruster
2022-05-02 14:34 ` Andrea Bolognani
2022-05-02 17:24 ` Markus Armbruster [this message]
2022-05-03 7:43 ` Andrea Bolognani
2022-04-29 15:47 ` [PATCH 7/7] qapi: Drop more " Andrea Bolognani
2022-05-02 12:43 ` [PATCH 0/7] qapi: Primarily whitespace tweaks Markus Armbruster
2022-05-02 14:36 ` Andrea Bolognani
2022-05-02 17:28 ` Markus Armbruster
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=87ee1bkftm.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=abologna@redhat.com \
--cc=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=eduardo@habkost.net \
--cc=f4bug@amsat.org \
--cc=jsnow@redhat.com \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pavel.dovgaluk@ispras.ru \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=v.sementsov-og@mail.ru \
--cc=wangyanan55@huawei.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.
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.