From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: ignore-errors in XEmacs Date: Tue, 24 Sep 2013 17:31:26 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1380058525 5077 80.91.229.3 (24 Sep 2013 21:35:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2013 21:35:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 24 23:35:28 2013 Return-path: Envelope-to: geh-help-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 1VOaGW-00026q-Fd for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Sep 2013 23:35:28 +0200 Original-Received: from localhost ([::1]:48389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOaGV-0006Bi-PA for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Sep 2013 17:35:27 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Injection-Info: mx05.eternal-september.org; posting-host="edc219f95a8b7a243ddb4f97a0c0d540"; logging-data="4142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3hWMznbOF6sATBcRmuN+2" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:vdHTCquql4ep77s0gmX9KdvgULQ= sha1:Pgeb5/Mj3p89Jlag3Tu1qGuUbe0= Original-Xref: usenet.stanford.edu gnu.emacs.help:201272 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93541 Archived-At: > I'd like to replace > (condition-case () BODY (error nil)) > in mic-paren.el w/ ‘ignore-errors’, which is nowadays supplied by GNU > Emacs subr.el (i.e., "built in"). Is it likewise built in w/ XEmacs? I don't know about that, but I do recommend you carefully consider each use: throwing all errors to /dev/null is sometimes the right thing to do, but if errors really shouldn't happen (and yet, you want to protect yourself from bugs in other packages), then it's better to use something like with-demote-errors, so errors don't get in the way but they aren't hidden under the carpet. Stefan