From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#6106: 24.0.50; info.el adds 'search-failed to debug-ignored-errors Date: Sun, 29 Jul 2012 09:32:22 +0300 Organization: JURTA Message-ID: <87fw8bt721.fsf@mail.jurta.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343543763 15520 80.91.229.3 (29 Jul 2012 06:36:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 06:36:03 +0000 (UTC) Cc: 6106@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 29 08:36:02 2012 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 1SvN6f-0007mp-A2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 08:36:01 +0200 Original-Received: from localhost ([::1]:42306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvN6e-0005Dr-KF for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 02:36:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvN6c-0005Df-8N for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 02:35:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvN6b-0000k2-Bc for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 02:35:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvN6b-0000jy-82 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 02:35:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvNDT-0000xA-09 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 02:43:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jul 2012 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6106 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6106-submit@debbugs.gnu.org id=B6106.13435441753646 (code B ref 6106); Sun, 29 Jul 2012 06:43:02 +0000 Original-Received: (at 6106) by debbugs.gnu.org; 29 Jul 2012 06:42:55 +0000 Original-Received: from localhost ([127.0.0.1]:47549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvNDK-0000wh-LU for submit@debbugs.gnu.org; Sun, 29 Jul 2012 02:42:54 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:54700 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvNDG-0000wR-R6 for 6106@debbugs.gnu.org; Sun, 29 Jul 2012 02:42:52 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 8DC03451CB9A; Sat, 28 Jul 2012 23:35:43 -0700 (PDT) In-Reply-To: (Helmut Eller's message of "Wed, 05 May 2010 11:56:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62550 Archived-At: > Around line 4833 in info.el 'search-failed is added to debug-ignored-errors. > > That seems counterproductive to me. I would not expect at all that > viewing an info file would change the way the debugger works. It would > be less annoying if info mode would only modify the buffer-local binding > of debug-ignored-errors. `search-failed' is added to `debug-ignored-errors' in info.el to not enter the debugger when a normal search stops with no results. But this error is raised by `xsignal1 (Qsearch_failed, string)' in `re-search-forward' (called from `Info-search'), so I see no way to replace it with a call to the new function `user-error' (or the same function with any other name).