Gnus development mailing list
 help / color / mirror / Atom feed
From: sigurd@12move.de (Karl Pflästerer)
Subject: Re: cvs keyword hacking in texi/Makefile.in
Date: Fri, 25 Mar 2005 13:42:24 +0100	[thread overview]
Message-ID: <uoed7q4qd.fsf@hamster.pflaesterer.de> (raw)
In-Reply-To: <v9wtrwt3rf.fsf@marauder.physik.uni-ulm.de>

On 25 Mrz 2005, reinersteib+gmane@imap.cc wrote:

>
> On Fri, Mar 25 2005, Miles Bader wrote:
>
>> Karl Pflästerer <sigurd <at> 12move.de> writes:
>>> Could you elaborate what you wanted to achieve so I can write a Scheme
>>> solution?
>>
>> My personal goal is to simply get rid of CVS keywords where possible; this
>> probably has the easiest implementation too... :-)
>
> ACK.  The primary goal is _not_ to include the CVS keyword "$Id: ...$"
> from gnus-faq.xml when generating gnus-faq.texi and the Gnus manuals
> which include gnus-faq.texi.  (It should not even be included as a
> comment, because this also makes trouble when merging changes.)  By
> adding the sed command ('/[$]Id:.*[$]/d') in the Makefile, we get rid
> of the Id tag when generating gnus-faq.texi.
>
> Of course removing the Id tag from gnus-faq.xml would be the most
> simple solution, but maybe we want to have the tag present in the
> (X)HTML versions published on <URL:http://my.gnus.org/FAQ>?  It's nice
> to see the revision date on the web version to see that they are up to
> date.  The Id tag is located in the introductory part of the FAQ which
> IMHO requires some modifications besides the Id tag:
>
> ,----[ <news:v9mzsvvdbp.fsf@marauder.physik.uni-ulm.de> ]
> | > -  The "Changes" section should not be present in the texi version.
> | 
> | At least the CVS $ID$ should not be included.  I'm not sure if the
> | faq-discuss mailing list is necessary.
> `----
>
> Maybe excluding some parts for the texi-version could be achieved best
> by adding some markup in gnus-faq.xml which you can use in
> xml2texi.scm?  (I'd also like to hear Frank's opinion on that.)

The clever guy I a am :-) I thought about that from the beginning.
There is a list of ignored sections.  Just try that patch:

Index: xml2texi.scm
===================================================================
RCS file: /usr/local/cvsroot/gnus/texi/xml2texi.scm,v
retrieving revision 7.2
diff -r7.2 xml2texi.scm
52c52
< (define +ignored-sections+ '("Frequently Asked Questions with Answers"))
---
> (define +ignored-sections+ '("Frequently Asked Questions with Answers" "Changes"))


The section with the title "Changes" will be excluded from the Texi
file.


   KP



      reply	other threads:[~2005-03-25 12:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24  9:26 Miles Bader
2005-03-24 13:33 ` Reiner Steib
2005-03-24 22:27   ` Karl Pflästerer
2005-03-25  1:48     ` Miles Bader
2005-03-25 10:32       ` Reiner Steib
2005-03-25 12:42         ` Karl Pflästerer [this message]

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=uoed7q4qd.fsf@hamster.pflaesterer.de \
    --to=sigurd@12move.de \
    --cc=khp@pflaesterer.de \
    /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 NNTP newsgroup(s).