From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se.?= (Johan =?UTF-8?Q?Bockg=C3=A5rd) Newsgroups: gmane.emacs.bugs Subject: bug#3310: condition-case-no-debug Date: Sat, 16 May 2009 20:41:24 +0200 Message-ID: Reply-To: Johan =?UTF-8?Q?Bockg=C3=A5rd , ?=.3310@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242499955 25436 80.91.229.12 (16 May 2009 18:52:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2009 18:52:35 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 16 20:52:23 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M5Ozd-0002KS-Lz for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 May 2009 20:52:22 +0200 Original-Received: from localhost ([127.0.0.1]:53587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5Ozc-00006P-Nk for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 May 2009 14:52:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5OzS-00005j-3I for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:52:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5OzK-0008Vz-Va for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:52:07 -0400 Original-Received: from [199.232.76.173] (port=47299 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5OzK-0008Vt-Py for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:52:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46446) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5OzJ-0007xE-Q3 for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:52:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4GIpueG031444; Sat, 16 May 2009 11:51:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4GIj36P028706; Sat, 16 May 2009 11:45:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: bojohan+news@dd.chalmers.se.?= (Johan =?UTF-8?Q?Bockg=C3=A5rd) Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 16 May 2009 18:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3310 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124249931028426 (code B ref -1); Sat, 16 May 2009 18:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 16 May 2009 18:41:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4GIfipd028420 for ; Sat, 16 May 2009 11:41:47 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5OpM-0004tS-BR for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:41:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5OpG-0004nO-Ve for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:41:43 -0400 Original-Received: from [199.232.76.173] (port=42285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5OpG-0004nI-Pc for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:41:38 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:45424 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5OpG-0006uZ-CA for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 14:41:38 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M5OpC-0001fq-JH for bug-gnu-emacs@gnu.org; Sat, 16 May 2009 18:41:34 +0000 Original-Received: from remote2.student.chalmers.se ([129.16.29.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 May 2009 18:41:34 +0000 Original-Received: from bojohan+news by remote2.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 May 2009 18:41:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote2.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.90 (gnu/linux) Cancel-Lock: sha1:wDS0RAXK1wGY6dMFpdfNDCEXz2Y= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 16 May 2009 14:52:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27911 Archived-At: condition-case-no-debug is not documented, either in the manual or in NEWS. Also, there's another feature that does the same thing, except better (if uglier): (condition-case nil (foo bar) ((debug error) nil)) This handles errors but gives the debugger a chance to run first. condition-case-no-debug OTOH either handles errors, or lets the debugger run but does not handle errors, depending on the value of debug-on-error. If condition-case-no-debug should be kept, at least make it expand into the above construct (and document it).