From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: libnettle/libhogweed WIP Date: Sat, 03 Jun 2017 13:47:18 +0300 Message-ID: <83lgp9bb61.fsf@gnu.org> References: <83h91og80k.fsf@gnu.org> <87pogbuhoe.fsf@lifelogs.com> <834lxndmd9.fsf@gnu.org> <87efwrug6z.fsf@lifelogs.com> <87r30qu5av.fsf@lifelogs.com> <874lxmtxyy.fsf@lifelogs.com> <87r30prvwt.fsf@lifelogs.com> <8337d4csez.fsf@gnu.org> <87r30nq9el.fsf@lifelogs.com> <83inlyc1k2.fsf@gnu.org> <87inlyrfni.fsf@lifelogs.com> <837f2eb845.fsf@gnu.org> <87ziedpyy1.fsf@lifelogs.com> <83d1b75u8a.fsf@gnu.org> <87r2znntaq.fsf@lifelogs.com> <87o9u8q4a5.fsf@lifelogs.com> <83tw3xbklg.fsf@gnu.org> <83mv9pbdb0.fsf@gnu.org> <877f0te62a.fsf@linux-m68k.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1496486894 5143 195.159.176.226 (3 Jun 2017 10:48:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 10:48:14 +0000 (UTC) Cc: tzz@lifelogs.com, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 03 12:48:10 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dH6bJ-00013G-SG for ged-emacs-devel@m.gmane.org; Sat, 03 Jun 2017 12:48:09 +0200 Original-Received: from localhost ([::1]:53245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH6bP-0004zd-3o for ged-emacs-devel@m.gmane.org; Sat, 03 Jun 2017 06:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH6an-0004zX-Od for emacs-devel@gnu.org; Sat, 03 Jun 2017 06:47:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH6aj-0001XD-RG for emacs-devel@gnu.org; Sat, 03 Jun 2017 06:47:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH6aj-0001X4-Nj; Sat, 03 Jun 2017 06:47:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4790 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dH6ai-000492-QQ; Sat, 03 Jun 2017 06:47:33 -0400 In-reply-to: <877f0te62a.fsf@linux-m68k.org> (message from Andreas Schwab on Sat, 03 Jun 2017 12:09:17 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:215430 Archived-At: > From: Andreas Schwab > Cc: tzz@lifelogs.com, emacs-devel@gnu.org > Date: Sat, 03 Jun 2017 12:09:17 +0200 > > On Jun 03 2017, Eli Zaretskii wrote: > > >> > + Lisp_Object object = Fnth (make_number (0), spec); > >> > + Lisp_Object start = Fnth (make_number (1), spec); > >> > + Lisp_Object end = Fnth (make_number (2), spec); > >> > + Lisp_Object coding_system = Fnth (make_number (3), spec); > >> > + Lisp_Object noerror = Fnth (make_number (4), spec); > >> > > >> > Isn't it simpler to use XCAR and XCDR here? > >> > >> Wouldn't it be even simpler to just pass each argument separately? > > > > Maybe it would, but given the amount of procrastination about the form > > of the arguments to these function, I'm not sure we want to re-argue > > all that again. > > I don't understand. This is just an internal helper function. It is used by all the other functions to get the input from the arguments. E.g., see gnutls-symmetric-encrypt: its arguments KEY, IV, and INPUT are all of the form from which extract_data_from_object extracts the individual values.