From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: `texinfo-format-buffer' doesn't fold long lines Date: Mon, 28 Feb 2005 15:11:34 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1109604661 15831 80.91.229.2 (28 Feb 2005 15:31:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 15:31:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 16:31:01 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5mj4-0005lg-Ua for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 16:22:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5mpo-000135-Qd for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 10:29:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5mp9-0000r0-F6 for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:28:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5mp2-0000nt-3t for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:28:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5mp2-0000nN-0t for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:28:36 -0500 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5mYy-0003mb-8g for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:12:00 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Mon, 28 Feb 2005 15:11:34 +0000 (UTC) Original-To: Katsumi Yamaoka In-reply-to: (message from Katsumi Yamaoka on Mon, 28 Feb 2005 18:18:08 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33929 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33929 Katsumi Yamaoka wrote, In some cases, `texinfo-format-buffer' doesn't fold long lines. ... It happens because someone added "itemize\\|" to `texinfo-no-refill-regexp' as follows: (defvar texinfo-no-refill-regexp Yes, the inclusion of "itemize\\|" tells Emacs not to refill lines in an itemized list. I have commented out that inclusion and committed the change. So `texinfo-format-buffer' should work again as you expect. As I wrote at the time I included it ... I don't think this fix should be used as is. Evidentally, back in November 2001, a user in FSF India could not format the then new edition of `emacs-lisp-intro.texi' using `texinfo-format-buffer' because `texinfmt.el' created the bad line @end itemize@refill He was using a Microsoft operating system and thought (erroneously, according to Eli Zaretskii) that `makeinfo' had not yet been ported. That is why he was using the deprecated `texinfo-format-buffer' command. In any event, I completely forgot about it. You write that ... texinfmt is essential to format Japanese Info files. What needs to be changed for `makeinfo' to format them? As Eli wrote back then, I'd rather advise that users to use makeinfo. texinfmt.el doesn't support quite a few of the newer features ... We should modify `makeinfo' to handle Japanese Texinfo, if need be. `makeinfo' is faster and `texinfmt.el' was deprecated a long time ago. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc