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 16:24:58 +0200 Message-ID: References: <87v9fkth3m.fsf@ebih.ebihd> <87blhb7tqa.fsf@fastmail.fm> <877drzqz06.fsf@ebih.ebihd> 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="33102"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 09 16:31:12 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 1kQtQO-0008UY-1q for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 16:31:12 +0200 Original-Received: from localhost ([::1]:37776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQtQM-0007ez-HQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 10:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQtKU-0007ec-RM for help-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:25:07 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:40391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQtKR-0005y2-A8 for help-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:25:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602253498; bh=dVOYgZ5yW/PuF1/1JX3iSP7qAg4Dw3MztBkQP2Z7TCc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CMZEIG5KHKxA5YBNOrmQoNTHShcbrsiHvbISuand7KF+AcT7iZllKiSMnhkqM9OI0 lcK5NCjeNnICUcicuhLLQ6JuguRasQWWrFVo2yli37ImDWUgzl634TRFSHXA/bxw6r B4+nrTWlqncG3i1U/wRYjuPfMUzQ0wHfZL95p1MA= 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 16:24:58 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <877drzqz06.fsf@ebih.ebihd> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:qzD6P7PJFOy//MGqzRtXuAnzE11XYI/5zuBN5+g4jT9g0cqfwo5+aW027cBFjaonIhBrd YM5SKjfjR2shRGFS4abdYgTgKykSPAe7RZvPmnCU3PXh6plYRGwKH77m/ZX4iKtvnUlkErh7vbbm OBBki001wH5DG5lRNI2hVRLX5z6Nuo84hQzvIAsef3gh/G0kjBn3p+0yIhKT9eCpEp+IGt+60TAN /pBfLso6NxOX7C2jSdsAkKoKJyPSJZueBcUWbZ0sGDmdW0ELHYVF1jfRlzrbn0nrIGE+NaYfzVWh XI= X-UI-Out-Filterresults: notjunk:1;V03:K0:/263/Gsd2s4=:x7MKMlKXSxIo9TdTF73CJC mNlkPKKKaGEOmlzJNNK/WAsb5Ept2BynU92wPyB456IEhDngo19bXZ6wPhFhS9F+IHI9nriUv ETn++JCeh7jgiMU63wVqI4bgBzm81+oGwhv13oJry4AEaKS3i8+H5axrhiTxeZSzDG2lRH0es 4oXw6hivMHz4G4bPeKVvXI9gePQn/pLv88ffBvt/Y90hXeBp7a07B4cp6ROG+d6Hr4oKw7IeC iZmWIKUnMoD+y6wG3A+5Vde+gmzOrdDhz9ndKjW1UDNhV1VfmXNawYPe3AXiCAm3cE78OTcoG qwAvH/fUyYjN0oDCnRwe+6UlsGPyMGcumdriwl4Qar9UCuiHblEWUUDf4HinLkTiJHQIDguGr J1gMpANfp20h2B1K4p0bCPSYy8eSyyvYe2ax+NH+Yko2V4c+rHoFnMAP0gyE6z0HcKuPCJtPN D+IFvcx4xUZ6dt0GP6bb3+5xN/z/a7b49L54BUixdhCOSgoZainB+wrVoRIN0eMqxK736iVgA DvmKhL69qMvsVnzDujpDB/HK9CgBiLnAJTxf4HcoeRrb0XhuyHtEoaJnkIuAP90BFzWEGC+Z7 sVxRZ+kVGIJesLZIYsLnGxqKIbYC/PhQ/FiRpHJA4xVnr0S6Gfy/yD+Q5DIRJUfDp50LAZqBv S78DhSpXElxG/earyVZ01YFFFAbxyJUK8OrajnpZz4Up2T/1Dda5jE47N1iKoz1x/l8M= 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 10:25:00 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:124401 Archived-At: Have looked at what I send and have used indentation, whitespace, etc but during the sending operation it is scrambling the whole code. Will look into it so it will show right. > Sent: Friday, October 09, 2020 at 4:01 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Define interactive function with arguments > > Christopher Dimech wrote: > > > Your comment simply means, look at the manual [...] > > If you don't want to look at the manual, how about: > > 1. think > > 2. byte compile and read the warnings and errors > > 3. do C-h f FUN RET and C-h v VAR RET for > everything in your ... code > > 4. OK? > > And yes, TBH do us all a favor and drop that style :$ > use proper whitespace, case, names that makes sense, > indentation, comments, and all that, before this > turns into an embarrassment to the sport :( > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >