From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: daniela-spit@gmx.it Newsgroups: gmane.emacs.help Subject: Keybinding that cycles call to a function Date: Fri, 27 Nov 2020 02:00:41 +0100 Message-ID: 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="33616"; 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 Nov 27 02:01:26 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 1kiS8c-0008fh-Cd for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 02:01:26 +0100 Original-Received: from localhost ([::1]:57346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiS8b-0003uu-AF for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 20:01:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiS7x-0003sq-8E for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 20:00:45 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:35913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiS7v-0004bL-Ff for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 20:00:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606438841; bh=RlFpBvK7hbnBL810XaBypDH1Bwm2jXHs9ktbqhNUUY8=; h=X-UI-Sender-Class:From:To:Subject:Date; b=ZJXTBIljC+UthfggDK6ANoGXaMa2wN6X2Km4BB3QMMss75SfwIGrmXS2enohzoDl4 pS0rTnaO0/yaGS/3sXCSMAYZVVss9kQgsOXz32Kkrc61+QePrEraJzezXZ1g9kjZYr 1vWmPTOY9A+OL7zGb9FMt6u1m+VQ8AqZoql+rz9o= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Fri, 27 Nov 2020 02:00:41 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:aMT7hPJIJ+mohx96lsQtebKi9HLd4M5z9Loc5MbvAvmzsFl2VAywwDZWrkIxZIe4EgZwF NxDsV4kNg6Gu2acaO/rsRJND2w0mAOKodVFETEzq7xoLF24O5KBpaMuE8ckDMRfU+eR+Hoqte78O cIkURBauLhuLgOmHXsOh/IF7j59T2RYOI7eL5lOcY0TJCvq6sEBQMBU8PhirAVwVymYvIx1y6nFc A5t+Jcpm7RgIg2g7ggU+b9aujfb87UMQuj48dN2y9vcYc8jiu8IrfjD57mEwcbYANB04txerDVU9 a4= X-UI-Out-Filterresults: notjunk:1;V03:K0:eYdKvWzw130=:uI4PA7fnW54jzMM246zopn CaW3Ss4ZHrYXDUpM1IK/txfYX4yMxvAqZi8P87GkndYlqJLla2zTqYVVfALhq2+zTwE+by8aq 3xwiGs8/Wbuqiq3hBDu2ZMTkUb+ks5f5+BusNzfG+gVdAwEtGeKj9DVmOOUj2HvpSnNYFas/5 GYTInuqybY0FLXQ6X1qFBnxRYChVNUf8jUz9WJJSfNQalh+7UNXG5WC6l0p+7CV/7zEVkm7il zwRNC3x/vuAfy/8ZhPvUkvGUxpeqrO074wcT1zhzzKDWR9UsyvSRj8g66QeKBk+URi6tyIseX 1sIOqxlIq/VuJlPiJmw2Cgp17539Be95HfM26wq6QBGG9/JKkbYmWqrMyHl7f7wFSLB8ENiEA LwF1EIC9BuJbL/Pl+HfcGSAVEbff/J5oxINaQZRbYYrINe8KfdLcoqGQZVZynBfRblHzCEjGc WGCACCTvGbr6B8Evx6MYT95GMXMC/zv/Fa9+PfcvvY/b5+Iz7Jaxc/bXjvH38TgL2aaKnwIAv oR7Ryjja4D29fJ3uhvu3S5qYaGfdNw2+SRtDkR2Z/cwpSVZB+1UMTYQtWNUaKf7dHl+WfQs+H B0R8dwiX7K2p0= Received-SPF: pass client-ip=212.227.15.18; envelope-from=daniela-spit@gmx.it; 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 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:125601 Archived-At: If I have a function that takes a number. How can a make a keybinding that cycles through the values n = 0, 1, 2? (defun fn (n) (interactive "n Enter Value: ") body-of-func)