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: Re: About `funcall' Date: Mon, 04 Mar 2013 20:57:30 +0800 Organization: The Church of Emacs Message-ID: <51349A3A.7080202@gmail.com> References: <51349923.4030307@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362401879 19728 80.91.229.3 (4 Mar 2013 12:57:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Mar 2013 12:57:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 04 13:58:24 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 1UCUyC-0000VM-E0 for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Mar 2013 13:58:20 +0100 Original-Received: from localhost ([::1]:54258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCUxr-0003AL-4j for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Mar 2013 07:57:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCUxd-00034I-Dn for help-gnu-emacs@gnu.org; Mon, 04 Mar 2013 07:57:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCUxc-0003OG-8l for help-gnu-emacs@gnu.org; Mon, 04 Mar 2013 07:57:45 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:59110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCUxc-0003O2-2n for help-gnu-emacs@gnu.org; Mon, 04 Mar 2013 07:57:44 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id um15so3104770pbc.14 for ; Mon, 04 Mar 2013 04:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=IL+P+AQqmgwq6RPH0+/p8+CGQz7qPsKmqixyqDHu1DY=; b=pWRulFPDBrOOaTqynBYUkGaqUyHFVoK9dHe4La2hSlX/W2SB9j1FHsL7WqqgLDMTdc 5OSdSOnnNlCTDaLl7Qdymqn0tuszyDgkTq/ve56gqOKvn332ngW85X6gU40Nb4TbOmY3 lRYR7PcD6KD5XmyP0GiOJkFaVv3KHETa0L7V84ub+y7sot5cYMAB7fEL21ovA89Pz7+i iamyFtRcx31QUgA50aaaGo4YURbbhvyaEAS7wmghoqKFynVzb0cD8Qpb8Y6t3ukY2aCa Meby4cC6+5CRLYNarGVR+oyRhaYE2IFIQWbRGolhvjmNcIY6LsCdiCcXWJqcakVU03ID BgdA== X-Received: by 10.66.160.230 with SMTP id xn6mr32629145pab.119.1362401863276; Mon, 04 Mar 2013 04:57:43 -0800 (PST) Original-Received: from [192.168.1.101] ([61.149.231.228]) by mx.google.com with ESMTPS id d8sm23807615pax.23.2013.03.04.04.57.38 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Mar 2013 04:57:42 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 In-Reply-To: <51349923.4030307@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.41 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:89337 Archived-At: On 03/04/2013 08:52 PM, Xue Fuqiao wrote: > In `yank-pop', there is an sexp about `funcall': > > (funcall (or yank-undo-function 'delete-region) (point) (mark t)) > > IIRC the first argument for `funcall' should be a function, so I'm > confused with this usage. Can somebody explain it to me? Thanks. Maybe the first argument is whatever the `or' expression returns, so the remaining arguments are passed to it? -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao