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 19:53:34 +0200 Message-ID: <87pphsor8h.fsf@web.de> References: <9fd43ff1-d6cf-4ac6-b173-2fd634f45a98@default> <871tua2o12.fsf@web.de> <1ac7ebe5-6b43-4367-beb8-df7d9f5b6750@default> <87tx75ni8k.fsf@web.de> <8338ep6kk1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403978067 28055 80.91.229.3 (28 Jun 2014 17:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2014 17:54:27 +0000 (UTC) Cc: 17623@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 28 19:54:19 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 1X0wpO-0001Ic-TD for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jun 2014 19:54:19 +0200 Original-Received: from localhost ([::1]:55471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0wpO-0008SO-EY for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jun 2014 13:54:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0wpF-0008RO-6o for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 13:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0wp8-00034f-JA for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 13:54:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0wp8-00034b-Fj for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 13:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X0wp7-0000t0-Vn for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2014 13: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 17: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.14039780313384 (code B ref 17623); Sat, 28 Jun 2014 17:54:01 +0000 Original-Received: (at 17623) by debbugs.gnu.org; 28 Jun 2014 17:53:51 +0000 Original-Received: from localhost ([127.0.0.1]:36310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0wow-0000sV-6h for submit@debbugs.gnu.org; Sat, 28 Jun 2014 13:53:50 -0400 Original-Received: from mout.web.de ([212.227.17.11]:65205) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0wot-0000sC-9F for 17623@debbugs.gnu.org; Sat, 28 Jun 2014 13:53:48 -0400 Original-Received: from drachen.dragon ([94.217.127.201]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MKZy7-1Wz1o029vb-0022GP; Sat, 28 Jun 2014 19:53:35 +0200 In-Reply-To: <8338ep6kk1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Jun 2014 19:55:10 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-Provags-ID: V03:K0:YRmKD7lsu1O+dUCP2IQRC92aq+OAIiZPuZEuSz5cYiWMyb3kLdB Erf5w31jTiNGsq1BVpW9OVvOFdo9nrT95/0WqcQWb/BjWq57vJyMTkfP/fvpusjwOZF/ipP rmB4Lyjp2OVNKW1ScWRQP1ZZdm2JUsixxTAmmHQ0Obpp7yK88DED46EPn7OWf+zd4xFLGvX vvgVpU9Yhg07pnPQiB2Fg== 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:90947 Archived-At: Eli Zaretskii writes: > Sorry, I don't understand this critique. Perhaps if you suggested an > alternative wording, it would become clear what is it that confused > you about the current text. There's nothing wrong per see in the current text, but it sounds as if `apply-partially` would somehow analyze the argument list of its first argument. But it's semantic is very simple. Say that (apply-partially f arg_1 ... arg_n) is equivalent to (lambda (&rest args) (apply f arg_1 ... arg_n args)) With that, what we currently have an ok elucidation of that definition. And I think that the paragraph about `apply-partially` should be merged into the later text talking about functionals, because the main use case of `apply-partially` is to construct anonymous functions for usage as argument to some other function. Michael.