From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herring, Davis" Newsgroups: gmane.emacs.devel Subject: RE: condition-case with multiple handlers Date: Sun, 29 Jul 2012 04:44:47 +0000 Message-ID: References: <87k3xncm5h.fsf@gmail.com> , <87boiz5h2q.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1343537097 12923 80.91.229.3 (29 Jul 2012 04:44:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 04:44:57 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: "jay.p.belanger@gmail.com" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 29 06:44:57 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SvLNA-0007NY-Jg for ged-emacs-devel@m.gmane.org; Sun, 29 Jul 2012 06:44:56 +0200 Original-Received: from localhost ([::1]:59127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvLN9-0002LA-W8 for ged-emacs-devel@m.gmane.org; Sun, 29 Jul 2012 00:44:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvLN7-0002L5-6w for emacs-devel@gnu.org; Sun, 29 Jul 2012 00:44:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvLN6-0000Es-8p for emacs-devel@gnu.org; Sun, 29 Jul 2012 00:44:53 -0400 Original-Received: from proofpoint4.lanl.gov ([204.121.3.52]:35100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvLN5-0000Ef-V7 for emacs-devel@gnu.org; Sun, 29 Jul 2012 00:44:52 -0400 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by proofpoint4.lanl.gov (8.14.4/8.14.4) with ESMTP id q6T4im2p028492; Sat, 28 Jul 2012 22:44:48 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 81202E25D68; Sat, 28 Jul 2012 22:44:48 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from ECS-EXG-P-CH03.win.lanl.gov (ecs-exg-p-ch03.win.lanl.gov [128.165.106.13]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 6D67DE25D63; Sat, 28 Jul 2012 22:44:48 -0600 (MDT) Original-Received: from ECS-EXG-P-MB01.win.lanl.gov ([169.254.1.229]) by ECS-EXG-P-CH03.win.lanl.gov ([128.165.106.13]) with mapi id 14.02.0309.002; Sat, 28 Jul 2012 22:44:48 -0600 Thread-Topic: condition-case with multiple handlers Thread-Index: AQHNbUI7HDepXM5+nEGZNuQ2HCtMTJc/ruVU In-Reply-To: <87boiz5h2q.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.165.185.6] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.260, 0.0.0000 definitions=2012-07-29_01:2012-07-27, 2012-07-29, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 204.121.3.52 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151949 Archived-At: > > (progn=0A= > > ...=0A= > > (setq noerror t))=0A= > =0A= > Good idea, but it messes with the return value of the condition-case=0A= > body. I thought there might be some built-in method for handling this,= =0A= > but I'm thinking not.=0A= =0A= I didn't know its value mattered, but you can just use prog1...=0A= =0A= Davis=