GNU bug report logs - #1188
Info reader and newlines in dir file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: dhruv@HIDDEN; dated Thu, 16 Oct 2008 21:45:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1188; Package emacs. Full text available.
Severity set to `minor' from `normal' Request was from Chong Yidong <cyd@HIDDEN> to control@HIDDEN. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 1188) by emacsbugs.donarmstrong.com; 17 Oct 2008 08:28:40 +0000
Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9H8SXJM031227
	for <1188@HIDDEN>; Fri, 17 Oct 2008 01:28:38 -0700
Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K8V00DDWJL67220@HIDDEN> for 1188@HIDDEN; Fri, 17 Oct 2008 10:29:31 +0200 (IST)
Date: Fri, 17 Oct 2008 10:28:06 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#1188: Info reader and newlines in dir file
In-reply-to: <87tzbc9q56.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: dhruv@HIDDEN, 1188 <at> debbugs.gnu.org
Cc: bug-gnu-emacs@HIDDEN
Reply-to: Eli Zaretskii <eliz@HIDDEN>
Message-id: <uod1jmxrd.fsf@HIDDEN>
References: <87tzbc9q56.fsf@HIDDEN>

> From: dhruv@HIDDEN
> Date: Thu, 16 Oct 2008 16:38:45 -0500
> Cc: 
> 
> I built and installed the MySQL Info manual.  The manual would show up
> in the dir node when I invoked `info' from the command line but was
> nowhere to be found when I invoked `info' within Emacs.  I tracked
> this down to the fact that the MySQL entry in the Info dir node was
> the last one and that there was no newline after it.  Inserted a
> newline allowed Emacs to "see" the manual and load it up properly
> inside Info running in Emacs.  This might be purposeful design, but it
> feels like a bug to me: Emacs Info should behave like the command-line
> info and not any different.

The Emacs Info reader and the stand-alone Info reader are two
different implementations of the same informal specification.  There's
no formal specification of the structure of a valid Info file.  So
there's little hope for both of them working identically in bordeline
cases such as this one, especially since they are written in two very
different programming languages.  As a matter of fact, they have
different features, albeit minor ones.

I would also argue that an entry in DIR without a newline is a bug in
whatever procedure you followed to install that Info manual.

Bottom line, my recommendation is not to try to fix this, at least not
now, for fear of breaking something more important at the time when
the efforts are on fixing real bugs (of which there are too many, IMO)
in order to begin the pretest.  But that's me.




Acknowledgement sent to Eli Zaretskii <eliz@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1188; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-8.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 17 Oct 2008 08:28:36 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9H8SVeB031228
	for <submit@HIDDEN>; Fri, 17 Oct 2008 01:28:33 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KqkhD-0003Di-97
	for bug-gnu-emacs@HIDDEN; Fri, 17 Oct 2008 04:28:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KqkhB-0003Bx-U7
	for bug-gnu-emacs@HIDDEN; Fri, 17 Oct 2008 04:28:30 -0400
Received: from [199.232.76.173] (port=37195 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1KqkhB-0003BZ-LK
	for bug-gnu-emacs@HIDDEN; Fri, 17 Oct 2008 04:28:29 -0400
Received: from mtaout7.012.net.il ([84.95.2.19]:14600)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <eliz@HIDDEN>)
	id 1KqkhB-0002PD-F4
	for bug-gnu-emacs@HIDDEN; Fri, 17 Oct 2008 04:28:29 -0400
Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K8V00DDWJL67220@HIDDEN> for bug-gnu-emacs@HIDDEN; Fri, 17 Oct 2008 10:29:31 +0200 (IST)
Date: Fri, 17 Oct 2008 10:28:06 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#1188: Info reader and newlines in dir file
In-reply-to: <87tzbc9q56.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: dhruv@HIDDEN, 1188 <at> debbugs.gnu.org
Cc: bug-gnu-emacs@HIDDEN
Reply-to: Eli Zaretskii <eliz@HIDDEN>
Message-id: <uod1jmxrd.fsf@HIDDEN>
References: <87tzbc9q56.fsf@HIDDEN>
X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?)
X-CrossAssassin-Score: 2

> From: dhruv@HIDDEN
> Date: Thu, 16 Oct 2008 16:38:45 -0500
> Cc: 
> 
> I built and installed the MySQL Info manual.  The manual would show up
> in the dir node when I invoked `info' from the command line but was
> nowhere to be found when I invoked `info' within Emacs.  I tracked
> this down to the fact that the MySQL entry in the Info dir node was
> the last one and that there was no newline after it.  Inserted a
> newline allowed Emacs to "see" the manual and load it up properly
> inside Info running in Emacs.  This might be purposeful design, but it
> feels like a bug to me: Emacs Info should behave like the command-line
> info and not any different.

The Emacs Info reader and the stand-alone Info reader are two
different implementations of the same informal specification.  There's
no formal specification of the structure of a valid Info file.  So
there's little hope for both of them working identically in bordeline
cases such as this one, especially since they are written in two very
different programming languages.  As a matter of fact, they have
different features, albeit minor ones.

I would also argue that an entry in DIR without a newline is a bug in
whatever procedure you followed to install that Info manual.

