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: Setting keybinding for org-support-shift-select t Date: Sun, 4 Oct 2020 21:26:40 +0200 Message-ID: References: <87d01yi6ad.fsf@ebih.ebihd> <87y2kmgqi7.fsf@ebih.ebihd> <87ft6ugqcp.fsf@ebih.ebihd> <20201004124018.GA292110@scrozzle> <87r1qeavax.fsf@ebih.ebihd> <87imbpstte.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="11508"; 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 Sun Oct 04 21:29:05 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 1kP9gu-0002rv-HA for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 21:29:04 +0200 Original-Received: from localhost ([::1]:44700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP9gt-0007NZ-BH for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 15:29:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP9ef-0007Lg-9R for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 15:26:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:37935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP9ec-0000kn-To for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 15:26:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601839600; bh=ZZNkR7J5DTEXzMN4NaXM/1SxFgRlX60rhJTlpSiXLpo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=FYQtmvVhXbj2R9SqUHI5N9cOozlIcFLAUrGvXA+n6g/Cjg+gBEAtreMnN6eaG47oq KWa1vcizKmkjpy/W9CwPA/QYybKTFWErg+h+pW27ztoMjl+3UyYpQbmjHIZ42uqh4Q upiPFdMbQz08Z0U7iEvbnBU9w/sQx9sKtH3gsMqA= 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-bs04.server.lan [172.19.170.170]) (via HTTP); Sun, 4 Oct 2020 21:26:40 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87imbpstte.fsf@ebih.ebihd> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:p3LmOVEpl3lsZBc1mjRDDLeD2YqcEYKBfTcaIIMH6nsxhAnKILxb7DuAgcIH4GXOFPmzZ JvnU8hDA8eSSWVQIuCFPdkAX0VGJHzdX2lQOywhxF85lRFFBoGvHFFoOsInFSE793xj4Hb4FASGI RoZVb/byQntyqFuC5l5Z1dCYwidRNXF53HBQsenKcuoz1diAj2rox9uTsCLYihMfGz7rWqwPl8P3 GLf4yQlUHAeNSL+nR8Y3R0vpdOcl9VRMeckdpOd/M6wN37XvYLrXPlqHz6Q0BH2r0Z9x6bQN258c O0= X-UI-Out-Filterresults: notjunk:1;V03:K0:/xaqK53Bqec=:m05fwZB+ulJ9CZO5+aC1bi SmpU9+FdPCjOWMGp35ea6iaNzKD3Z+zdcHN078gT4vOVvdBkGWHvZeFPXjHp5IAs3Tx6rfLkt WaJk4R1dMg63Jy2yYPfX4Tv/ksYRDmS+XNK8cfVCWoYnpBo/ERaYhE7SL1i8IvIHKItlwDqH4 hr4AAOQCeaNpl3x1zsQChK0WeuTmpO0m7Gu6gmS7X/nJhhdjdZryJRuzZcL/3yUeMMqSWu/4s m0gOhR4ShPEV4YuJGGWURZlIdUgCGhxQLTIm57n8P6EcJg8qELDR4dSll02DkV/+407KOxvDC cQiVmHNroSEHxQiPvSHmLyigW/z3zdUl+I9KGN++NmCk6pYZiQhDALx/4c3bMtYPkJF7GywXN QE7oHJy6VYkPgKLT80m4ZOYQ8k7g4VD2lUj+aYE+6txtjq8w+gNx679g2+DaHl4ZOf+aoE12O upFIOaY2gMiesjMpKQ+BT2XydEVIKXQ94owajuPNxw3r4p7MuSnIqyFWL6nF8NzFOM2+8dJij UVVSJXtLCr8fB0idRMASIEGghyxoeIhIfdLjNtyWA+ByzuZZs9PWLxgF4LWHtrnM9E3c3FBik a1488nScy5Lq1uELcVJeEMk3XnbYg8wEI+BSjV5TWZ4P4PeRXwA6GRHSPjN+oVXkQPt+sWUIW iJIalAmcj30tCQrZCb7qlSRBsBhXTB1iW4DMEf8bJDjXB/HjjITNDcyoR94XEf/5zaNA= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 13:36: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:124299 Archived-At: Not a troll, but looking hard on various ways to do things, which would then be useful for other when I release the code. My idea is this: Call the operation using the function name using " func-name". But this is the same as doing "M-x func-name". However, can I use the prefix before the function name just to show just my functions, not all of them. > Sent: Sunday, October 04, 2020 at 7:57 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Setting keybinding for org-support-shift-select t > > Christopher Dimech wrote: > > > but if I want to fire my own function > > ??? Is this an attempt at trolling? But OK ... > > You invoke all interactive functions (commands) the > same way, it doesn't matter if it is your own or > anyone else's. > > You can assign them to a keystroke (best for stuff > that is commonly used), and then choose any key or > key combination you'd like (see previous posts). > > If you don't want to do that, but instead type the > entire function name, you can do > > M-x function-name RET > > M-: (function-name [ARGS]) RET > > or type (function-name [ARGS]) and evaluate, as in > > (forward-char 1) > ^ evaluate me > > You can also use aliases to type whatever you want > instead of the proper name. > > > I have used the following to bind it to " q". > > But what if I want to use " myagendaa" to fire > > the function myagenda > > Do you want to type it, use M-x function-name RET. > You don't need to do anything extra, just write the > interactive function and evaluate it. > > If you instead want to assign it to some key, well... > do it! > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >