From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: What's up with apply-partially? Date: Sat, 24 Jan 2015 09:54:37 +0100 Message-ID: <87zj984kz6.fsf@fencepost.gnu.org> References: <874mrh5emp.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422097439 15341 80.91.229.3 (24 Jan 2015 11:03:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2015 11:03:59 +0000 (UTC) Cc: Leo Liu , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 24 12:03:58 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YEyVS-0003mA-A9 for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2015 12:03:58 +0100 Original-Received: from localhost ([::1]:34629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEyVR-0007ja-KO for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2015 06:03:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEyUu-0007II-Mx for emacs-devel@gnu.org; Sat, 24 Jan 2015 06:03:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEyUt-0001gJ-0n for emacs-devel@gnu.org; Sat, 24 Jan 2015 06:03:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEyUs-0001gD-TM for emacs-devel@gnu.org; Sat, 24 Jan 2015 06:03:22 -0500 Original-Received: from localhost ([127.0.0.1]:41217 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEyUs-0002mr-2j; Sat, 24 Jan 2015 06:03:22 -0500 Original-Received: by lola (Postfix, from userid 1000) id A90B7E05F5; Sat, 24 Jan 2015 09:54:37 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Sat, 24 Jan 2015 00:01:07 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181723 Archived-At: Stefan Monnier writes: >> I have been wondering this myself. I wonder if it was a workaround from >> the time when lexical-binding was not activated in subr.el? > > Yes, I think this is the explanation. Feel free to change it, Huh. Perhaps this causes different behavior depending on whether the _use_ of apply-partially happens in a file with lexical-binding being `nil'? Or the use of the function defined using it? After all, apply-partially was first defined when lexical binding was not available in Emacs. So some uses might depend on particular semantics in non-lexical-binding files? I am just blindly guessing here. -- David Kastrup