[Top][All Lists]

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

`texinfo-format-buffer' doesn't fold long lines

From: Katsumi Yamaoka
Subject: `texinfo-format-buffer' doesn't fold long lines
Date: Mon, 28 Feb 2005 18:18:08 +0900
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)


In some cases, `texinfo-format-buffer' doesn't fold long lines.
For example, try the following and you can see how it does.

;--8<---------------cut here---------------start------------->8---
  (insert "@setfilename testing
@node Top
@itemize @bullet
@enumerate 1
@enumerate a
The quick brown fox jumps over the lazy dog. The quick brown fox jumps
over the lazy dog.
@end enumerate
@end enumerate
@end itemize
  (setq buffer-file-name nil))
;--8<---------------cut here---------------end--------------->8---

There's no such problem in Emacs 21.3.  It happens because someone
added "itemize\\|" to `texinfo-no-refill-regexp' as follows:

(defvar texinfo-no-refill-regexp
   ;; add "itemize\\|"   (from experiment of 2001 Nov 28)
   ;;     because of a problem with @end address@hidden
   ;;     I don't know if this causes other problems.
   ;;     I suspect itemized lists don't get filled properly and a
   ;;     more precise fix is required.  Bob


Although I don't have a right understanding of the reason it is
necessary, I hope for it to be mended anyway.  It is because
texinfmt is essential to format Japanese Info files.


reply via email to

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