GNU bug report logs -
#25911
Subject: 26.0.50; Defun apply-partially is in 'Basic Lisp macros'
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25911 in the body.
You can then email your comments to 25911 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Wed, 01 Mar 2017 08:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 01 Mar 2017 08:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
We might move its definition into 'Basic Lisp functions'.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
From 3b4254f7a37c4dc8418e9a03e91cd233a4180e10 Mon Sep 17 00:00:00 2001
From: Tino Calancha <tino.calancha <at> gmail.com>
Date: Wed, 1 Mar 2017 17:30:52 +0900
Subject: [PATCH] * lisp/subr.el (apply-partially): Move to 'Basic Lisp
functions' section.
---
lisp/subr.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 4f848d1400..6b0403890c 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -132,15 +132,6 @@ defvar-local
(list 'progn (list 'defvar var val docstring)
(list 'make-variable-buffer-local (list 'quote var))))
-(defun apply-partially (fun &rest args)
- "Return a function that is a partial application of FUN to ARGS.
-ARGS is a list of the first N arguments to pass to FUN.
-The result is a new function which does the same as FUN, except that
-the first N arguments are fixed at the values with which this function
-was called."
- (lambda (&rest args2)
- (apply fun (append args args2))))
-
(defmacro push (newelt place)
"Add NEWELT to the list stored in the generalized variable PLACE.
This is morally equivalent to (setf PLACE (cons NEWELT PLACE)),
@@ -344,6 +335,15 @@ frame-configuration-p
(and (consp object)
(eq (car object) 'frame-configuration)))
+(defun apply-partially (fun &rest args)
+ "Return a function that is a partial application of FUN to ARGS.
+ARGS is a list of the first N arguments to pass to FUN.
+The result is a new function which does the same as FUN, except that
+the first N arguments are fixed at the values with which this function
+was called."
+ (lambda (&rest args2)
+ (apply fun (append args args2))))
+
;;;; List functions.
--
2.11.0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.8)
of 2017-03-01
Repository revision: 03f64ebbc685d803f9dcbb638c37501e0d6f8340
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Wed, 01 Mar 2017 16:20:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25911 <at> debbugs.gnu.org (full text, mbox):
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Wed, 01 Mar 2017 17:35:31 +0900
>
> We might move its definition into 'Basic Lisp functions'.
Can you tell why?
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Wed, 01 Mar 2017 23:35:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 25911 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii wrote:
>> We might move its definition into 'Basic Lisp functions'.
>
> Can you tell why?
Presumably because it's a function, not a macro.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Wed, 01 Mar 2017 23:53:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 25911 <at> debbugs.gnu.org (full text, mbox):
PS why even make a bug report for this? Either ignore it or change it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Thu, 02 Mar 2017 00:29:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 25911 <at> debbugs.gnu.org (full text, mbox):
On Wed, 1 Mar 2017, Glenn Morris wrote:
> Eli Zaretskii wrote:
>
>>> We might move its definition into 'Basic Lisp functions'.
>>
>> Can you tell why?
>
> Presumably because it's a function, not a macro.
Yes, that's the reason.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Thu, 02 Mar 2017 00:30:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 25911 <at> debbugs.gnu.org (full text, mbox):
On Wed, 1 Mar 2017, Glenn Morris wrote:
>
> PS why even make a bug report for this? Either ignore it or change it.
To get suggestion about the proper branch where to do the change:
Emacs-25 or master
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Thu, 02 Mar 2017 15:02:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 25911 <at> debbugs.gnu.org (full text, mbox):
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Thu, 2 Mar 2017 09:28:41 +0900 (JST)
> cc: Eli Zaretskii <eliz <at> gnu.org>, Tino Calancha <tino.calancha <at> gmail.com>,
> 25911 <at> debbugs.gnu.org
>
> On Wed, 1 Mar 2017, Glenn Morris wrote:
>
> > Eli Zaretskii wrote:
> >
> >>> We might move its definition into 'Basic Lisp functions'.
> >>
> >> Can you tell why?
> >
> > Presumably because it's a function, not a macro.
> Yes, that's the reason.
Fine with me. (I don't know why Stefan put it in that particular
place when he moved it from simple.el.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25911
; Package
emacs
.
(Thu, 02 Mar 2017 15:02:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 25911 <at> debbugs.gnu.org (full text, mbox):
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Thu, 2 Mar 2017 09:29:39 +0900 (JST)
> cc: 25911 <at> debbugs.gnu.org, Tino Calancha <tino.calancha <at> gmail.com>,
> Eli Zaretskii <eliz <at> gnu.org>
>
> On Wed, 1 Mar 2017, Glenn Morris wrote:
>
> >
> > PS why even make a bug report for this? Either ignore it or change it.
> To get suggestion about the proper branch where to do the change:
> Emacs-25 or master
Master, of course.
Thanks.
Reply sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
You have taken responsibility.
(Thu, 02 Mar 2017 23:42:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 02 Mar 2017 23:42:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 25911-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Date: Thu, 2 Mar 2017 09:28:41 +0900 (JST)
>> cc: Eli Zaretskii <eliz <at> gnu.org>, Tino Calancha <tino.calancha <at> gmail.com>,
>> 25911 <at> debbugs.gnu.org
>>
>> On Wed, 1 Mar 2017, Glenn Morris wrote:
>>
>> > Eli Zaretskii wrote:
>> >
>> >>> We might move its definition into 'Basic Lisp functions'.
>> >>
>> >> Can you tell why?
>> >
>> > Presumably because it's a function, not a macro.
>> Yes, that's the reason.
>
> Fine with me. (I don't know why Stefan put it in that particular
> place when he moved it from simple.el.)
>> > PS why even make a bug report for this? Either ignore it or change it.
>> To get suggestion about the proper branch where to do the change:
>> Emacs-25 or master
>Master, of course.
Thanks for the clarification.
Pushed to master as commit 6a9ba271a956127e566192b33fc811e802d2d475
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 31 Mar 2017 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.