From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions' Date: Sat, 28 Jun 2014 17:53:15 +0200 Message-ID: <87tx75ni8k.fsf@web.de> References: <9fd43ff1-d6cf-4ac6-b173-2fd634f45a98@default> <871tua2o12.fsf@web.de> <1ac7ebe5-6b43-4367-beb8-df7d9f5b6750@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403970870 6374 80.91.229.3 (28 Jun 2014 15:54:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2014 15:54:30 +0000 (UTC) Cc: 17623@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 28 17:54:22 2014 Return-path: Envelope-to: geb-bug-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 1X0uxJ-0000Sy-DX for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jun 2014 17:54:21 +0200 Original-Received: from localhost ([::1]:55055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0uxI-00077N-Jv for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jun 2014 11:54:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0ux8-000761-2y for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 11:54:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0ux0-0007hu-JI for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 11:54:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0ux0-0007hp-GE for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 11:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X0uwz-0005q3-VV for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 11:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Jun 2014 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17623-submit@debbugs.gnu.org id=B17623.140397081022391 (code B ref 17623); Sat, 28 Jun 2014 15:54:01 +0000 Original-Received: (at 17623) by debbugs.gnu.org; 28 Jun 2014 15:53:30 +0000 Original-Received: from localhost ([127.0.0.1]:36274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0uwU-0005p3-2Y for submit@debbugs.gnu.org; Sat, 28 Jun 2014 11:53:30 -0400 Original-Received: from mout.web.de ([212.227.17.12]:58765) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0uwR-0005oo-Q1 for 17623@debbugs.gnu.org; Sat, 28 Jun 2014 11:53:28 -0400 Original-Received: from drachen.dragon ([94.217.127.201]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0MJCSM-1WyB7924Ow-002s6W; Sat, 28 Jun 2014 17:53:17 +0200 In-Reply-To: <1ac7ebe5-6b43-4367-beb8-df7d9f5b6750@default> (Drew Adams's message of "Fri, 27 Jun 2014 18:36:04 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-Provags-ID: V03:K0:cu51ckA41T3MgyhLhPw5xzJ1jLGXTY+g6Zxag5uZnkuVZ+kVsdu s0ufdqhV+xERNHTO2ZLLLTWQVJ6ioEIpUOD5DE+fevHvs0ZrZU7cIxq18oPGrt0ZkDjOZGX ET2TQmTH3R/l5Onoagdyq9fJyAG96DhYX5l4HvTadGmV3YzqWLDU8VUcppGSZWXWDF3t7L7 P/Rk7UMowncixaa/gTX7A== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90940 Archived-At: Hi, BTW, the second sentence here from (info "(elisp) Calling Functions") is confusing too wrt what it says about arguments. ,---------------------------------------------------------------------- | The act of fixing some of the function=E2=80=99s arguments is | called "partial application" of the function(1). The result is a new | function that accepts the rest of arguments and calls the original | function with all the arguments combined. `---------------------------------------------------------------------- IMHO we should be more clearer about arguments, but then we can keep the 1+ example. I think it would be more important to say that `apply-partially` is most useful in combination with functionals, as it is explained later on that info page. That the result accepts any number of arguments is more kind of an implementation detail. Michael.