public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@aarsen.me>
To: Sandra Loosemore <sandra@codesourcery.com>
Cc: gcc-patches@gcc.gnu.org, Gerald Pfeifer <gerald@pfeifer.com>,
	Joseph Myers <joseph@codesourcery.com>
Subject: Re: [PATCH v2 4/5] Update texinfo.tex, remove the @gol macro/alias
Date: Fri, 10 Mar 2023 16:49:03 +0100	[thread overview]
Message-ID: <87ttysppsc.fsf@aarsen.me> (raw)
In-Reply-To: <26dbe30b-455d-2e01-80b9-436175c2e179@codesourcery.com>

[-- Attachment #1: Type: text/plain, Size: 6555 bytes --]

Afternoon,

Sandra Loosemore <sandra@codesourcery.com> writes:

> On 2/23/23 03:27, Arsen Arsenović via Gcc-patches wrote:
>> The @gol macro appears to have existed as a workaround for a bug in old
>> versions of makeinfo and/or texinfo.tex, where they would, in some types
>> of output, fail to emit line breaks in @gccoptlists.  After updating
>> texinfo.tex, I noticed that this behavior appears to no longer be
>> exhibited, instead, both acted correctly and inserted newlines.  The
>> (groff) manual output also appears unaffected.
>> gcc/ChangeLog:
>> 	* doc/include/texinfo.tex: Update to 2023-01-17.19.
>> 	* doc/implement-c.texi: Remove usage of @gol.
>> 	* doc/invoke.texi: Ditto.
>> 	* doc/sourcebuild.texi: Ditto.
>> 	* doc/include/gcc-common.texi: Remove @gol.  In new Makeinfo and
>> 	texinfo.tex versions, the bug it was working around appears to
>> 	be gone.
>> gcc/fortran/ChangeLog:
>> 	* invoke.texi: Remove usages of @gol.
>> 	* intrinsic.texi: Ditto.
>
> This is OK, but I'd like to see this patch split into two separate commits as
> well -- one for the texinfo.tex import, and one for the @gol changes.

The full log is below.  This branch is also, as usual, visible on my
fork at:

  https://git.sr.ht/~arsen/gcc texinfo_improvements

... and is visible in web form at:

  https://git.sr.ht/~arsen/gcc/log/texinfo_improvements

I rebased the patchset to today's revision again.

The log:

commit 63fcce9b7d7af55fd73024fa42cb44fde9063c3a
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Thu Mar 9 21:44:29 2023 +0100

    update_web_docs_git: Set CONTENTS_OUTPUT_LOCATION=inline
    
    maintainer-scripts/ChangeLog:
    
            * update_web_docs_git: Set CONTENTS_OUTPUT_LOCATION=inline in
            order to put @shortcontents above contents. See
            9dd976a4-4e09-d901-b949-6d5037567b9b@codesourcery.com on
            gcc-patches.

commit 04c696ed31e623d003a0472f83d6a93c53541790
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Tue Feb 28 11:40:56 2023 +0100

    docs: Fix up new instances of index reordering
    
    This commit fixes up an instance of the index entry mis-ordering that
    occurred between the formulation and application of commit
    r13-6310-gf33d7a88d069d1.
    
    gcc/ChangeLog:
    
            * doc/extend.texi: Associate use_hazard_barrier_return index
            entry with its attribute.
            * doc/invoke.texi: Associate -fcanon-prefix-map index entry with
            its attribute

commit cfc401f06bf46fd98ee1272e0204155d635b3c42
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Thu Jan 26 18:50:38 2023 +0100

    update_web_docs_git: Update CSS reference to new manual CSS
    
    maintainer-scripts/ChangeLog:
    
            * update_web_docs_git (CSS): Update CSS reference to point to
            /texinfo-manuals.css.

commit d3c953045f99523a726d1d2b2d25bc9e9352fdfd
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Wed Jan 25 23:33:03 2023 +0100

    doc: Remove the @gol macro/alias
    
    The @gol macro appears to have existed as a workaround for a bug in old
    versions of makeinfo and/or texinfo.tex, where they would, in some types
    of output, fail to emit line breaks in @gccoptlists.  After updating
    texinfo.tex, I noticed that this behavior appears to no longer be
    exhibited, instead, both acted correctly and inserted newlines.  The
    (groff) manual output also appears unaffected.
    
    gcc/ChangeLog:
    
            * doc/implement-c.texi: Remove usage of @gol.
            * doc/invoke.texi: Ditto.
            * doc/sourcebuild.texi: Ditto.
            * doc/include/gcc-common.texi: Remove @gol.  In new Makeinfo and
            texinfo.tex versions, the bug it was working around appears to
            be gone.
    
    gcc/fortran/ChangeLog:
    
            * invoke.texi: Remove usages of @gol.
            * intrinsic.texi: Ditto.

commit e543f4acda2573331d02a99a779f8710abfb14c6
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Fri Mar 10 16:21:33 2023 +0100

    doc: Update texinfo.tex
    
    gcc/ChangeLog:
    
            * doc/include/texinfo.tex: Update to 2023-01-17.19.

commit 5f093996a453656755a0209271d01392d05b849e
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Fri Mar 10 16:13:28 2023 +0100

    docs: Add @defbuiltin family of helpers
    
    The @defbuiltin{,x} macros are convenience macros for the often-repeated
    task of defining a built-in function in extend.texi.  Usage of this
    macro should lead to a higher degree of consistency across pieces of
    text written by different people, and provide a better reading
    experience, as they prevent easy-to-make errors, like forgetting index
    entries for these functions.
    
    gcc/ChangeLog:
    
            * doc/include/gcc-common.texi: Add @defbuiltin{,x} and
            @enddefbuiltin for defining built-in functions.
            * doc/extend.texi: Apply @defbuiltin{,x} to many, but not all,
            places where it should be used.

commit a867275185f2f2d5d654394a406ae28f16a4f26a
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Fri Mar 10 16:08:19 2023 +0100

    doc: Fix a few minor errors spotted by testers
    
    This commit addresses a few minor errors that were spotted while testing
    the GCC manual with a few people, and while working on wider changes.
    
    gcc/ChangeLog:
    
            * doc/extend.texi (Formatted Output Function Checking): New
            subsection for  grouping together printf et al.
            (Exception handling) Fix missing @ sign before copyright
            header, which lead to the copyright line leaking into
            '(gcc)Exception handling'.
            * doc/gcc.texi: Set document language to en_US.
            (@copying): Wrap front cover texts in quotations, move in manual
            description text.

commit 8e0739647b9fe429b57c7855b2ed0dee00407457
Author: Arsen Arsenović <arsen@aarsen.me>
Date:   Sun Nov 20 17:57:46 2022 +0100

    docs: Create Indices appendix
    
    The GCC manual has multiple indices.  By creating an appendix which
    lists them, we help makeinfo present a more accessible way for the
    reader to see all the indices.
    
    gcc/ChangeLog:
    
            * doc/gcc.texi: Add the Indices appendix, to make texinfo
            generate nice indices overview page.

> -Sandra

Have a lovely day.
-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

  parent reply	other threads:[~2023-03-10 15:52 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23 10:27 [PATCH v2 0/5] A small Texinfo refinement Arsen Arsenović
2023-02-23 10:27 ` [PATCH v2 1/5] docs: Create Indices appendix Arsen Arsenović
2023-03-09  3:16   ` Sandra Loosemore
2023-03-09 10:12     ` Arsen Arsenović
2023-03-09 20:38     ` Arsen Arsenović
2023-03-11  1:12       ` Sandra Loosemore
2023-03-11  1:34         ` Arsen Arsenović
2023-03-11 12:22         ` Arsen Arsenović
2023-03-11 19:22           ` Gerald Pfeifer
2023-03-11 20:22             ` Arsen Arsenović
2023-03-11 19:34           ` Sandra Loosemore
2023-03-11 20:14             ` Arsen Arsenović
2023-03-11 20:32               ` [PATCH v2] html: Set CONTENTS_OUTPUT_LOCATION=inline if makeinfo supports it Arsen Arsenović
2023-03-12 10:25               ` [PATCH v2 1/5] docs: Create Indices appendix Gerald Pfeifer
2023-03-12 12:23                 ` Arsen Arsenović
2023-02-23 10:27 ` [PATCH v2 2/5] **/*.texi: Reorder index entries Arsen Arsenović
2023-02-23 23:50   ` Gerald Pfeifer
2023-02-23 10:27 ` [PATCH v2 3/5] doc: Add @defbuiltin family of helpers, set documentlanguage Arsen Arsenović
2023-03-09 23:50   ` Sandra Loosemore
2023-02-23 10:27 ` [PATCH v2 4/5] Update texinfo.tex, remove the @gol macro/alias Arsen Arsenović
2023-03-09 23:55   ` Sandra Loosemore
2023-03-10  0:17     ` Gerald Pfeifer
2023-03-10 10:33       ` Thomas Schwinge
2023-03-10 12:49         ` Arsen Arsenović
2023-03-10 15:51           ` Gerald Pfeifer
2023-03-10 15:58             ` Arsen Arsenović
2023-03-10 12:48     ` Arsen Arsenović
2023-03-10 15:49     ` Arsen Arsenović [this message]
2023-03-18 20:14       ` Ping (gcc/configure.ac, docs): " Arsen Arsenović
2023-03-20 22:01         ` Sandra Loosemore
2023-03-20 23:06           ` Joseph Myers
2023-03-20 23:27             ` Arsen Arsenović
2023-03-20 23:35           ` Arsen Arsenović
2023-03-21  9:52             ` Arsen Arsenović
2023-03-21 23:11               ` Gerald Pfeifer
2023-02-23 10:27 ` [PATCH v2 5/5] update_web_docs_git: Update CSS reference to new manual CSS Arsen Arsenović
2023-03-10  0:07   ` Sandra Loosemore
2023-03-10 13:00     ` Arsen Arsenović
2023-02-25 22:04 ` [PATCH v2 0/5] A small Texinfo refinement Thomas Schwinge
2023-02-26 14:54   ` Arsen Arsenović
2023-03-08  1:56 ` Sandra Loosemore
2023-03-08  9:11   ` Arsen Arsenović
2023-03-08 18:38     ` Sandra Loosemore
2023-03-08 21:22       ` Arsen Arsenović
2023-03-09  1:09         ` Sandra Loosemore
2023-03-09  1:19           ` Andrew Pinski
2023-03-09  8:26             ` Richard Biener
2023-03-09 23:35               ` Sandra Loosemore
2023-03-10  8:50                 ` Iain Sandoe
2023-03-10 17:51                   ` Sandra Loosemore
2023-03-10 18:09                     ` Sandra Loosemore
2023-03-10 19:00                     ` Gerald Pfeifer
2023-03-13  9:05                       ` Richard Biener
2023-03-13 11:01                         ` Arsen Arsenović
2023-05-29 15:06                       ` NightStrike
2023-05-29 17:26                         ` Arsen Arsenović
2023-05-29 19:27                           ` Sandra Loosemore
2023-03-09 10:22           ` Arsen Arsenović
2023-03-09  8:28       ` Gerald Pfeifer

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=87ttysppsc.fsf@aarsen.me \
    --to=arsen@aarsen.me \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gerald@pfeifer.com \
    --cc=joseph@codesourcery.com \
    --cc=sandra@codesourcery.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).