public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joern Rennecke <amylaar@spamcop.net>
To: "Joseph S. Myers" <joseph@codesourcery.com>
Cc: 'GCC Mailing List' <gcc@gcc.gnu.org>,
	Grigori Fursin 	<grigori.fursin@inria.fr>,
	ctuning-discussions@googlegroups.com,
	'Yuanjie 	Huang' <huangyuanjie@ict.ac.cn>,
	'Liang Peng' <pengliang@ict.ac.cn>,
		'Zbigniew Chamski' <zbigniew.chamski@gmail.com>,
	'Yuri Kashnikoff' 	<yuri.kashnikoff@gmail.com>,
	'Diego Novillo' <dnovillo@google.com>
Subject: Re: target hooks / plugins
Date: Wed, 13 Jan 2010 16:09:00 -0000	[thread overview]
Message-ID: <20100113110917.vqaoqpyyc0ck8gso-nzlynne@webmail.spamcop.net> (raw)
In-Reply-To: <Pine.LNX.4.64.1001131343010.2183@digraph.polyomino.org.uk>

Quoting "Joseph S. Myers" <joseph@codesourcery.com>:

> Please note that your initial change to implement automatic doc extraction
> should not result in any changes to the Texinfo content of the manual.
> Such fixes should all go in either before or after the automatic doc
> extraction change, but not at the same time; the doc extraction change
> should result in identical text in the manual, but with the Texinfo files
> produced in a different way.  I recommend sending such fixes before the
> automatic doc extraction change, since they do not depend on the FSF doing
> anything.

Duplicating all these changes separately by hand seems nigh impossible.
I think the best approach is then to take the auto-generated tm.texi as
the new tm.texi, and packages it up as a patch together with the
struct member / hook name changes that I made for consistency.

There is only one issue with using the current auto-generated tm.texi:
Unless special formatting was in force (e.g. @smallexample), I've removed
intra-paragraph newlines.  This should work in principle just as will
as with these newlines for producing output, but it looks somewhat daft
in tm.texi when you consider it as a source file.
Putting newlines in the input file would make it harder to read & edit,
since the documentation comes as C strings - and the GNU multiline string
extension has been deprecated some time ago.
I could pipe the documentation through fold -s, but that would also fold
extra-long lines outside the hook documentation, e.g.:
@@ -28,7 +28,8 @@
  @menu
  * Target Structure::    The @code{targetm} variable.
  * Driver::              Controlling how the driver runs the  
compilation passes.
-* Run-time Target::     Defining @samp{-m} options like  
@option{-m68000} and @option{-m68020}.
+* Run-time Target::     Defining @samp{-m} options like @option{-m68000} and
+@option{-m68020}.
  * Per-Function Data::   Defining data structures for per-function  
information.
  * Storage Layout::      Defining sizes and alignments of data.
  * Type Layout::         Defining sizes and properties of basic user  
data types.

