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: Emacs Interactive functions with arguments Date: Fri, 9 Oct 2020 16:42:58 +0200 Message-ID: References: <87y2kfpk1i.fsf@ebih.ebihd> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37237"; 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:48:07 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 1kQtgf-0009OR-DV for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 16:48:01 +0200 Original-Received: from localhost ([::1]:41660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQtge-0004qG-0h for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 10:48:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQtbr-0004nD-VH for help-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:43:04 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:58473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQtbp-0008KU-0y for help-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602254578; bh=x/U/UVudXd3Uor+9jmjxp3ThLS3HwENTg7r2UIWQkX4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XPxkDPbkPkStLnraqt5/4m7HPRBHydEfv6O7ONJrR3MQ4BAvURFjXtrnFLDSpn+r1 Vx4os1mgtnryjHbwTR1fRaWX+eQYVKJMenniSvikNZhfJz3Cqm7l87YP0CZbLMOdFy /GEkzrqqqEBw82LB+eIcG1gkXyjIdP/TiL9mtjMk= 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:42:58 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87y2kfpk1i.fsf@ebih.ebihd> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:tf2c9mPMNzWkusFEqikr3E/2rQnQjj11E0hoJvAVyrINB7pvicUoH7mI+YStIUYm7q4m6 ODT/ehdO7CwPtj6VGgZzqjNaCyTix+dJisozk0FpDyPtryn/hQgoQrxD2mP/jsspoLEF64dxvgUO lEwPM7Cxj6AbjLO9zKisnQ4v3mVdYpIpRikXTSqt9yF7YKhpwpWuuAp7FmZn90KtJ/oR5blBPnWS rED5gfs233RufL6zDnOpZ2vhWNZzgf/mOexEsOW9jI+n75MYii0TH7D9wtmFhpVv+AK+z0JFwc4c KA= X-UI-Out-Filterresults: notjunk:1;V03:K0:sv4aD8AxT1o=:jov9gK2eEzW36zJdk9u1rH p5byHmY3nvnjPSs84mev3EnXGKM1OtbwhfTIlTUfMkRVLYr8+Sbin6+3kG5U88kSBYYTSGm18 OIqKPLdTU4d1u2qYim/58Zqh2JlquVnUZQVdRF+B93Gb6+6aBEeckkT8blI0EkZ6+TF4908fw IEBPuLWKOXA0wP6bEz+x+owvPNwYn4uv9t37C1TTVx9F/HTcHQYdSv52RiR5OyYg/T8CPGqlH fGL5XB4OV93k6FR7Kry/RzafrbhmPyAjTixaFLymzqyPOw63GnS3HzMCTbgCEOuv3EraNW8Ne dOj7ai99yn4GAXlk/RiG9BbyGVaAc0/BzQFvyY02H3JQNYFXsD7lvcHy5nEkAiHg+ef997LRF uJu8qupV5p8gdW2hlo2OzDMm1xBdm8OVa/TvXSQ0CWwYxjsMyXIdWfD4oJCiLV5yV5iLCX67k ai50yCriSNpUkXsFCJDU6KvCsxXnbygSbDT87pgm/s2KoOvokdkOD/RQRaC+OzajLwU5P2rLm B/jYp8oRz781hYK1wrKA9CNbekczzYQJMBMzD0wS8I+dQWJjH2yv2RhtuHLmSccwxSZsImE24 N+DVlPdIcciPrpghLMK1nrmZQSWFJsL7sYFmvZaeyOM1sq4nKN315N8HuGJjfi8FouEc3Tu6J VuHrr1v25kYcGibHTHlwLUOFuDpD5R/2n9v+MRXG8GZf8L8DU+8tWxJYpxmwazDZ2Te0= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/09 10:42:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, 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-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:124402 Archived-At: I set my email settings for sending plain text as it will be easier to read, but your comment confirmed that with plain text, all the bloody formatting is removed. Terrible. Apologies for that Emanuel. Thanks for showeing me dow to call desrcibe function using the mini-buffer. Regards C* Sent: Friday, October 09, 2020 at 4:10 PM From: "Emanuel Berg via Users list for the GNU Emacs text editor" To: help-gnu-emacs@gnu.org Subject: Re: Emacs Interactive functions with arguments Christopher Dimech wrote: > Besides general comments, I have some specific > question. (1) The two constructs (interactive "p") > and (interactive "pMessage: ") are valid, but are > they equivalent? (2) How is (interactive "p") > different from (interactive "N"). They both > represent numeric arguments, but what is different? C-h f interactive RET > ( defun IntchgWp (arg) > "TODO" > (interactive "p") > (transpose-words arg) > ) > > ( defun IntchgW--pmesg (arg) > "TODO" > (interactive "pType Arg to transpose-words: ") > (transpose-words arg) > ) C-h f defalias RET -- underground experts united [1]http://user.it.uu.se/~embe8573 [2]https://dataswamp.org/~incal References 1. http://user.it.uu.se/~embe8573 2. https://dataswamp.org/~incal