From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60061 Path: news.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?Q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: cvs keyword hacking in texi/Makefile.in Date: Fri, 25 Mar 2005 13:42:24 +0100 Organization: Lemis World Message-ID: References: Reply-To: khp@pflaesterer.de (Karl =?iso-8859-1?Q?Pfl=E4sterer?=) NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1111754979 9664 80.91.229.2 (25 Mar 2005 12:49:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2005 12:49:39 +0000 (UTC) Original-X-From: ding-owner+M8602@lists.math.uh.edu Fri Mar 25 13:49:39 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEoFp-0001Av-6y for ding-account@gmane.org; Fri, 25 Mar 2005 13:49:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DEoDS-0007ew-00; Fri, 25 Mar 2005 06:47:06 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DEoDK-0007eq-00 for ding@lists.math.uh.edu; Fri, 25 Mar 2005 06:46:58 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DEoDI-0005nQ-Mj for ding@lists.math.uh.edu; Fri, 25 Mar 2005 06:46:56 -0600 Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1DEoDH-0004dJ-00 for ; Fri, 25 Mar 2005 13:46:55 +0100 Original-To: ding@gnus.org Original-Path: wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 56 Original-NNTP-Posting-Host: b816c.b.pppool.de Original-X-Trace: quimby.gnus.org 1111754815 17810 213.7.129.108 (25 Mar 2005 12:46:55 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Fri, 25 Mar 2005 12:46:55 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Hamster/2.0.6.0 Cancel-Lock: sha1:aCrt1yb2FzM2iCRnu2EU3bt/S6I= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8602@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:60061 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60061 On 25 Mrz 2005, reinersteib+gmane@imap.cc wrote: > > On Fri, Mar 25 2005, Miles Bader wrote: > >> Karl Pflästerer 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 ? 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: > > ,----[ ] > | > - 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