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: RE: Setting keybinding for org-support-shift-select t Date: Sun, 4 Oct 2020 19:36:04 +0200 Message-ID: References: <87d01yi6ad.fsf@ebih.ebihd> <87y2kmgqi7.fsf@ebih.ebihd> <87ft6ugqcp.fsf@ebih.ebihd> <20201004124018.GA292110@scrozzle> <87r1qeavax.fsf@ebih.ebihd> <3713af7f-9c34-4ed9-8f51-acc912344bb2@default> 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="25579"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 04 19:38:19 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 1kP7xj-0006Z6-69 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 19:38:19 +0200 Original-Received: from localhost ([::1]:51440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP7xi-0008Fu-28 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 13:38:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP7vi-0008Fb-CF for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 13:36:14 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:47127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP7vf-0005FC-MB for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 13:36:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601832964; bh=i0Qg72/AOD5T392Ano7rrEuXOWesXZmRev/iIp1XsE4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hnBAhZXI3qVSkgiZot//bAVZnIPHUOnjOxt1BFvEy85SLbPVdSwGr6WqPKc77zOjr 4mThHXEfDAzaNi2KiWfFsvpqGecWB4+E6MZ8bk2S+lYXaVNln2ieDb9J+2UlW4O/3U Sf77uZrqhIOHnJC27IifXgYF7ONsR5qoDGayKeOg= 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 19:36:04 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <3713af7f-9c34-4ed9-8f51-acc912344bb2@default> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:nAX3TRqCn8iEXUNjE2+SwVI7n8XTdH7L2aOgMZu4SHbjAISdScpK74iIlvQtvtx4eAYkX MvAiPwnztG/jbrGJ6ygJIgBT8VlF6mJzG2VnC+HKSbMs2Ey3INCuO4sbLdOt7U139cKp2dIyXuV2 p1z8XPl0DxH6jKIlsJ1ODB76LK6pQNcrhbRFgGKHo0tIwWqIQZCAxWPS+Xa1Kl6NrADu3RFRx+gk yyHapoRH+9zEFj+67BlGbcLH12ngZGzqlRNGpb4KTA297QK4E/GiD3l7obZozDtm06O7PQRZRhHF Uw= X-UI-Out-Filterresults: notjunk:1;V03:K0:NDdWuogETFo=:LuiK8QT4+uE+yygXvTZjUs 3bMcROVJn6umHzx7kTczascwTp9Dc/NZvF4iozzTEAYw0cwSVUkr3leaXA7xgk7Cl6Ts6Lw4u L/cKWK2lytPjdQSL914VYK2xHQYUtUtV7phIj9qY4cqlsoBOWnkkBuyyhhbL3EwKIJ25rX7Jw 1YidCj19cuAR0lfs6e6Bj3pgdkRcNZPTYNXEHCC8/iRYTwtpj5lIU6pMSnAZ+pNc+hyjFNiW3 L2TmdtX4wqFQIWoARQ9ht4+9TvDUcR9AmguMyRNw7uvXi3nfhMoE6MYapU7c4zC6P7+XNba2U jxlkz84590/t7oHLQfhynAKF7qDvCvcjutDKyVJdU/uQifblkZxqnxL5WKX5eAx05vltJCtO2 a4zZLzZHxmAugMOtPsSTdwzCozaoM9ShYEIXGw83vvWqBToTgj7LWN1EUxXk1ar5d6C3bKeCs timUW1yjwy5ak0QpYs7Pv4FPSSMODFUvVnIekGFVK+KKyV1SdzCz0pEakDQGihiP4ylxwNsUL H5R7Pu/UK3TbBM5+CueaecPMphkxOccF3Z5uU6Q7M5P2az4H2zEBfM+T4eML1hyUl7CgbcRPa ax2D/r2UBlTYUBgqGwrlGWgbmUHdllYr08/LJ7KRkeGivCIk6fm4cNvzWg7wqJNXgd6KZWGxA UV5motNTJwG0nkhsC9zwmtFhAUK0l5BDtCVQlEvEmxx/I5atK4nGD3UWfCTb1BPMvtNY= 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:124289 Archived-At: I have usually used key bindings to do some operations I like. But then, the keybindings became too cryptic for me to remember and thought of using my user defined function names for the more complicated operations. As you are saying, I can either have defined as a Prefix-Key or use it to call my user defined functions. Hover I cannot use to do both - calling functions and using keybindings. So then I might have, for example, to use with keybindings and to use with my user defined functions. Correct me if I am wrong, but I think I understood you. > Sent: Sunday, October 04, 2020 at 6:08 PM > From: "Drew Adams" > To: "Christopher Dimech" , moasenwood@zoho.eu > Cc: help-gnu-emacs@gnu.org > Subject: RE: Setting keybinding for org-support-shift-select t > > > The following gives me problems if I have keybindings associated > > with such as " q" to display agenda > > > > (global-set-key [f1] #'execute-extended-command) > > It's not clear to me what you're asking/saying. > > But yes, if `f1' is defined as a prefix key, and > you then instead bind it to a command (and not > to a keymap), then it's no longer a prefix key. > > It either is or isn't a prefix key. If bound to > `execute-extended-command' then it's not, so > `f1 q' won't work - as soon as you hit `f1' the > command `execute-extended-command' is invoked. > > If bound to a prefix key, when you hit `f1' Emacs > waits for you to hit one or more additional keys, > to complete the key sequence. > >