From: Darren Hoo <darren.hoo@gmail.com>
To: 14268@debbugs.gnu.org
Subject: bug#14268: 24.3.50; isearch-repeat-forward without isearch-forward first signals error
Date: Fri, 26 Apr 2013 02:11:05 +0800 [thread overview]
Message-ID: <CAJ+QY_EfBtpLt_W+_HrW7dMy5bhdpRo5XvD-k_vZSVapOgY1XQ@mail.gmail.com> (raw)
Start Emacs cleanly and doing an isearch-repeat-forward, it is
expected to show the message [No previous search string] in the
echo area, but it raises the following instead:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
isearch-fail-pos(t)
isearch-message()
isearch-update()
isearch-repeat(forward)
isearch-repeat-forward()
call-interactively(isearch-repeat-forward nil nil)
command-execute(isearch-repeat-forward)
In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.3.0, NS apple-appkit-1187.37)
of 2013-04-25 on Darren-rMBP.local
Bzr revision: 112377 yamaoka@jpl.org-20130424220721-t957vh44sdvmxj28
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure --with-ns'
diff --git a/lisp/isearch.el b/lisp/isearch.el
index b36b250..b38bfc8 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1106,8 +1106,9 @@ If MSG is non-nil, use variable
`isearch-message', otherwise `isearch-string'."
(curr-msg (if msg isearch-message isearch-string))
succ-msg)
(when (or (not isearch-success) isearch-error)
- (while (or (not (isearch--state-success (car cmds)))
- (isearch--state-error (car cmds)))
+ (while (and cmds
+ (or (not (isearch--state-success (car cmds)))
+ (isearch--state-error (car cmds))))
(pop cmds))
(setq succ-msg (and cmds (if msg (isearch--state-message (car cmds))
(isearch--state-string (car cmds)))))
next reply other threads:[~2013-04-25 18:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-25 18:11 Darren Hoo [this message]
2013-04-25 19:27 ` bug#14268: 24.3.50; isearch-repeat-forward without isearch-forward first signals error Darren Hoo
2013-04-25 20:57 ` Juri Linkov
2013-04-26 1:18 ` Darren Hoo
2013-04-27 22:04 ` Juri Linkov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ+QY_EfBtpLt_W+_HrW7dMy5bhdpRo5XvD-k_vZSVapOgY1XQ@mail.gmail.com \
--to=darren.hoo@gmail.com \
--cc=14268@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.