bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20317: 11.88; LaTeX-fill-environment in xemacs and GNU emacs


From: Uwe Brauer
Subject: bug#20317: 11.88; LaTeX-fill-environment in xemacs and GNU emacs
Date: Mon, 13 Apr 2015 15:09:38 +0200
User-agent: Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b34 (linux)


Hello

Approximately since 11.85 (I only recently switched to 11.88) I noted a
sharp difference of the LaTeX-fill-environment (and friends) function.

    -  while the GNU emacs version works as a charm, fast and reliable.

    -  the Xemacs version runs considerably slower (factor 10) and in
       some cases tries to add unwanted space and prefix space as in the
       following example:

\begin{enumerate}

\item \textquestiondown Qu\'e tipo de distribuci\'on de probabilidad sigue X? 
Calcular la probabilidad de que se emita al menos una part\'\i cula en
un segundo.
\begin{equation}
\label{eq:hoja4:26}
X\sim P (\lambda=0.51)
\end{equation}
As\'\i{} que 
\begin{equation}
\label{eq:hoja4:34}
P(X\geq 1)=1-P(X=0)=1-\frac{e^{-0.51}0.51^0}{0!}\sim 0.4
\end{equation}
\end{enumerate}

When I start 
       
LaTeX-fill-environment, the minibuffer tells me 50% formated, then the
process seems to get stuck I interrupt with C-g and see a huge empty
space added to 
\begin{enumerate}

  \item \textquestiondown Qu\'e tipo de distribuci\'on de probabilidad
  sigue X?

  Calcular la probabilidad de que se emita al menos una part\'\i cula
  en un segundo.

  \begin{equation}
    \label{eq:hoja4:26}
    X\sim P (\lambda=0.51)

A LOT OF EMPTY SPACE added



Now I know that there are no Xemacs users among the developers, but
maybe someone could point me out recent changes which had be made with
this functions so that I could ask on Xemacs-beta. Right now the filling
functions are unfortunately, for Xemacs, almost useless.

thanks

Uwe Brauer 


Emacs  : XEmacs 21.5  (beta34) "kale" 58e72e27fb81+ [Lucid] (i686-pc-linux, 
Mule) of Wed Mar 18 2015 on Gilgamesch
Package: 11.88

current state:
==============
(setq
 AUCTeX-date "2014-10-29"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/var/auctex/" 
"/usr/local/share/xemacs/xemacs-packages/etc/auctex/style"
                                  "/home/oub/.emacs.d/auctex/auto" 
"/home/oub/.emacs.d/auctex/style" "auto" "style"
                                  "/home/oub/tex/sty/auto")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master nil
 TeX-command-list '(("TeX" "%(PDF)%(tex) %(extraopts) %`%S%(PDFout)%(mode)%' 
%t" TeX-run-TeX nil
                                         (plain-tex-mode texinfo-mode 
ams-tex-mode) :help "Run plain TeX")
                                        ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX 
nil (latex-mode doctex-mode) :help "Run LaTeX")
                                        ("Makeinfo" "makeinfo %(extraopts) %t" 
TeX-run-compile nil (texinfo-mode) :help
                                         "Run Makeinfo with Info output")
                                        ("Makeinfo HTML" "makeinfo %(extraopts) 
--html %t" TeX-run-compile nil (texinfo-mode) :help
                                         "Run Makeinfo with HTML output")
                                        ("AmSTeX" "%(PDF)amstex %(extraopts) 
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
                                         (ams-tex-mode) :help "Run AMSTeX")
                                        ("ConTeXt" "texexec --once --texutil 
%(extraopts) %(execopts)%t" TeX-run-TeX nil
                                         (context-mode) :help "Run ConTeXt 
once")
                                        ("ConTeXt Full" "texexec %(extraopts) 
%(execopts)%t" TeX-run-TeX nil (context-mode) :help
                                         "Run ConTeXt until completion")
                                        ("BibTeX" "bibtex %s" TeX-run-BibTeX 
nil t :help "Run BibTeX")
                                        ("Biber" "biber %s" TeX-run-Biber nil t 
:help "Run Biber")
                                        ("View" "%V" 
TeX-run-discard-or-function t t :help "Run Viewer")
                                        ("evince" "/usr/bin/evince %G" 
TeX-run-command t t)
                                        ("xpdf" "/usr/bin/xpdf %G" 
TeX-run-command t t)
                                        ("fullxpdf" "/usr/bin/xpdf -fullscreen 
%G" TeX-run-command t t)
                                        ("oolatex" "/usr/share/tex4ht/oolatex 
%t" TeX-run-command t t)
                                        ("panlatex2odt" "pandoc -s -R -f latex 
--toc %t -t odt -o %O" TeX-run-command t t)
                                        ("panlatex2rtf" "pandoc -s -R -f latex 
--toc %t -t rtf -o %R" TeX-run-command t t)
                                        ("latex2rtf" "latex2rtf -f0 %t" 
TeX-run-command nil t)
                                        ("oabiword" "abiword %O" 
TeX-run-command nil t)
                                        ("rabiword" "abiword %R" 
TeX-run-command t t)
                                        ("Print" "%p" TeX-run-command t t :help 
"Print the file")
                                        ("Queue" "%q" TeX-run-background nil t 
:help "View the printer queue" :visible
                                         TeX-queue-command)
                                        ("File" "%(o?)dvips %d -o %f | ps2pdf 
%f" TeX-run-command t t :help
                                         "Generate PostScript file")
                                        ("Index" "makeindex %s" TeX-run-command 
nil t :help "Create index file")
                                        ("makenomen" "makeindex %s.nlo -s 
nomencl.ist -o %s.nls" TeX-run-command t t)
                                        ("Xindy" "texindy %s" TeX-run-command 
nil t :help "Run xindy to create index file")
                                        ("Check" "lacheck %s" TeX-run-compile 
nil (latex-mode) :help
                                         "Check LaTeX file for correctness")
                                        ("ChkTeX" "chktex -v6 %s" 
TeX-run-compile nil (latex-mode) :help
                                         "Check LaTeX file for common mistakes")
                                        ("Spell" "(TeX-ispell-document \"\")" 
TeX-run-function nil t :help
                                         "Spell-check the document")
                                        ("Clean" "TeX-clean" TeX-run-function 
nil t :help "Delete generated intermediate files")
                                        ("Clean All" "(TeX-clean t)" 
TeX-run-function nil t :help
                                         "Delete generated intermediate and 
output files")
                                        ("Other" "" TeX-run-command t t :help 
"Run an arbitrary command"))
 )






reply via email to

[Prev in Thread] Current Thread [Next in Thread]