All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: Jakub Wilk <jwilk@jwilk.net>,
	linux-man@vger.kernel.org,
	Michael Kerrisk <mtk.manpages@gmail.com>
Subject: Re: [PATCH] mmap.2: ffix
Date: Sun, 27 Feb 2022 20:02:29 +0100	[thread overview]
Message-ID: <f53acc04-ccd2-e63f-f2b2-8d51628bf2c8@gmail.com> (raw)
In-Reply-To: <20220227185719.hszwudrkwrpzhgqe@localhost.localdomain>

Hi, Branden!

On 2/27/22 19:57, G. Branden Robinson wrote:
> Hi, Alex!
> 
> At 2022-02-27T18:09:51+0100, Alejandro Colomar wrote:
>>> @@ -289,8 +289,7 @@ Note that older kernels which do not recognize the
>>>  .BR MAP_FIXED_NOREPLACE
>>>  flag will typically (upon detecting a collision with a preexisting mapping)
>>>  fall back to a "non-\c
>>> -.B MAP_FIXED\c
>>> -" type of behavior:
>>
>> Branden, why is that?  Is a leading '"' special here?
> 
> Nope.  I think you correctly surmised what the original input was doing.

Then, should I report a bug in groff?

I could reproduce the incorrect formatted output with
GNU groff version 1.23.0.rc1.1931-35c9b

> 
>>> +.BR MAP_FIXED "\(dq type of behavior:"
>>
>> I'll apply a slightly simpler patch (removing \c):
> [...]
>> -fall back to a "non-\c
>> -.B MAP_FIXED\c
>> -" type of behavior:
>> +fall back to a
>> +.RB \(dqnon- MAP_FIXED \(dq
>> +type of behavior:
> 
> This is indeed an improvement.  your change should make no _visible_
> change to the rendered document.
> 
> I wouldn't use \(dq, though--these quotation marks are for prose, not
> code.  I would use left and right double quotation marks.
> 
> fall back to a
> .RB \(lqnon- MAP_FIXED \(rq
> type of behavior:

Okay, I'll fix that.

Cheers,

Alex

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

  reply	other threads:[~2022-02-27 19:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 10:39 [PATCH] mmap.2: ffix Jakub Wilk
2022-02-27 17:09 ` Alejandro Colomar
2022-02-27 18:57   ` G. Branden Robinson
2022-02-27 19:02     ` Alejandro Colomar (man-pages) [this message]
2022-02-28 13:18       ` G. Branden Robinson
2022-02-28 15:11         ` Alejandro Colomar (man-pages)

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=f53acc04-ccd2-e63f-f2b2-8d51628bf2c8@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=g.branden.robinson@gmail.com \
    --cc=jwilk@jwilk.net \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@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.
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.