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: Define interactive function with arguments Date: Fri, 9 Oct 2020 01:15:02 +0200 Message-ID: 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="1329"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 09 01:18:08 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 1kQfAl-0000GH-LQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 01:18:07 +0200 Original-Received: from localhost ([::1]:33684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQfAk-0002TB-Fl for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 19:18:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQf7q-0002R2-2u for help-gnu-emacs@gnu.org; Thu, 08 Oct 2020 19:15:06 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:44973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQf7o-0001oA-3g for help-gnu-emacs@gnu.org; Thu, 08 Oct 2020 19:15:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602198902; bh=kTgio3jNo4ZwaWCR/KgAMUwXQZQCGplHZsSxXYrdfJ8=; h=X-UI-Sender-Class:From:To:Subject:Date; b=jIGNzcftb+AEbdX4T2M03LUm7J4lMDkrW1B6CEeGS4SkSRZUA8goKTztu/cvYDb+N +5mE9r66ioWqhzDtNNM23lxOaGL2YkMO4vKgEUX9eFlYWlnHEpEsh2thd23k2DTcqh XVRFeJFcN4vqjOYF8kaHPp1KwEZcQq1qCQg6cgbw= 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-bs14.server.lan [172.19.170.182]) (via HTTP); Fri, 9 Oct 2020 01:15:02 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:kL64lrzY3wyw/yDkB32tV+WSmCLSEQW1pQlyjkn50L34w0BKExP/6CPHGnpQzMLg8P1qh HlWpnKIyczuhlc5fXelxxs7aVAMPvNDWLbO75qrLCG46fm+4AmGLl2yk8TLjMOe0OOxcjy5cDAai bsqAu8qgugqT68UHLVlAjfnet+Cy01flpIolYZxV5Jj/siZJbv+6NHedEiRKk1xjvNM/L1sY9TP6 zS+VUjFbGohWqAyPI2mBref+PoYS81s0YfguABGSEP8xsgJpf7tU6xzjDNpXSWLbzp8W6fgD02zh 6g= X-UI-Out-Filterresults: notjunk:1;V03:K0:Oik6pJryLo8=:0ugS9OHxHHdFuKMBjjvTuD 7odilGv37YGWjK1rk4FelUJUmpODj8iEC2NY61jvYGxSjLYDCKnnpAgPfufvPevFkYlEdHwAb TB8se+oSgJXeuR82MJ1KHLy3GP5hBHibKnSiYfh7A2eTCsdZBOicmQ2gOPTtbKdJQFA7IaV5X 4hKeweHbJBGWhobQwaSAkb35cFQEgedPbVWY2TCGwxIcW5vXZZzVDfMeoVO329ua9r1RLUj5m Ppt5XifpuHTI2KECHpzIR9JfBb/iIhIsEz/JawoAQ/+MOji3YT7CzOUiTR9aUSOKPjVeKhc0M g3qikaxgswzCsdJuhnw0tzsu+io48JXsVwyyzH5Mtr6+6J/hxdEbBG4jZrhZnJaPtYgMvKVU2 MFCVFCPAIqNSWfKGwylv5v33G6wBSCa9CsWq2c7IyUt6GujMIWDL4TDsAuMJRbDNL+j6wbaNQ AdXOZ+mbhyzZFoogDRbOBifPXZh4FTAw6FJZHlcZzWFnrnoFj8IUFNhC0+dormkwQuKBcxKfb czBXs8zE9UiiNrzXF0pjopqUWI4wGOPLmkZ0C4YaKbQEHpD7rjFaC5/pye2wCr8D6Ew0Md4Mg lPeIqBq21+c2CkQMpZ31jII/+RpNhwk4WpWmheIfzsTzqyggedoFwdlhyy7faYBgYENhw+rzO 3TZrzrj4+rl5oU9SvfQ0yBBe6iG8cVFHeeJfTurynK0H1O5Pnd/OlxDr7TvPiT0KT5Us= 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/08 19:15:02 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:124383 Archived-At: I want to call a function that takes a numeric argument to I can shift paragraphs. ( defun Transpose-Paragraphs-Arg (arg) "Transfer paragraph backward" (interactive) (transpose-paragraphs arg) ) I have been using "M-x Transpose-Paragraphs-Arg" But then, how does one pass the value of the argument to the function. Regards Christopher