[Po4a-devel]Add an option to tweak po references

Martin Quinson martin.quinson@loria.fr
Wed, 29 Jun 2005 01:45:28 +0200


--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 29, 2005 at 01:15:28AM +0200, Francois Gouget wrote:
> Martin Quinson wrote:
> [...]
> >I always play with -I^#: but I agree that this may be suboptimal, and wi=
th
> >your point in general.
>=20
> Hmm, what' -I^#?

How to instruct diff to ignore ignorable changes
=20
> [...]
> >>Now, the logical place to implement this is the Po.pm module but it was=
=20
> >>not possible to pass options to it. So I added a -O option which passes=
=20
> >>options to the Po.pm module (via TransTractor,pm) instead of the format=
=20
> >>module.
> >
> >I don't really like it. Users shouldn't really care about whether the=20
> >option
> >is for this part of the code or that one.
>=20
> Agreed.
>=20
>=20
> > Couldn't we seed the option set of
> >each modules from the transtractor code or such?
>=20
> I've tried something like this but it failed because Sgml.pm complained=
=20
> it did not know about 'porefs'.
> Maybe the modules should add the options they recognize to a hash list=20
> that they would return to whoever controls things at the top. Then any=20
> option missing from the hash would be reported as an error.

It was somehow my idea. Will see if it works...

> >Mixing module options and "general" ones (ie, for Po.pm or so) would also
> >allow to add this feature to all binaries, not only updatepo.
>=20
> Yes, po4a-gettextize would probably need this option too.
>=20
> [...]
> >I'll try to give it a spin tomorow.
>=20
> Great!

To be continued.
Mt.

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCweEYIiC/MeFF8zQRAid9AJ9urvqPcDl339coKCVKNl7T6lgx8gCfUL5j
czuokotIeMy3QtTMnQ2mqh0=
=3XaQ
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--