From: "Drew Adams" <drew.adams@oracle.com>
To: "'martin rudalics'" <rudalics@gmx.at>,
<1116@emacsbugs.donarmstrong.com>,
"'Sung-Taek Lim'" <totohero@gmail.com>
Subject: bug#1116: Emacs hangs when executing Info-final-node
Date: Wed, 8 Oct 2008 09:00:15 -0700 [thread overview]
Message-ID: <000701c9295e$f4b950e0$c2b22382@us.oracle.com> (raw)
In-Reply-To: <48ECCA78.7080106@gmx.at>
> > C-h i ;; open *info*
> > Press '>' ;; execute 'Info-final-node and emacs hangs!
> >
> > Always reproduced.
>
> Would the attached patch help?
I don't mean to butt in here, but I suspect this is due to bug #1117 (probably =
#876). Are there extra ^M at the line ends of the Index page (which is the last
node)?
I have bug #1117 in my latest CVS version, and debugging Info-final-node shows
exactly that. The code gets here, and it just loops because "Top^M" is not
string-equal to "Top".
Debugger entered--returning value: nil
string-equal("top
" "top")
* (not (string-equal (downcase ...) "top"))
* (and (save-excursion (search-backward "up:" nil t)) (not (string-equal ...
"top")))
* (cond ((and ... ... ...) (Info-goto-node ...) t) ((save-excursion ...)
(Info-next) t) ((and ... ...) (let ... ... ...)) (no-error nil) (t (error "No
pointer forward from this node")))
* (let ((case-fold-search t)) (cond (... ... t) (... ... t) (... ...) (no-error
nil) (t ...)))
* Info-forward-node(t t)
* (while (Info-forward-node t t) nil)
* (let ((Info-history nil) (case-fold-search t)) (Info-goto-node
(Info-extract-menu-counting nil)) (while (Info-forward-node t t) nil) (while
(and ... ...) (Info-goto-node ...)))
* Info-final-node()
call-interactively(Info-final-node nil nil)
It was looking at Martin's patch that made me think of this - the code is
similar to my code that made me discover bug #1117 - same comparison of "Top^M"
with "Top", but in my case (isearch) an error was raised instead of an infinite
loop.
HTH.
next prev parent reply other threads:[~2008-10-08 16:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <48EF5EA2.8050408@gmx.at>
2008-10-08 0:48 ` bug#1116: Emacs hangs when executing Info-final-node Sung-Taek Lim
2008-10-08 14:58 ` martin rudalics
2008-10-08 16:00 ` Drew Adams [this message]
2008-10-08 18:03 ` martin rudalics
2008-10-08 18:29 ` Drew Adams
2008-10-08 16:03 ` Drew Adams
2008-10-09 12:37 ` Sung-Taek Lim
2008-10-10 14:05 ` bug#1116: marked as done (Emacs hangs when executing Info-final-node) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000701c9295e$f4b950e0$c2b22382@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=1116@emacsbugs.donarmstrong.com \
--cc=rudalics@gmx.at \
--cc=totohero@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).