From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#14912: 24.3.50; replace.el: Replace error with user-error? Date: Fri, 19 Jul 2013 21:58:32 +0530 Message-ID: <87bo5yzf7z.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374251290 28621 80.91.229.3 (19 Jul 2013 16:28:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2013 16:28:10 +0000 (UTC) To: 14912@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 19 18:28:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V0DXM-0006JY-Um for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2013 18:28:09 +0200 Original-Received: from localhost ([::1]:37384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0DXM-0000wV-F9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2013 12:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0DXI-0000w4-8Y for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0DXH-0007Iy-7d for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:28:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0DXH-0007Iu-4i for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V0DXG-00078N-Fy for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2013 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14912 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137425123427230 (code B ref -1); Fri, 19 Jul 2013 16:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2013 16:27:14 +0000 Original-Received: from localhost ([127.0.0.1]:37700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0DWT-000753-Cn for submit@debbugs.gnu.org; Fri, 19 Jul 2013 12:27:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48652) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0DWQ-00074e-DH for submit@debbugs.gnu.org; Fri, 19 Jul 2013 12:27:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0DWJ-00071Q-RH for submit@debbugs.gnu.org; Fri, 19 Jul 2013 12:27:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0DWJ-00071H-P9 for submit@debbugs.gnu.org; Fri, 19 Jul 2013 12:27:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0DWH-0000oz-HZ for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:27:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0DWG-000709-IC for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:27:01 -0400 Original-Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:60727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0DWG-0006zs-CV for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 12:27:00 -0400 Original-Received: by mail-pa0-f41.google.com with SMTP id bj3so4666221pad.28 for ; Fri, 19 Jul 2013 09:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=M+/2io3fVj2Wcw/e9m7FHjaqQTCmraDgzpXsdAq2BKE=; b=tBh4qpE+DTu41SrLZ7qG8yRMPAtvB5cL6S94m7ukXxziO04rsTsDh9Li1sb6jhvNPm m8ig777a2LWFURXPYdeinKDadFv5fRHhg8ZE1FfPL7j8BvoeNiZ+XLgYfY3nJbPM01YE zQg3+rnwGTKgWzo5iEqW7+RlSlBCnq1tk7swykj1Vh2g+SUG5JiqZr8s+6VBcGKh2YXf HYT/JhoTXeg8B5Rhyt3ywohMT43azQrlD94Z9lMIFWEcxVjBwRfJD5AI9fVUnKWCv+NW GHYVcv6umsDoDN7C4Q3vK9VtUDgsUQhXUDhcsmojfcpB9BJgzqco/vm2hqq7chD2OpZF tMPA== X-Received: by 10.68.186.193 with SMTP id fm1mr17913578pbc.163.1374251219365; Fri, 19 Jul 2013 09:26:59 -0700 (PDT) Original-Received: from debian-6.05 ([115.241.93.255]) by mx.google.com with ESMTPSA id bg3sm20355589pbb.44.2013.07.19.09.26.56 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 19 Jul 2013 09:26:58 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76494 Archived-At: 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