Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20466 - [docutils] renaming of rst2* scripts breaks Emacs rst.el
Attached to Project:
Community Packages
Opened by craig (craig) - Friday, 13 August 2010, 17:47 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 16 August 2010, 10:19 GMT
Opened by craig (craig) - Friday, 13 August 2010, 17:47 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 16 August 2010, 10:19 GMT
|
DetailsDescription:
Some features of Emacs' reStructuredText major mode fail because renaming of rst2* scripts in the Docutils PKGBUILD breaks Emacs rst.el. Additional info: The Docutils PKGBUILD contains this: for f in $pkgdir/usr/bin/*.py; do mv $f $pkgdir/usr/bin/$(basename $f .py) done which renames rst2html.py (and similar scripts) to rst2html (et cetera). I assume this renaming is done for aesthetic reasons. Unfortunately, the reStructuredText mode file for Emacs (rst.el), which I believe comes from the Docutils project, contains: (defvar rst-compile-toolsets '((html . ("rst2html.py" ".html" nil)) (latex . ("rst2latex.py" ".tex" nil)) (newlatex . ("rst2newlatex.py" ".tex" nil)) (pseudoxml . ("rst2pseudoxml.py" ".xml" nil)) (xml . ("rst2xml.py" ".xml" nil)) (pdf . ("rst2pdf.py" ".pdf" nil)) (s5 . ("rst2s5.py" ".xml" nil))) "An association list of the toolset to a list of the (command to use, extension of produced filename, options to the tool (nil or a string)) to be used for converting the document.") and therefore anything in Emacs that relies on the rst-compile-toolsets variable will fail to work properly, because files with the standard names do not exist. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 16 August 2010, 10:19 GMT
Reason for closing: Fixed
Additional comments about closing: replace renaming with symlinks
Monday, 16 August 2010, 10:19 GMT
Reason for closing: Fixed
Additional comments about closing: replace renaming with symlinks
Comment by Ionut Biru (wonder) -
Friday, 13 August 2010, 18:30 GMT
for what package did you fill the bug?
Comment by craig (craig) -
Friday, 13 August 2010, 18:52 GMT
Docutils