unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [yamaoka@jpl.org: makeinfo 4.11 breaks direntry]
       [not found] <E1Ifihp-0007Uh-1G@fencepost.gnu.org>
@ 2007-10-13 23:46 ` Karl Berry
  2007-10-14 23:21   ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Berry @ 2007-10-13 23:46 UTC (permalink / raw)
  To: emacs-devel, bug-texinfo, yamaoka

    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');
         }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [yamaoka@jpl.org: makeinfo 4.11 breaks direntry]
  2007-10-13 23:46 ` [yamaoka@jpl.org: makeinfo 4.11 breaks direntry] Karl Berry
@ 2007-10-14 23:21   ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2007-10-14 23:21 UTC (permalink / raw)
  To: Karl Berry; +Cc: bug-texinfo, emacs-devel

>>>>> Karl Berry wrote:

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

> --- cmds.c.~1.76.~	2007-09-26 13:53:39.000000000 -0700
> +++ cmds.c	2007-10-13 16:43:56.000000000 -0700
> +          /* use add_* instead of insert_* because otherwise the
> +             file header ("This is ...") will end up inside the
> +             dir section markers.  */

Works fine.  Thank you.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-14 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1Ifihp-0007Uh-1G@fencepost.gnu.org>
2007-10-13 23:46 ` [yamaoka@jpl.org: makeinfo 4.11 breaks direntry] Karl Berry
2007-10-14 23:21   ` Katsumi Yamaoka

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).