From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel,gmane.comp.tex.texinfo.bugs Subject: Re: [yamaoka@jpl.org: makeinfo 4.11 breaks direntry] Date: Sat, 13 Oct 2007 18:46:02 -0500 Message-ID: <200710132346.l9DNk2A26855@f7.net> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1192319191 14065 80.91.229.12 (13 Oct 2007 23:46:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 23:46:31 +0000 (UTC) To: emacs-devel@gnu.org, bug-texinfo@gnu.org, yamaoka@jpl.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 14 01:46:21 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgqgW-0004M8-JK for ged-emacs-devel@m.gmane.org; Sun, 14 Oct 2007 01:46:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgqgP-0008J7-KX for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 19:46:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgqgM-0008IX-3f for emacs-devel@gnu.org; Sat, 13 Oct 2007 19:46:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgqgJ-0008IA-OH for emacs-devel@gnu.org; Sat, 13 Oct 2007 19:46:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgqgJ-0008I6-Fn; Sat, 13 Oct 2007 19:46:07 -0400 Original-Received: from server1.f7.net ([64.34.169.74] helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgqgJ-00059B-1X; Sat, 13 Oct 2007 19:46:07 -0400 X-Envelope-From: karl@freefriends.org X-Envelope-To: emacs-devel@gnu.org Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id l9DNk2A26855; Sat, 13 Oct 2007 18:46:02 -0500 In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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 Xref: news.gmane.org gmane.emacs.devel:80829 gmane.comp.tex.texinfo.bugs:3816 Archived-At: 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'); }