GNU bug report logs - #11999
24.1.50; New Info file suffix ".info" breaks `Info-find-node-2'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 20 Jul 2012 16:21:01 UTC

Severity: normal

Found in version 24.1.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 11999 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 11999 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#11999: 24.1.50;
	New Info file suffix ".info" breaks `Info-find-node-2'
Date: Fri, 20 Jul 2012 23:43:19 +0300
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Fri, 20 Jul 2012 11:45:33 -0700
> Cc: 11999 <at> debbugs.gnu.org
> 
> > > The code does exactly the same thing, step by step.  But when
> > > `info-insert-file-contents' is called in the 7/16 build it 
> > > returns nil instead of t
> > 
> > info-insert-file-contents doesn't return a boolean (in fact it doesn't
> > return any useful value at all).
> 
> Look at the two backtraces.  Contrast their first lines.
> 
> It should be clear that I meant `info-file-exists-p', not
> `info-insert-file-contents'.
> 
> This is the problem - there is no such file:
> 
>   info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs")

You will need to explain more, because info-insert-file-contents first
tests for the argument FILENAME, and if that does not exist, it tries
FILENAME with every extension in Info-suffix-list, which includes
".info".

In particular, this works for me on MS-Windows:

  M-: (info-insert-file-contents "d:/path/to/emacs/info/emacs") RET

and loads emacs.info.  Why doesn't it work for you?




This bug report was last modified 12 years and 315 days ago.

Previous Next


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