Gnus development mailing list
 help / color / mirror / Atom feed
From: sigurd@12move.de (Karl Pflästerer)
Subject: Re: Gnus-FAQ: xml to texi with Scheme prog
Date: Mon, 21 Mar 2005 23:11:48 +0100	[thread overview]
Message-ID: <uoedcd5at.fsf@hamster.pflaesterer.de> (raw)
In-Reply-To: <fc339e4a05032013554516e292@mail.gmail.com>

On 20 Mrz 2005, snogglethorpe@gmail.com wrote:

> Should the generated file be in the archive at all?  Hmmm, I guess
> scheme is an unusual enough language that you can't rely on developers
> having it installed (is the implementation hairy enough that it can't
> be done in elisp or awk or something?).

Well it was easiest with Scheme; it could be done with any language
where you have libs (or write yourself some) with which you can parse
and transform the XML source.  Scheme with SSAX libs works very good
here (and shouldn't be sooo unusual in a community of (X)Emacs users).

>
>>  Should we add something like...
>> 
>>   (insert "@ignore\n   "
>>           "arch-tag: "
>>           "64dc5692-edb4-4848-a965-7aa0181acbb8"
>>           "\n@end ignore")
>> 
>> ... in `main' in `xml2texi.scm'?  I guess this would make sure that it
>> is not confused with the arch tag of the file `xml2texi.scm'.  Miles?
>
> Yes that would probably work.  The rules for finding arch-tag: in a
> file are roughly: (1)  somewhere in the first or last 1K (2K?) of the
> file, and (2) string "arch-tag:" on a line preceded by nothing but
> puncuation or whitespace.  So splitting the "arch-tag:" in the insert
> would be a good idea (e.g., use "arch-" "tag:" instead of
> "arch-tag:").

A solution for this should be trivial.


   KP



  parent reply	other threads:[~2005-03-21 22:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09 19:41 Karl Pflästerer
2005-03-15 18:16 ` Reiner Steib
2005-03-15 19:22   ` Karl Pflästerer
2005-03-20 19:55     ` Reiner Steib
2005-03-20 21:55       ` Miles Bader
2005-03-21 18:37         ` Reiner Steib
2005-03-21 22:32           ` Karl Pflästerer
2005-03-21 22:47           ` Miles Bader
2005-03-22  9:45             ` Reiner Steib
2005-03-23  0:44               ` Miles Bader
2005-03-21 22:11         ` Karl Pflästerer [this message]
2005-03-21 22:04       ` Karl Pflästerer
2005-03-22 16:46       ` Reiner Steib
2005-03-23  8:30       ` Miles Bader
2005-03-23  8:56         ` Reiner Steib
2005-03-23  9:48           ` Miles Bader
2005-03-23 14:53             ` Reiner Steib

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=uoedcd5at.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).