From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.help Subject: About `catch' and `throw' Date: Fri, 21 Dec 2012 20:00:01 +0800 Organization: The Church of Emacs Message-ID: <20121221200001.891d30e881f25580089bbc5b@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356107598 30673 80.91.229.3 (21 Dec 2012 16:33:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 16:33:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 17:33:33 2012 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 1Tm5XO-0000Ak-PC for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 17:33:30 +0100 Original-Received: from localhost ([::1]:49116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm5XB-0001H8-0C for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 11:33:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm1Gz-0006Sb-2X for help-gnu-emacs@gnu.org; Fri, 21 Dec 2012 07:00:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm1Gs-0007ft-Kr for help-gnu-emacs@gnu.org; Fri, 21 Dec 2012 07:00:16 -0500 Original-Received: from mail-da0-f47.google.com ([209.85.210.47]:55165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm1Gr-0007eg-T5 for help-gnu-emacs@gnu.org; Fri, 21 Dec 2012 07:00:10 -0500 Original-Received: by mail-da0-f47.google.com with SMTP id s35so2050069dak.20 for ; Fri, 21 Dec 2012 04:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=h4XlDdL288E/iPoGg38YdclrN9iBhqSNQ1AfsJqWy+k=; b=MQRzOlsMWNvFauCyJnBBF002Q0gINe09/cYVvyca1sLus6wRQQU653J9h1VVfAxiR3 a3P70H+Mb0D+LU62RqLV+t/b6nv0q5P01HOahZ22Q8lXue78Z0lX6EINjskiwlAjiWgA Z6z95me2ye/1CIqLIo0XBQ5P4MaPgPVTca2bc1GTaQxiwXwXmnbimtJDFgwjbXo6+eb8 JqCEEpb+uVIIpRbfTJ+NPJOYcUR1rUnNwJI7HOmTllFhq/2WythTF6/FyDT34vHmxzhf QyYGZc9Ynku6iszdsLK/k2IJuSs8utw/dg33yifZZPLsplEHgJu2oHT22+jyPp5wLwCS X1JA== X-Received: by 10.68.197.135 with SMTP id iu7mr38935468pbc.71.1356091208020; Fri, 21 Dec 2012 04:00:08 -0800 (PST) Original-Received: from Emacs ([123.114.131.243]) by mx.google.com with ESMTPS id wg3sm6891804pbc.28.2012.12.21.04.00.05 (version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 04:00:07 -0800 (PST) X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.210.47 X-Mailman-Approved-At: Fri, 21 Dec 2012 11:33:11 -0500 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:88275 Archived-At: I'm reading the Emacs Lisp Reference Manual, and I met a problem. In the node 10.5.1(http://www.gnu.org/software/emacs/manual/html_node/elisp/Catch-and-Throw.html#Catch-and-Throw), it says: throw is used inside a catch, and jumps back to that catch. For example: (defun foo-outer () (catch 'foo (foo-inner))) (defun foo-inner () ... (if x (throw 'foo t)) ...) but the `throw' is used outside the `catch', I'm confused. Can anybody help? English is not my native language; please excuse typing errors. -- Best regards.