unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: karl@freefriends.org (Karl Berry)
To: emacs-devel@gnu.org, bug-texinfo@gnu.org, yamaoka@jpl.org
Subject: Re: [yamaoka@jpl.org: makeinfo 4.11 breaks direntry]
Date: Sat, 13 Oct 2007 18:46:02 -0500	[thread overview]
Message-ID: <200710132346.l9DNk2A26855@f7.net> (raw)
In-Reply-To: <E1Ifihp-0007Uh-1G@fencepost.gnu.org>

    START-INFO-DIR-ENTRY
    This is ../../info/elisp, produced by makeinfo version 4.11 from elisp.texi.

I made the following change to fix this.  Thanks for the report.

karl


--- cmds.c.~1.76.~	2007-09-26 13:53:39.000000000 -0700
+++ cmds.c	2007-10-13 16:43:56.000000000 -0700
@@ -1633,6 +1633,10 @@
         {
+          /* use add_* instead of insert_* because otherwise the
+             file header ("This is ...") will end up inside the
+             dir section markers.  */
           kill_self_indent (-1); /* make sure there's no indentation */
-          insert_string ("INFO-DIR-SECTION ");
-          insert_string (line);
-          insert ('\n');
+          cm_noindent (); /* make sure again */
+          add_word ("INFO-DIR-SECTION ");
+          add_word (line);
+          add_char ('\n');
         }

       reply	other threads:[~2007-10-13 23:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Ifihp-0007Uh-1G@fencepost.gnu.org>
2007-10-13 23:46 ` Karl Berry [this message]
2007-10-14 23:21   ` [yamaoka@jpl.org: makeinfo 4.11 breaks direntry] Katsumi Yamaoka

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=200710132346.l9DNk2A26855@f7.net \
    --to=karl@freefriends.org \
    --cc=bug-texinfo@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=yamaoka@jpl.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).