From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Beeping Date: Fri, 27 Nov 2009 20:49:03 -0500 Message-ID: References: <912155b0911230837i48326730m82e0d54d4004be59@mail.gmail.com> <87zl6dgjt1.fsf@stupidchicken.com> <874oolarvt.fsf@stupidchicken.com> <87aay91k9j.fsf_-_@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259372967 23703 80.91.229.12 (28 Nov 2009 01:49:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2009 01:49:27 +0000 (UTC) Cc: Juri Linkov , Chong Yidong , Per =?iso-8859-1?Q?Starb=E4ck?= , Giuseppe Scrivano , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 28 02:49:20 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NECR5-0008Qj-PL for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2009 02:49:20 +0100 Original-Received: from localhost ([127.0.0.1]:59408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NECR5-0001Bd-H0 for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 20:49:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NECQz-0001Aw-N0 for emacs-devel@gnu.org; Fri, 27 Nov 2009 20:49:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NECQv-00018F-8R for emacs-devel@gnu.org; Fri, 27 Nov 2009 20:49:13 -0500 Original-Received: from [199.232.76.173] (port=44658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NECQv-00018C-6B for emacs-devel@gnu.org; Fri, 27 Nov 2009 20:49:09 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:46077 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NECQt-0003tL-MH; Fri, 27 Nov 2009 20:49:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcEAC8QEEtFpYc//2dsb2JhbACBTtFThDEEihk X-IronPort-AV: E=Sophos;i="4.47,305,1257138000"; d="scan'208";a="50214104" Original-Received: from 69-165-135-63.dsl.teksavvy.com (HELO pastel.home) ([69.165.135.63]) by ironport2-out.pppoe.ca with ESMTP; 27 Nov 2009 20:49:03 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 73DDC80E3; Fri, 27 Nov 2009 20:49:03 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Sat, 28 Nov 2009 00:15:04 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:117889 Archived-At: >>> Isn't there still a problem with condition-case then? Or perhaps it >>> could be tamed to pass on user-error? >> I don't know what problem you're thinking of. > That the intention is going to top-level and condition-case might stop > it. But I do not know what is best to do. user-error will really fit > best in command functions. It those are called by other functions the > semantics is a bit hard to define (or at least use). Usually the `user-error' situations are situations which are expected to be pilot errors rather than bugs, but you can never be sure since commands can also be called as functions, so the "pilot" may be another piece of Lisp code. So condition-case needs to be able to catch them. Stefan