This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.
Hello Martin,
Am Sun, Mar 10, 2024 at 10:14:20PM +0100 schrieb Martin Quinson:
Instead, I'd appreciate if you could do a merge request with a test file, along
with the expected output. It'd save me the time to dig into the discussion of this bug.
I'm not saying that I won't fix it w/o this test case. I'm just saying that providing a test case is a better approach to speedup the fix than severity abuse.
I hope explaining the test file in this bug is fine as well, because
I'm not sure what to do exactly merge and how.
The test case is groff(1) as it is in Debian unstable:
$ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim --option generated --option untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,UNINDENT,UN,a.RE,\|" --option unknown_macros=untranslated --master groff.
1 -M utf-8 -p test.pot
groff.1:2279: (po4a::man)
Escape sequence \c encountered. This is not completely
handled yet.
And there is no output.
If I do a crude preprocessing, it kind of works:
$ cat groff.1 | perl -p -e 's/\\c\n//' > groff.test.1
$ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim --option generated --option untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,UNINDENT,UN,a.RE,\|" --option unknown_macros=untranslated --master groff.
test.1 -M utf-8 -p test.pot
$ wc -l test.pot
3157 test.pot
I hope this helps you working on this, together with the discussion in
this bug.
Thanks for your support!
Greetings
Helge
--
Dr. Helge Kreutzmann
debian@helgefjell.de
Dipl.-Phys.
http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre":
http://www.ffii.de/
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmXzVn0ACgkQQbqlJmgq 5nC34g//UoKv6utXdTy6PqS/QSXJHeY+G30v3NZC3r3ArjdI9FbeZSAnkVQ2HXJ1 +iFkH7mrZKDvwB9qQsWJDyXZ249bFWyyLTTbKSwwhiXBKwYUqrHGWg/ZkbVcTKrc rbIcK3PqHEOnN4IWukugTR8Qof2R8id23yKnvqAN29WZE097BfM21RQ4yrD7f6Zs ubGbnDJGLu3cnOIoCBrP1++0KuI6V/BPw0tQ2k2jb+5oOQ8eZCSjV1yf29aXWNJp qjmdO9JZPN53pnmgjYIvpHe5B7fg2lX7tltfxIKkihHLblQZN8RRzJgQE/jhufs/ z0fZl5ikWn7dfHPf+zn5P9x9gHlQ86//Oio4BUDK24EuIr8Zh3nhto1Zf0uKZZy4 w2Hl9mnFVuC/zCbwzWGKMYqGmphnsyoC0xSqtrOrpZO5B95L+BGHiBsVVs5uZvjy 8sbs0N/yVmjq8V2OBmUHVB5ciRWwWv1WEV3fZCELaAtDgE2XnE1tPy7VcnIKIBZk 1QJNK32A30CARMZoUP/LZiPrwUtP++ytBuiGpUJA147adc6W9vL3RpAiOTJXQPp4 +bIJKVc++Ou+L0G/1b6RbFxVLOXTVp5QIsgyyHD