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: Define interactive function with arguments Date: Fri, 9 Oct 2020 11:52:05 +0200 Message-ID: References: <87v9fkth3m.fsf@ebih.ebihd> <87blhb7tqa.fsf@fastmail.fm> <87d01r92jt.fsf@fastmail.fm> 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="2499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 09 11:54:27 2020 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 1kQp6Z-0000X6-LU for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 11:54:27 +0200 Original-Received: from localhost ([::1]:42018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQp6Y-0000AU-Ew for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 05:54:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQp4S-00007y-70 for help-gnu-emacs@gnu.org; Fri, 09 Oct 2020 05:52:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:47027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQp4N-0006pB-MQ for help-gnu-emacs@gnu.org; Fri, 09 Oct 2020 05:52:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602237125; bh=50f3Fc5j94x6/Jzm7NVSOIIxvp+DLrFKuSaYMbfiaz4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=KE2RWgBaAHQBQq9TVcnjPCgeljex20jMe8j5AICuCM/bfeA9NYlMr6kVoW32ov5UV vCW+oTQIPYArCSo1WISlcls0zsLdz4/X8v6QUWCEB8ernpvUPklpyHWLQrQuZJhScd AHXAi5P7gb9UUrL4gqsG4rKlgAT/W4I/5pOcAnw8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Fri, 9 Oct 2020 11:52:05 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87d01r92jt.fsf@fastmail.fm> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:ADU8YK2FvCSsz2vwUnp6jb5EABhfr59i9lmCiLke2RuyITZZWWffBk6pGsq0tUHsoGu0V 14bWB3im8c7MDfMxa6CKmK0P1kanhthF4/k6nueRnTgQ3iEZI1DrOg2rfNUIg6ay+PCx+JBUGEMG u3z4HpbVM5BclVGI0SK2RI0Bk09dtmAGH+etLvb6H6KMxAWwHgE+iPnsJ9xQEzTquV144LsOFRgO DufVcEn+aE9G54rFqPKmOsSrlTUAr6Jzy55OcoGsTKGixdl76llFtIvWJ8c9v14/MEMjxN2yslnw NY= X-UI-Out-Filterresults: notjunk:1;V03:K0:ZtT74QhTJ0M=:cD7/IiKe6EuwVN63C9XYTQ qbtcTh9b+SJFhutdASBC9DQq+w++sTUruAoT8/97hQ0kDL8+GmoS2gI87vvnkLebQuiy8OgdX NBwqEyh/boH6GrYV96GE2tssOsBMUxmJSyC51ErqlgNTZ2MQNJuhFNbJDyXmVv1VMW7A2bchg 7qA+65dyoSM8MnIs9en9gCsoKCtpo8c354+/FZr6ryT0DnhePwIIMw01iRChJGMgBPgFX84md tUgHYuz1b/1EH7pszWQgEUF1OjWEefcs2WMvmlmnTu9QheSPxisFz3xFicp2ln9gRruxqqxxj 20E5feGbO0yx/f76EkOUk3UksCgfTviclLqVfBWwzND0piseR815h702ilvCuLyl/9A1e7V0e KKkE0BB1iHH7s1ka0Rnadz/5h59zLwd7Y3ucDsviuM8sFCEf2O8k6lFdQIo45n9Z/u+0sk5ZH lrdOCciRedVoMVWaaEMoIksRffuvAWVttIgT3cqqzRxT886SxuPE8otn17CFD2sZU4DkRChSY kwGsgsbFCOeunnbRZeME0iXiguodKeWMLfLLMLvFUiObtiNlUK1h3fjyvIVLgsM9k4lbiXZ9c jGziERfrVucVFUsjhrvxuC6UjqObpqbb67YS5K7HPhLcuQI6uvf5Wux/dhCkFY2sPwNF8woqD pBZBYsxoy8bdk57mMArk24US1AlP2yKTIkNGLOjDPI5nHMttuO9jP1J3B6PWzI8bq0Rw= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/09 05:52:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:124395 Archived-At: Joost, apology accepted. It is at times beneficial to assume others know something you don't. Reading the manuals was pointed out and have checked them, but they are one tough cookie unless one already knows a decent amount and has used it to do real work. The most useful thing I found was describe-function. I plan to write an abbreviated manual for this stuff, as I found it very e= asy to get impatient reading so much material before you can start getting thi= ngs done. Naturally the code I am doing is going to be released, so that new = users can easily set up their new Gnu Machine with some handy keybindings that n= ew users can find useful, quick to understand, and by referring to the code and the= abbreviated manual, quickly learn the basics of Emacs Lisp for their own work. Regards Christopher =2D-------------------- Christopher Dimech Chief Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy > Sent: Friday, October 09, 2020 at 11:22 AM > From: "Joost Kremers" > To: "Christopher Dimech" > Cc: moasenwood@zoho.eu, help-gnu-emacs@gnu.org > Subject: Re: Define interactive function with arguments > > > On Fri, Oct 09 2020, Christopher Dimech wrote: > > Your comment simply means, look at the manual and look at the > > code > > and don't bother me. Nobody forced you to reply, and if people > > do > > not want to advise, they can simply disregard me. Have heard > > such > > talk all the time, especially in industry. > > I'm truly sorry if it came across wrong, but I didn't mean my > comment that way. It was meant in a "help someone help themself" > kind of way. The Emacs Lisp Intro is a very helpful resource (I > think) and I didn't see anyone point it out yet. (Though I may of course= have > missed it, in which case I apologise.) > > In the spirit of helpfulness, these two sections of the Elisp > Intro answer your specific question: > > https://www.gnu.org/software/emacs/manual/html_node/eintr/Interactive.ht= ml#Interactive > > and: > > https://www.gnu.org/software/emacs/manual/html_node/eintr/Interactive-Op= tions.html#Interactive-Options > > > -- > Joost Kremers > Life has its moments >