[Top][All Lists]

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

Re: [Bug-AUCTeX] 11.83; problem with emacs' auto-fill and auctex's foldi

From: Patrick Drechsler
Subject: Re: [Bug-AUCTeX] 11.83; problem with emacs' auto-fill and auctex's folding mode in noweb mode
Date: Sun, 08 Oct 2006 23:47:38 +0200
User-agent: Thunderbird (X11/20060922)

Hi Ralf,

Ralf Angeli wrote:
* Patrick Drechsler (2006-10-08) writes:

I am not sure if this is a problem which is more related to
AUCTeX's folding mode or noweb-mode.

Do you save this as a LaTeX or a noweb file?

Sorry for not including this information in my original post. This
minimal example file is stored as a noweb file (ending in *.Rnw; I.e. testing.Rnw).

The sentence above seems to imply that noweb mode was activated
during testing.  Is this correct?  Which version of noweb-mode.el are
you using in case it is?

I'm using the noweb-mode included in the Emacs-CVS version I'm using (`M-x noweb-mode-version'):

Furthermore I have this in my init.el[1]

Thorsten's noweb-mode (PRERELEASE). RCS: Imported to ESS Subversion repository and RCS ids not maintained.

Maybe the Emacs CVS version which is used as snapshot is at fault? (`M-x emacs-version'):

GNU Emacs (i486-pc-linux-gnu, GTK+ Version 2.8.17) of 2006-08-24 on vernadsky, modified by Debian

Using AUCTeX 11.83 and the CVS version mentioned below breaks auto-filling (line-breaking at a certain column length).
Especially: `M-q' goes into an endless loop taking 100% CPU.

I cannot reproduce this with AUCTeX 11.83, CVS Emacs and the version of noweb-mode.el currently downloadable from <URL:http://www.tug.org/tex-archive/web/noweb/src/elisp/noweb-mode.el>.

I am using the current ESS version (incl. noweb-mode.el):


 Are there any error messages in the *Messages* buffer?

No, there are no error messages in the *Messages* buffer. Emacs just hangs (and uses 100% CPU).

Are there any tests I can perform or should I post this question to the ESS mailing list?

I am sorry not to have to much time at hand for debugging. If I get the chance I will download the CTAN version of noweb and test again. Although I think the normal user will take (a) the version available with his/her distribution or (b) go with the current auctex/ess version (changing one's Emacs version might influence more things than expected).

Otherwise feel free to forward to the ESS ML.




;; Sweave mode:
(defun Rnw-mode ()
  (require 'ess-noweb)
  (if (fboundp 'R-mode)
      (setq noweb-default-code-mode 'R-mode)))
(add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode))
(add-to-list 'auto-mode-alist '("\\.Snw\\'" . Rnw-mode))

(setq reftex-file-extensions
      '(("Snw" "Rnw" "nw" "tex" ".tex" ".ltx") ("bib" ".bib")))
(setq TeX-file-extensions
      '("Snw" "Rnw" "nw" "tex" "sty" "cls" "ltx" "texi" "texinfo"))

reply via email to

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