Bottom line, my recommendation is not to try to fix this, at least not
now, for fear of breaking something more important at the time when
the efforts are on fixing real bugs (of which there are too many, IMO)
in order to begin the pretest.  But that's me.





Acknowledgement sent to Eli Zaretskii <eliz@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1188; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA,
	RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 16 Oct 2008 21:39:14 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9GLdAsG032315
	for <submit@HIDDEN>; Thu, 16 Oct 2008 14:39:12 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KqaYo-0008Ua-Ei
	for bug-gnu-emacs@HIDDEN; Thu, 16 Oct 2008 17:39:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KqaYn-0008UO-Pe
	for bug-gnu-emacs@HIDDEN; Thu, 16 Oct 2008 17:39:09 -0400
Received: from [199.232.76.173] (port=48737 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1KqaYn-0008UL-Jg
	for bug-gnu-emacs@HIDDEN; Thu, 16 Oct 2008 17:39:09 -0400
Received: from mail1.ph.utexas.edu ([128.83.155.21]:38260 helo=pcgxmt1.ph.utexas.edu)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <dhruv@HIDDEN>)
	id 1KqaYn-0000Xa-4K
	for bug-gnu-emacs@HIDDEN; Thu, 16 Oct 2008 17:39:09 -0400
X-ph.utexas.edu-MailScanner-Watermark: 1224797964.73664@/B4wy/oDI8H3sY7jLLbq3A
Received: from mail3.ph.utexas.edu (mail3-internal [172.16.78.25])
	by pcgxmt1.ph.utexas.edu (8.12.11.20060308/8.12.11) with ESMTP id m9GLdLs3025105
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <bug-gnu-emacs@HIDDEN>; Thu, 16 Oct 2008 16:39:22 -0500
X-ph.utexas.edu-MailScanner-Watermark: 1224797957.65489@X6tBtwHmx0WpwRzIQS5mcQ
Received: from silicon.austin.rr.com (silicon.ph.utexas.edu [146.6.180.81])
	by mail3.ph.utexas.edu (8.14.2/8.14.2) with ESMTP id m9GLdEXh021038
	for <bug-gnu-emacs@HIDDEN>; Thu, 16 Oct 2008 16:39:16 -0500
From: dhruv@HIDDEN
Date: Thu, 16 Oct 2008 16:38:45 -0500
Message-Id: <87tzbc9q56.fsf@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Info reader and newlines in dir file
User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=)
 APEL/10.7 Emacs/22.1 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
X-ph.utexas.edu-MailScanner: Thought to be clean, Thought to be clean
X-ph.utexas.edu-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
	score=1.207, required 6, AWL -1.29, BAYES_00 -1.00,
	BLACKHOLE_SSAGE 2.50, PH_ONELETTER_HOST 1.00), 
X-ph.utexas.edu-MailScanner-SpamScore: s
X-ph.utexas.edu-MailScanner-Information: Contact: abuse@HIDDEN
X-MailScanner-ID: m9GLdLs3025105
X-MailScanner-From: dhruv@HIDDEN
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6

I built and installed the MySQL Info manual.  The manual would show up
in the dir node when I invoked `info' from the command line but was
nowhere to be found when I invoked `info' within Emacs.  I tracked
this down to the fact that the MySQL entry in the Info dir node was
the last one and that there was no newline after it.  Inserted a
newline allowed Emacs to "see" the manual and load it up properly
inside Info running in Emacs.  This might be purposeful design, but it
feels like a bug to me: Emacs Info should behave like the command-line
info and not any different.


In GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-05-02 on terranova, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  display-time-mode: t
  show-paren-mode: t
  punch-clock-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
r y SPC f o r SPC M y S Q L SPC w a s SPC t h e SPC 
l s a <backspace> <backspace> a s t SPC o n e SPC i 
n SPC t h e SPC = - d <backspace> <backspace> d i r 
= SPC f i l e SPC a n d SPC t h a t SPC n o SPC n e 
w l i n e SPC f o l l o w e d SPC i t . SPC SPC A d 
d i n g SPC a SPC n e w l i n e SPC a l l o w e d SPC 
E m a <M-backspace> <M-backspace> m a k e s SPC E m 
a c s SPC n o w SPC r e c o g n i z e SPC i <backspace> 
a n d SPC r e a d SPC i t SPC i n t o SPC I n f o SPC 
i n s i d e SPC o f SPC E m a c s . SPC SPC W h a t 
SPC a SPC s t u p i d SPC b u g . M-q C-x C-s M-x s 
e n d SPC <tab> <s-backspace> C-h a b u g SPC r e p 
o r t <return> C-x o C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n <return> C-x o 
C-x 1 M-x r e p o r t SPC e m a c s SPC m <backspace> 
b u g <return> I n f o M-x r e C-g M-x r e p o r t 
SPC e m a c s SPC b u g <return>

Recent messages:
Quit
Loading apropos...done
Type C-x 1 to remove help window.   [2 times]
Type C-x 4 C-o RET to restore the other window.   [2 times]

Loading emacsbug...done
 [2 times]
call-interactively: Command attempted to use minibuffer while in minibuffer
Quit
 [3 times]





Acknowledgement sent to dhruv@HIDDEN:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1188; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.