* Info navigation is broken
@ 2002-06-02 8:26 David Ponce
2002-06-02 8:31 ` David Ponce
0 siblings, 1 reply; 10+ messages in thread
From: David Ponce @ 2002-06-02 8:26 UTC (permalink / raw)
Hello,
Info navigation using [u]p, [n]ext, [p]rev commands is broken in
CVS version of Emacs 21. Here is a backtrace:
Debugger entered--Lisp error: (error "Node has no Up")
signal(error ("Node has no Up"))
error("Node has no %s" "Up")
Info-extract-pointer("up")
Info-up()
* call-interactively(Info-up)
Also it seems that there are two header lines in the Info buffer, like
this:
File: dir, Node: Top This is the top of the INFO tree <== header line
File: dir, Node: Top This is the top of the INFO tree <== buffer
After commenting out the following line in `Info-setup-header-line'
Info navigation worked fine again.
;;; It is useful to be able to copy the links line out of the buffer
;;; with M-w.
;;; (narrow-to-region (1+ header-end) (point-max))
Sincerely,
David
In GNU Emacs 21.3.50.1 (i386-mingw-nt4.0.1381)
of 2002-05-30 on EBAT311
configured using `configure --with-gcc (2.95)'
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: ENU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Info navigation is broken
2002-06-02 8:26 Info navigation is broken David Ponce
@ 2002-06-02 8:31 ` David Ponce
2002-06-03 11:41 ` Richard Stallman
0 siblings, 1 reply; 10+ messages in thread
From: David Ponce @ 2002-06-02 8:31 UTC (permalink / raw)
> After commenting out the following line in `Info-setup-header-line'
> Info navigation worked fine again.
>
> ;;; It is useful to be able to copy the links line out of the buffer
> ;;; with M-w.
> (narrow-to-region (1+ header-end) (point-max))
Oops! You should have read : After uncommenting the abobe line.
Sorry!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Info navigation is broken
2002-06-02 8:31 ` David Ponce
@ 2002-06-03 11:41 ` Richard Stallman
0 siblings, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2002-06-03 11:41 UTC (permalink / raw)
Cc: emacs-devel
Thanks for the bug report. Does this patch fix it?
*** info.el.~1.301.~ Wed May 29 12:45:59 2002
--- info.el Sun Jun 2 20:20:56 2002
***************
*** 1247,1256 ****
(save-excursion
(save-restriction
(goto-char (point-min))
! (when Info-header-line
! ;; expose the header line in the buffer
! (widen)
! (forward-line -1))
(let ((bound (point)))
(forward-line 1)
(cond ((re-search-backward (concat name ":") bound t)
--- 1247,1256 ----
(save-excursion
(save-restriction
(goto-char (point-min))
! ;;; (when Info-header-line
! ;;; ;; expose the header line in the buffer
! ;;; (widen)
! ;;; (forward-line -1))
(let ((bound (point)))
(forward-line 1)
(cond ((re-search-backward (concat name ":") bound t)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Info navigation is broken
@ 2002-06-03 12:05 David Ponce
2002-06-04 23:26 ` Richard Stallman
0 siblings, 1 reply; 10+ messages in thread
From: David Ponce @ 2002-06-03 12:05 UTC (permalink / raw)
Cc: emacs-devel
Richard Stallman wrote:
> Thanks for the bug report. Does this patch fix it?
Yes thanks! Navigation works now. But there are still two headers:
One in the header line like this (menu Help/Read the Emacs Manual):
Next: Distrib, Prev: (dir), Up: (dir)
Another in the buffer (the first line):
File: emacs, Node: Top, Next: Distrib, Prev: (dir), Up: (dir)
I just started Emacs with emacs -q --no-site-file.
David
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-06-07 0:44 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-02 8:26 Info navigation is broken David Ponce
2002-06-02 8:31 ` David Ponce
2002-06-03 11:41 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2002-06-03 12:05 David Ponce
2002-06-04 23:26 ` Richard Stallman
2002-06-05 15:16 ` Stefan Monnier
2002-06-05 16:39 ` Eli Zaretskii
2002-06-05 23:55 ` Miles Bader
2002-06-06 4:45 ` Eli Zaretskii
2002-06-07 0:44 ` Richard Stallman
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).