bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.83; [Julian Gilbey <address@hidden>] Bug#457484: auctex:


From: Davide G. M. Salvetti
Subject: [Bug-AUCTeX] 11.83; [Julian Gilbey <address@hidden>] Bug#457484: auctex: infinite loop when trying to reformat paragraph in LaTeX mode containing overlong line
Date: Sun, 23 Dec 2007 16:44:28 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

tags 457484 - moreinfo
tags 457484 + confiremd upstream
forwarded 457484 address@hidden
thanks

[Developers: please keep address@hidden in the Cc field if and
when you reply.]

Hi, in the enclosed digest you can find the description for a bug
reported by a Debian user.  I can confirm it on my box as well.  The
original submitter didn't use TeX-submit-bug-report, so I did; here's
the info:

--8<---------------cut here---------------start------------->8---
Emacs  : GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.3)
 of 2007-12-15 on noname, modified by Debian
Package: 11.83

current state:
==============
(setq
 AUCTeX-date "2006-06-07"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "/usr/share/emacs/22.1/site-lisp/auctex/style"
                  "/var/lib/auctex/emacs22")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) 
:help
                     "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil 
(texinfo-mode) :help
                     "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t" 
TeX-run-TeX
                     nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run 
BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("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 " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("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"))
 )
--8<---------------cut here---------------end--------------->8---

-- 
Ciao, Davide
--- Begin Message --- Subject: Topics
Topics:
   Bug#457484: auctex: infinite loop when trying to reformat paragraph in LaTeX 
mode containing overlong line
   Re: Bug#457484: auctex: infinite loop when trying to reformat

--- End Message ---
--- Begin Message --- Subject: Bug#457484: auctex: infinite loop when trying to reformat paragraph in LaTeX mode containing overlong line Date: Sat, 22 Dec 2007 18:56:13 +0000
Package: auctex
Version: 11.83-7

With the following lines:

{
  \emph{This foreword is an edited version of
      an article which can be found at}
  
\url{http://www.some.really.long.url/which/cannot/be/broken/anywhere/at/all.pdf}
}

placing the cursor on the line beginning "an article" and typing M-q
to reformat the paragraph results in an infinite loop: interrupting
with C-g shows that thousands of blank lines have been inserted before
the \url line.  I am using emacs22-gtk, version 22.1+1-2.3 if that is
of use.

   Julian




--- End Message ---
--- Begin Message --- Subject: Re: Bug#457484: auctex: infinite loop when trying to reformat paragraph in LaTeX mode containing overlong line Date: Sun, 23 Dec 2007 09:54:36 +0000
On Sun, Dec 23, 2007 at 12:47:27AM +0100, Davide G. M. Salvetti wrote:
> tags 457484 + moreinfo
> thanks

> I can not reproduce the bug here with auctex 11.83-7 and GNU Emacs
> 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.1) of 2007-11-03 on pacem,
> modified by Debian.
> 
> Can you please provide a complete minimal document?  I used the
> following one:

Ah, I've found the culprit: it's \usepackage{url}.  Minimal document:

\documentclass{book}

\usepackage{url}

\begin{document}

{
  \hbox to \textwidth{\emph{This foreword is an edited version of
      an article which can be found at}}
  
\url{http://www.some.really.long.url/which/cannot/be/broken/anywhere/at/all.pdf}
}

\end{document}


   Julian



--- End Message ---

reply via email to

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