[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] man/curs_mouse.3x: Fix typeface in man page cross refere
From: |
Sven Joachim |
Subject: |
Re: [PATCH 1/3] man/curs_mouse.3x: Fix typeface in man page cross references |
Date: |
Sun, 18 Feb 2024 20:57:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On 2024-02-18 11:41 -0600, G. Branden Robinson wrote:
> The use of `\fP` _before_ the man page identifier looks like a thinko;
> it leaves you at the mercy of whatever face was previously selected.
> ---
> man/curs_mouse.3x | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x
> index 9c9048f7f..c3473aadf 100644
> --- a/man/curs_mouse.3x
> +++ b/man/curs_mouse.3x
> @@ -188,8 +188,8 @@ .SS wenclose
> If the parameter is a pad,
> \fB\%wenclose\fP uses the most recent screen coordinates used for
> this pad in
> -\fP\%prefresh\fP(3X) or
> -\fP\%pnoutrefresh\fP(3X).
> +\fI\%prefresh\fP(3X) or
> +\fI\%pnoutrefresh\fP(3X).
Should it not be \fB rather than \fI? The edit_man script which fixes
the manpage references for the --with-manpage-renames configure option
only deals with \fB here, as I found out while adding the new
references to the man_db.renames.in file (see the attached patch).
Cheers,
Sven
From 72be578f1d7ffdde5a70f52e5c1f9b4a5b85a755 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenjoac@gmx.de>
Date: Sun, 18 Feb 2024 20:08:10 +0100
Subject: [PATCH] man/man_db.renames.in: Add two more renames
The 20240217 patchlevel added references to prefresh/pnoutrefesh in
the curs_mouse manpage.
---
man/man_db.renames.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/man/man_db.renames.in b/man/man_db.renames.in
index 5df0468c..58785cd2 100644
--- a/man/man_db.renames.in
+++ b/man/man_db.renames.in
@@ -220,6 +220,8 @@ newterm.3x newterm.3ncurses
newwin.3x newwin.3ncurses
nodelay.3x nodelay.3ncurses
notimeout.3x notimeout.3ncurses
+pnoutrefresh.3x pnoutrefresh.3ncurses
+prefresh.3x prefresh.3ncurses
putwin.3x putwin.3ncurses
refresh.3x refresh.3ncurses
reset_shell_mode.3x reset_shell_mode.3ncurses
--
2.43.0