From: Jambunathan K <kjambunathan@gmail.com>
To: 14912@debbugs.gnu.org
Subject: bug#14912: 24.3.50; replace.el: Replace error with user-error?
Date: Fri, 19 Jul 2013 21:58:32 +0530 [thread overview]
Message-ID: <87bo5yzf7z.fsf@gmail.com> (raw)
Very frequently I enable debug-on-error.
This is invariably accompanied with M-x occur RET on some source file
with infinite typings of M-n and M-p s.
Under these conditions, these "spurious" errors get very annoying. I am
wondering these qualify as `user-error' s.
Debugger entered--Lisp error: (error "No more matches")
signal(error ("No more matches"))
error("No more matches")
(if r (goto-char r) (error message))
(while (> n 0) (setq r (funcall search (point) (quote occur-match))) (and r (get-text-property r (quote occur-match)) (setq r (funcall search r (quote occur-match)))) (if r (goto-char r) (error message)) (setq n (1- n)))
(let ((r)) (while (> n 0) (setq r (funcall search (point) (quote occur-match))) (and r (get-text-property r (quote occur-match)) (setq r (funcall search r (quote occur-match)))) (if r (goto-char r) (error message)) (setq n (1- n))))
occur-find-match(1 previous-single-property-change "No more matches")
occur-next-error(-1 nil)
next-error(-1)
previous-error(1)
call-interactively(previous-error nil nil)
command-execute(previous-error)
Debugger entered--Lisp error: (error "No more matches")
signal(error ("No more matches"))
error("No more matches")
(if r (goto-char r) (error message))
(while (> n 0) (setq r (funcall search (point) (quote occur-match))) (and r (get-text-property r (quote occur-match)) (setq r (funcall search r (quote occur-match)))) (if r (goto-char r) (error message)) (setq n (1- n)))
(let ((r)) (while (> n 0) (setq r (funcall search (point) (quote occur-match))) (and r (get-text-property r (quote occur-match)) (setq r (funcall search r (quote occur-match)))) (if r (goto-char r) (error message)) (setq n (1- n))))
occur-find-match(1 next-single-property-change "No more matches")
occur-next-error(1 nil)
next-error(nil)
call-interactively(next-error nil nil)
command-execute(next-error)
In GNU Emacs 24.3.50.17 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2013-07-19 on debian-6.05
Bzr revision: 113464 larsi@gnus.org-20130719145728-npy1c84plu1mfbns
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
next reply other threads:[~2013-07-19 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-19 16:28 Jambunathan K [this message]
2002-01-01 0:40 ` bug#14912: 24.3.50; replace.el: Replace error with user-error? Jambunathan K
2013-07-19 16:37 ` Jambunathan K
2013-07-19 16:51 ` Drew Adams
2013-07-20 8:29 ` Stefan Monnier
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=87bo5yzf7z.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=14912@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 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).