So I suppose I'll have to add some fold mechanism into the documentation
output code.

  parent reply	other threads:[~2010-01-13 16:09 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 12:22 plugin hooks Basile STARYNKEVITCH
2009-10-27 13:29 ` Richard Guenther
2009-10-27 14:19   ` Basile STARYNKEVITCH
2009-10-27 14:57     ` Ian Lance Taylor
2009-10-27 15:06       ` Basile STARYNKEVITCH
2009-10-27 15:20         ` Ian Lance Taylor
2009-10-27 15:29           ` Basile STARYNKEVITCH
2009-10-27 15:50             ` Richard Guenther
2009-10-27 15:51               ` Basile STARYNKEVITCH
2009-10-27 16:25                 ` Richard Guenther
     [not found]                   ` <2dc303d60910271056h17038110ib63c53cfa374f5c7@mail.gmail.com>
     [not found]                     ` <002c01ca5746$9dd43da0$d97cb8e0$@fursin@inria.fr>
2009-11-02 12:47                       ` Joern Rennecke
2009-11-02 20:20                         ` Grigori Fursin
2009-11-05 11:17                         ` [plugins-ici-cloning-instrumentation] new GCC plugin developements Grigori Fursin
2009-11-05 13:26                           ` Joern Rennecke
2009-11-05 13:54                             ` Grigori Fursin
2009-11-05 23:34                               ` Ian Lance Taylor
2009-11-06 14:09                                 ` Grigori Fursin
2009-11-06 14:54                                   ` Joern Rennecke
2009-11-06 15:09                                     ` Grigori Fursin
2009-11-06 15:28                                       ` Joern Rennecke
2009-11-06 15:46                                         ` Grigori Fursin
2009-11-06 15:54                                     ` Basile STARYNKEVITCH
2009-11-06 16:12                                       ` Grigori Fursin
2009-11-06 16:59                                         ` Basile STARYNKEVITCH
2009-11-06 17:09                                           ` Grigori Fursin
     [not found]                             ` <-2186575642631489790@unknownmsgid>
2009-11-05 14:34                               ` Yuanjie Huang
2009-11-05 16:27                                 ` Grigori Fursin
2009-12-23 15:13                                   ` target hooks / plugins Joern Rennecke
2009-12-24  0:33                                     ` Joern Rennecke
2009-12-24 12:15                                       ` Joseph S. Myers
2010-01-05 17:06                                         ` Joern Rennecke
2010-01-13  8:22                                         ` Joern Rennecke
2010-01-13 13:49                                           ` Joseph S. Myers
2010-01-13 15:48                                             ` Target hook definition licensing problems (GPL vs GFDL) Joern Rennecke
2010-01-13 19:45                                               ` Dave Korn
2010-01-17 23:16                                               ` Gerald Pfeifer
2010-04-15  9:04                                                 ` Joern Rennecke
2010-01-13 16:09                                             ` Joern Rennecke [this message]
2010-01-13 16:18                                               ` target hooks / plugins Joseph S. Myers
2009-12-24 12:26                                       ` Joseph S. Myers
2009-12-31  7:15                                         ` Grigori Fursin
2009-12-30 22:12                                       ` Richard Guenther
     [not found]                                 ` <-904648346490528905@unknownmsgid>
2009-11-06  5:18                                   ` [plugins-ici-cloning-instrumentation] new GCC plugin developements Yuanjie HUANG
2009-11-06 17:14                           ` Joern Rennecke
2009-11-06 18:18                             ` Grigori Fursin
2009-11-06 18:30                               ` Joern Rennecke
2009-11-06 18:44                                 ` Grigori Fursin
2009-11-09  1:43                                   ` Joern Rennecke
2009-11-09 14:28                                     ` Grigori Fursin
2009-11-09 14:46                                     ` Grigori Fursin
2009-11-09 18:15                                     ` Joern Rennecke
2009-11-09 21:19                                       ` Grigori Fursin
2009-11-10  5:16                                         ` Joern Rennecke
2009-11-10 21:17                                           ` Grigori Fursin
2009-11-14 11:50                                           ` Grigori Fursin
2009-11-17 14:43                                             ` Grigori Fursin
2009-11-18 17:06                                             ` [plugins-ici-cloning-instrumentation] install-plugin Makefile target Joern Rennecke
2009-11-18 17:18                                               ` Rafael Espindola
2009-11-18 17:41                                               ` Diego Novillo
2009-11-18 18:27                                                 ` Basile STARYNKEVITCH
2009-11-18 18:47                                                   ` Joern Rennecke
2009-10-28 15:35             ` plugin hooks Basile STARYNKEVITCH
2009-10-28 20:32             ` Rafael Espindola
2009-10-27 15:39           ` Basile STARYNKEVITCH
2009-10-27 16:19             ` Joseph S. Myers
2009-10-28 19:34         ` Rafael Espindola
2009-10-28 20:36           ` Basile STARYNKEVITCH
2009-10-28 21:44             ` Richard Guenther
2009-10-29  5:07               ` Basile STARYNKEVITCH
2009-10-28 19:02       ` Rafael Espindola

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=20100113110917.vqaoqpyyc0ck8gso-nzlynne@webmail.spamcop.net \
    --to=amylaar@spamcop.net \
    --cc=ctuning-discussions@googlegroups.com \
    --cc=dnovillo@google.com \
    --cc=gcc@gcc.gnu.org \
    --cc=grigori.fursin@inria.fr \
    --cc=huangyuanjie@ict.ac.cn \
    --cc=joseph@codesourcery.com \
    --cc=pengliang@ict.ac.cn \
    --cc=yuri.kashnikoff@gmail.com \
    --cc=zbigniew.chamski@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 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).