From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Eder Newsgroups: gmane.emacs.help Subject: Re: [External] : Re: How to make M-x TAB not work on (interactive) declaration? Date: Mon, 16 Jan 2023 18:40:07 +0100 Message-ID: <87r0vuidjc.fsf@eder.anydns.info> References: <87y1qdct5m.fsf@gnu.org> <874jt0imh0.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6874"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" To: Anders Munch Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 16 18:40:58 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pHTTe-0001bi-8Q for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 16 Jan 2023 18:40:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHTSx-0006AU-Jh; Mon, 16 Jan 2023 12:40:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHTSw-0006AF-BR for help-gnu-emacs@gnu.org; Mon, 16 Jan 2023 12:40:14 -0500 Original-Received: from mout.web.de ([212.227.15.4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHTSu-0005re-AR for help-gnu-emacs@gnu.org; Mon, 16 Jan 2023 12:40:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1673890808; bh=gw7u3tn8uwoKv+rMVyzfavhbjfA8rkbNjguSdFQl4zQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=HTGj2JHA1BlbIL/hBiAtmZ98BP/n1YnhKQfS/qP2kAhxIv9UeMD7AKlbwzgbKaO5P AIKP7CioGbLrlRcdVQo9rQ1EkrE/EKaqd8Ht+9DiYLS4YSZFzYwm1r8Eg/oMK7VyTK 30x2Nd6JddUFpmfSS406zIc2OUWhZNCs6uNcp4lHEUfGvCSfM/8niiuEO7BB89l02h cTK56/0ruL61VJ3x2m4qC6EAGI19l6qOpWjGkncYwBa1wT/C/8SlENeNEbQSNB8/IQ kdICMkBQF0kHHLiSyGeZUSHDb2lQ2rsmWjhSlGtH2PoVJWSK/tMC0qe5UEc/q6uhSx wYrf0qwwD6PqA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from localhost ([80.133.124.178]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MidDH-1oljPM3tv5-00fgls; Mon, 16 Jan 2023 18:40:07 +0100 In-Reply-To: (Jean Louis's message of "Mon, 16 Jan 2023 18:38:44 +0300") X-Provags-ID: V03:K1:dwdOri2ejOHRu1mPv/uUccCJ0iNVcxNmHtx+DxYJqHSYv9pq7dy JzsGkOG19bHm+p57TDg4igOVHgbWzXv8ZbBMb0OkqcD1c0Az1t9dlpamrl3i8D18hCJIum7 sq7+aBRd18HGSebl9Zz0fBdyjvtZ1OHOR2Zj000o2PBXoPexTAQNqSXvbBW6stVWbbs2fj9 DXzYPOlhDD9xwfg45NoqA== UI-OutboundReport: notjunk:1;M01:P0:kfh3mtD8VLs=;Wfbd5Ni6elWOAyKDgjHtYxkpCBD 486efcV6i9+I/uPgURZ1LBjZoMOvH3ixwkRz/Fy57I9LQFBnG/4qFHEmNFMjzALYNjeYs4YA3 0+0BMw669cONRZkCRsMWH1GgmCH2sKc3WEU6BMfreW9Yj7MPXQV7TWh/6hGHfJIUxSvWqA5uZ bSELaInjcbhTxcjCS/mjcGmhzq05tbyUD1xFQZOysmNRPLNCGn7jT3NoX2RFFEKpx8cIZHb/u DbQEeJi/QfweAbSc4rg+AACwBBBEGdE1/9ni6kUyXjyWBaPES2PCm0DfpcO78X5H7ShWL95Os jCQ13rnhBpB2S6+hbJUDshH5/a1IbAZgnnmp7IKSa9tGuddEGfqgF9K0D1XXd2gaWa2OKD0cw Mruad5GzVrjLKBGrdw6eVgAuQe0dwwQG6rA/Evxh6IySlpqLl3vUQX4U0DQPHd+taCnYl0j0v 3XOOI326Xn3nZz3d5HrdKNadnqew2+WSgNaeUTtHQF04HGwqT7SDqSNwjFM3zYGScHghCN0eP L/pgV9z6oOm8uzrX7xvTR6I/t/t8xdrLTucqNvVzBM14ckgPbJrozKsnd5x7X0OO+JH7JK9qw KhMg16rahmnRwghDlADAokwWcPOVXS3d2GEikU3CqY8QJHfPpJ3EonA6xqtIjdK7y9DGJTT36 OtI11RLdamkpgnq5cYcbuwAY7jrT5vc4zmUmCrm0gR50IDceEN7jmyTvAXHpg9G//jPzTtsHD yQKicPWILN1fNronI701+O/ebuv9eQr7x+yoD3JjyqHwOe9gS79GJMdyYvTG36tAgBJ1LpkW Received-SPF: pass client-ip=212.227.15.4; envelope-from=a_eder_muc@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142280 Archived-At: On Mo 16 Jan 2023 at 18:38, Jean Louis wrote: > * Anders Munch [2023-01-16 13:58]: >> Jean Louis wrote: >> > I actually expect function to tell me wrong number of arguments or no = arguments, as I find it safer for programming that way. >>=20 >> It makes sense for=20 >> (+) >> to be an error, if it's written like that. >> But if the code goes >> (apply #'+ a-list-of-numbers) >> then a-list-of-numbers being empty is normal and expected, and 0 is inva= riably the desired result. >> You can't make the former an error without the latter becoming an error = as well, so it isn't. > > (apply #'+ nil) that is what you mean why is it usable? > > than this is disaster: > > (apply #'* nil) =E2=9E=9C 1 > > Do you wish to say that `apply' function is reason for this below? > > (*) =E2=9E=9C 1 and=20 > (+) =E2=9E=9C 0 and > (-) =E2=9E=9C 0 > > Maybe you know some reference to Lisp beginning why is it so? See http://www.lispworks.com/documentation/HyperSpec/Body/f_pl.htm for #'+ and http://www.lispworks.com/documentation/HyperSpec/Body/f_st.htm for #'*. 'Andreas