all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: emacs-devel@gnu.org
Subject: Re: `texinfo-format-buffer' doesn't fold long lines
Date: Mon, 28 Feb 2005 15:11:34 +0000 (UTC)	[thread overview]
Message-ID: <m1D5mYY-0004QmC@rattlesnake.com> (raw)
In-Reply-To: <b9yis4dyre7.fsf@jpl.org> (message from Katsumi Yamaoka on Mon, 28 Feb 2005 18:18:08 +0900)

Katsumi Yamaoka <yamaoka@jpl.org> 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

  reply	other threads:[~2005-02-28 15:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-28  9:18 `texinfo-format-buffer' doesn't fold long lines Katsumi Yamaoka
2005-02-28 15:11 ` Robert J. Chassell [this message]
2005-02-28 23:57   ` Katsumi Yamaoka
2005-03-01  4:36     ` Eli Zaretskii
2005-03-01  5:32       ` Katsumi Yamaoka
2005-03-01 19:42         ` Eli Zaretskii
2005-03-01 15:30       ` Robert J. Chassell
2005-03-02 11:22     ` Richard Stallman
2005-03-02 12:21       ` Katsumi Yamaoka
2005-03-03 11:03         ` Richard Stallman
2005-03-03 11:54           ` Katsumi Yamaoka
2005-03-04  4:52             ` support of Japanese in makeinfo Katsumi Yamaoka
2005-02-28 21:53 ` `texinfo-format-buffer' doesn't fold long lines Richard Stallman
2005-02-28 22:09   ` Stefan Monnier
2005-02-28 22:31     ` Katsumi Yamaoka
2005-03-02 11:22     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1D5mYY-0004QmC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.