From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Why should interactive search results raise errors? Date: Wed, 03 May 2006 18:26:57 +0200 Message-ID: <4458D9D1.5000907@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146673649 4642 80.91.229.2 (3 May 2006 16:27:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 16:27:29 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 03 18:27:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbKC2-0001Ol-UC for ged-emacs-devel@m.gmane.org; Wed, 03 May 2006 18:27:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbKC2-0003lR-EW for ged-emacs-devel@m.gmane.org; Wed, 03 May 2006 12:27:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbKBr-0003ks-9K for emacs-devel@gnu.org; Wed, 03 May 2006 12:27:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbKBo-0003kf-MC for emacs-devel@gnu.org; Wed, 03 May 2006 12:27:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbKBo-0003kc-En for emacs-devel@gnu.org; Wed, 03 May 2006 12:27:00 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FbKCE-0005xl-62 for emacs-devel@gnu.org; Wed, 03 May 2006 12:27:26 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.072.1) id 4457C642000413A3 for emacs-devel@gnu.org; Wed, 3 May 2006 18:26:58 +0200 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Original-To: Emacs Devel X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53856 Archived-At: Some interactive search functions raise errors when no hit is found. It is quite annoyning if you have set debug-on-error to t. Is there any reason why this functions raises errors in this cases? Can that be used for anything? An example is the function in the menu bar: Edit - Search - String Forward. As far as I can see this in only meant to be run interactively. The same goes for viper-search-next. It would in my opinion be more convenient if these functions just return nil and showed a message when a search fails. Would it not be a good convention for interactive search functions in Emacs?