From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: RE: [External] : Making a function than can only be used interactively Date: Tue, 5 Jul 2022 17:35:54 +0200 Message-ID: References: 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="36527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 05 17:37:01 2022 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 1o8kbl-0009LV-7R for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Jul 2022 17:37:01 +0200 Original-Received: from localhost ([::1]:36136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8kbk-0005Te-CT for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Jul 2022 11:37:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8kb3-0005Lz-S3 for help-gnu-emacs@gnu.org; Tue, 05 Jul 2022 11:36:17 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:35117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8kap-0007Gj-Fp for help-gnu-emacs@gnu.org; Tue, 05 Jul 2022 11:36:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1657035354; bh=TC+PeoaOzaxcIU3WBl6uBfi04OYCDUuLCumP/tYAcqc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QEI3N2+x5k9wd07gMuD3+oxSMDD6/eU8LQs6ZFrd23yPiii47WbhNccT4HhJQw4b8 TMRJFQhTjS8/SkCDMWPxhaCFDUCg3P/5LplpsKrjZZCGdkB4NgOKWuyJAIdNqBnLm2 cDx50MmTQU1jBL6hxwQkVktN3MV3XfSTWbYPqmg8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs07.server.lan [172.19.170.175]) (via HTTP); Tue, 5 Jul 2022 17:35:54 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:0ol5tHDs1RrR2ndc/VPdpOPs4gkhdA/oi4l5pxDsXtKbhyUR6UAcskqVc3VLQZx7u99N3 HLapzXHqB5efLmBdkPHCxpOsM+xsolJ4dVOb5bB7KciaPOSJ7KRKlpoHPIcgwhx7QF/iWDi0hYLQ t3Uh1Io585eQm1C9+pTgbQmPmFnXSST2ddBwsLBwoRJzanxLkBNR3OfcWP2ZeAtHusuWEVtuTKUm Uw8pKeWWDii+hcWlYLmFoSXXJGwCRK9XkZLnCmLlXlvIjkblpQt4KHI9Hpym866QT8JMImgXUf/z p8= X-UI-Out-Filterresults: notjunk:1;V03:K0:4vGFBA95NOI=:IE7Brblr9tvYmdQa1C32jz TYUKghRCp9nozCloPs7Ar6mk0QHyVf2ofasG7OXNbNa0rLezDMfJApG1JPF7SXSYWVNEBFQQ5 1RlP10en6xbQzSFwlcLEq9ysUAK7117J9g6QVVzSRXi18oxzufjcQLSedschh4al2t7WfKK1+ KgRcLJmVHTbYttOSTIlnBve++CLziS95BYT5XVV45kfVjbwvpAwtHZltXZqhCIELeDZWZWoyU u39v//4leeq7/6Ws/ty5/mV+SzkGAl/7i3THShlvGAkEbCW+d4OPsZJgSo3Es4QBzCKYQm3Om MRv+AmkCiWBuq5akpdQkSQxJIR4GbHBhmdQFvSLAldLK0/DvNvr8wim0Ft/F5MJz13zaDDYtB pRO+iigRMn08oKVbqeoWlHo0Y38IyrHyW7jUshQ3nkVmcf6soB0gytxiqqkwNvqmqqH865j9R 1/OLazouBAmrsnJK8Slfsy3+QCzxbMv8+2zIBjtUvCxpqXrEvZ2LRFXQgG3PDNo9hsUJTGJeV u37A9oMHuNX3FinR+D+X6S7h1nv83QF6N6/3EbD1BJ7rEhigJzECDOzZ/z9D6yqUzehmEn3pm RwZoRqcLPxcKHrcdAqZvZp7B83Wp010jqnmibnCC8RQ4CnKO5Y7xUfdLGyYM62C3mMspt/ppf jW9lhysTvAXtpeRdyAcP7nIoKTmtP76A8rhdk+7hakRDRoZ98iuVmECRQP+dun3TtLka5xGzS ZLb88z6zgm4BpxpBAhYyVwYkGGFUP8gxwY/+Fm+rIlPQXArfOQ2thN9Zpm63YDpLmWdFkXI7 Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.help:138313 Archived-At: > Sent: Wednesday, July 06, 2022 at 2:02 AM > From: "Drew Adams" > To: "Stefan Monnier" > Cc: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" > Subject: RE: [External] : Re: Making a function than can only be used in= teractively > > > > Depends whether the person coding that function thinks it is. > > > What can he do then? Issue warning as you suggested with `declare`? > > > > I don't think we can answer this in the abstract. So, we'd first need > > to have some concrete scenario before we can start discussing it. > > Yup. Has any concrete description been presented > in this thread that makes clear what the real > problem to be solved is - the use case behind the > question? The filling of arguments could be difficult if a sequence of interactive prompt depend on previous values. One thing that has been discussed is the following (defun foo () (interactive) (let ((a ...) (b ...) (c ...)) ...))