auctex and current emacs and current texlive
Dear Davide,
I have taken a look at the auctex packages and the bugs and
existing patches, and wanted to ask you what are your plans
concerning AucTeX? The current status is quite disappointing:
* emacs 24 is not supported (in unstable since long, but AFAIS not in wheezy)
* TeX Live 2012 doe snot trigger anything (tl2012 is in wheezy!)
I have prepared a NMU for some of the issues, collectiong what is
in the BTS:
* make update-auctex-elisp expand emacsen names correctly (Closes: #675752)
patch thanks to Baruch Siach <baruch@tkos.co.il>
* allow building and running with emacs24 (Closes: #682720, #679712)
patch by Michal Sojka <sojkam1@fel.cvut.cz>
* fix trigger iteration and quoting (Closes: #686366)
patch by Michal Sojka <sojkam1@fel.cvut.cz>
* update triggers for TeX Live >= 2012 (Closes: #681481)
The full debdiff is attached. I still call it 10.2~1 as I want some
feedback from you or others.
>From the changelog it seems that you are using git, is your repository
somewhere available? Are you willing to share the development work
with others? We could take it into the Debian TeX Group, and add you
there. This would mean you could further contribute, but we can also
provide fixes if necessary.
Please let me know your opinion, thanks a lot
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
LIFF (n.)
A book, the contents of which are totally belied by its cover. For
instance, any book the dust jacket of which bears the words. 'This
book will change your life'.
--- Douglas Adams, The Meaning of Liff
diff -Nru auctex-11.86/debian/auctex.bug-script.eperl auctex-11.86/debian/auctex.bug-script.eperl
--- auctex-11.86/debian/auctex.bug-script.eperl 2012-03-31 05:23:27.000000000 +0900
+++ auctex-11.86/debian/auctex.bug-script.eperl 2012-11-15 21:16:19.000000000 +0900
@@ -32,7 +32,7 @@
EOF
<: # Default flavors: only GNU/Emacsen, XEmacs comes with its own AUCTeX :>//
-FLAVORS=${*:-"emacs23 emacs-snapshot"}
+FLAVORS=${*:-"emacs23 emacs24 emacs-snapshot"}
for FLAVOR in ${FLAVORS}; do
if [ -x /usr/bin/${FLAVOR} ]; then
diff -Nru auctex-11.86/debian/auctex.emacsen-install.eperl auctex-11.86/debian/auctex.emacsen-install.eperl
--- auctex-11.86/debian/auctex.emacsen-install.eperl 2012-03-31 05:23:27.000000000 +0900
+++ auctex-11.86/debian/auctex.emacsen-install.eperl 2012-11-15 21:16:19.000000000 +0900
@@ -105,7 +105,7 @@
case "${FLAVOR}" in
(emacs)
;;
- (emacs23|emacs-snapshot)
+ (emacs23|emacs24|emacs-snapshot)
do_install ${FLAVOR}
do_update_auctex_elisp ${FLAVOR}
;;
diff -Nru auctex-11.86/debian/auctex.emacsen-startup.eperl auctex-11.86/debian/auctex.emacsen-startup.eperl
--- auctex-11.86/debian/auctex.emacsen-startup.eperl 2012-03-31 05:23:27.000000000 +0900
+++ auctex-11.86/debian/auctex.emacsen-startup.eperl 2012-11-15 21:16:19.000000000 +0900
@@ -5,7 +5,7 @@
;;; form "(unload-feature 'tex-site)" (i.e., put that string into your
;;; "~/.emacs" to disable AUCTeX completely).
-(if (member debian-emacs-flavor '(emacs23 emacs-snapshot))
+(if (member debian-emacs-flavor '(emacs23 emacs24 emacs-snapshot))
<: # skip if removed and not purged :>//
(if (file-exists-p "/usr/share/emacs/site-lisp/auctex/tex.el")
(progn
diff -Nru auctex-11.86/debian/auctex.postinst.eperl auctex-11.86/debian/auctex.postinst.eperl
--- auctex-11.86/debian/auctex.postinst.eperl 2012-01-16 06:04:15.000000000 +0900
+++ auctex-11.86/debian/auctex.postinst.eperl 2012-11-15 21:16:19.000000000 +0900
@@ -84,24 +84,24 @@
case "${1}" in
(triggered)
RUN_UPDATE_AUCTEX_ELISP=true
- while true; do
- case "${2}" in
+ for trigger in ${2}; do
+ case "${trigger}" in
('')
break
;;
<: # Triggered by the Emacs install script :>//
(auctex-install-*)
- FLAVORS="${FLAVORS}${FLAVORS:+' '}${2#auctex-install-}"
+ FLAVORS="${FLAVORS}${FLAVORS:+ }${trigger#auctex-install-}"
shift
;;
<: # New (La)TeX macros: need to rescan for all flavors :>//
(/*)
- FLAVORS="${FLAVORS}${FLAVORS:+' '}<all>"
+ FLAVORS="${FLAVORS}${FLAVORS:+ }<all>"
shift
;;
(*)
echo >&2 "${PROGNAME}:" \
- "Unsupported trigger: ${2}"
+ "Unsupported trigger: ${trigger}"
exit 1
;;
esac
diff -Nru auctex-11.86/debian/auctex.triggers auctex-11.86/debian/auctex.triggers
--- auctex-11.86/debian/auctex.triggers 2012-01-16 06:04:15.000000000 +0900
+++ auctex-11.86/debian/auctex.triggers 2012-11-15 21:16:19.000000000 +0900
@@ -1,3 +1,4 @@
interest /usr/share/texmf
-interest /usr/share/texmf-texlive
+interest /usr/share/texlive/texmf-dist
interest auctex-install-emacs23
+interest auctex-install-emacs24
diff -Nru auctex-11.86/debian/changelog auctex-11.86/debian/changelog
--- auctex-11.86/debian/changelog 2012-07-18 10:19:13.000000000 +0900
+++ auctex-11.86/debian/changelog 2012-11-15 21:16:19.000000000 +0900
@@ -1,3 +1,16 @@
+auctex (11.86-10.2~1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * make update-auctex-elisp expand emacsen names correctly (Closes: #675752)
+ patch thanks to Baruch Siach <baruch@tkos.co.il>
+ * allow building and running with emacs24 (Closes: #682720, #679712)
+ patch by Michal Sojka <sojkam1@fel.cvut.cz>
+ * fix trigger iteration and quoting (Closes: #686366)
+ patch by Michal Sojka <sojkam1@fel.cvut.cz>
+ * update triggers for TeX Live >= 2012 (Closes: #681481)
+
+ -- Norbert Preining <preining@debian.org> Thu, 15 Nov 2012 21:14:24 +0900
+
auctex (11.86-10.1) unstable; urgency=low
* Non-maintainer upload.
diff -Nru auctex-11.86/debian/control auctex-11.86/debian/control
--- auctex-11.86/debian/control 2012-03-31 05:23:27.000000000 +0900
+++ auctex-11.86/debian/control 2012-11-15 21:16:19.000000000 +0900
@@ -4,12 +4,12 @@
Maintainer: Davide G. M. Salvetti <salve@debian.org>
Uploaders: OHURA Makoto <ohura@debian.org>
Standards-Version: 3.9.3
-Build-Depends-Indep: debhelper (>= 8), emacs23, eperl, ghostscript, po-debconf, tex-common, texlive-latex-base, texinfo, texi2html (>=1.76)
+Build-Depends-Indep: debhelper (>= 8), emacs23 | emacs24, eperl, ghostscript, po-debconf, tex-common, texlive-latex-base, texinfo, texi2html (>=1.76)
Homepage: http://www.gnu.org/software/auctex/
Package: auctex
Architecture: all
-Depends: emacs23, preview-latex-style, dpkg (>= 1.15.4) | install-info, ${misc:Depends}
+Depends: emacs23 | emacs24, preview-latex-style, dpkg (>= 1.15.4) | install-info, ${misc:Depends}
Recommends: ghostscript, texlive-latex-recommended, xpdf | evince | evince-gtk
Suggests: catdvi, dvipng, lacheck
Breaks: emacspeak (<= 17.0-1)
diff -Nru auctex-11.86/debian/update-auctex-elisp.eperl auctex-11.86/debian/update-auctex-elisp.eperl
--- auctex-11.86/debian/update-auctex-elisp.eperl 2012-03-31 05:23:27.000000000 +0900
+++ auctex-11.86/debian/update-auctex-elisp.eperl 2012-11-15 21:16:19.000000000 +0900
@@ -42,7 +42,7 @@
esac
done
<: # Default flavors: only GNU, XEmacs comes with its own AUCTeX :>//
-FLAVORS=${*:-'emacs23 emacs-snapshot'}
+FLAVORS=${*:-'emacs23 emacs24 emacs-snapshot'}
LOGMASK='/var/lib/auctex/%s/CompilationLog'
if [ -n "${_UPDATE_AUCTEX_ELISP_DAEMON_MODE}" ]; then
@@ -62,7 +62,7 @@
"Ignoring uninstalled Emacs flavor: ${FLAVOR}"
continue
fi
- _FLAVORS="${_FLAVORS}${_FLAVORS:+' '}${FLAVOR}"
+ _FLAVORS="${_FLAVORS}${_FLAVORS:+ }${FLAVOR}"
done
if [ -n "${DAEMON_MODE}" -a "${DAEMON_MODE}" = 'true' ]; then
Reply to: