From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: RE: Setting keybinding for org-support-shift-select t Date: Sun, 4 Oct 2020 10:52:05 -0700 (PDT) Message-ID: <94858e0d-61f9-4e33-9c53-24ad39b0aab9@default> 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="4056"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 04 19:52:43 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 1kP8Be-0000wu-EQ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 19:52:42 +0200 Original-Received: from localhost ([::1]:35142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP8Bd-0005a3-Ed for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 13:52:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP8BG-0005Za-Do for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 13:52:18 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:58468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP8BD-0006r7-Oq for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 13:52:17 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 094Hk1sF165494; Sun, 4 Oct 2020 17:52:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=Xbe4Zk2NZkFcFyrWMkJEs/L7S6ENr3o0nT0/WVlqmz4=; b=WkOsu02uxfL5QjPU6cpSgKslpfno3beaP7jqqnwyIk++uA6PbpYW6ExGaChr61My4yBM fKoYz2eoWdzyAKRJC0PEEfLblSRFiwqcgirYpE9bhLI1o5FYwpoW0EmriacAPLm2kCJW WSWgqNQhzquz9P4XCjWxf5gCRj3KIYU30cyC3RJ7JETVfXu8I+XOeqkSQXKXSb0AnSAN S8sJN+DOn31zi5v7adwtOjy+wVnfDU40ZfbXdyluTfAisaGeIbrYogl4nCqJCzxzrTWa Wa2mDWXOg2DDy0k1/OUFYeBQhVL/bfdpKhpgYhlrTkRTLlbTiIMM+xNNrCs0uK1liwBe Aw== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 33xhxmjs68-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 04 Oct 2020 17:52:09 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 094Ho1P2057611; Sun, 4 Oct 2020 17:52:09 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 33y37u7cyj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 04 Oct 2020 17:52:09 +0000 Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 094Hq6YT022883; Sun, 4 Oct 2020 17:52:06 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9764 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 malwarescore=0 suspectscore=0 adultscore=0 mlxlogscore=605 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010040138 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9764 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxlogscore=624 adultscore=0 clxscore=1015 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010040137 Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com; helo=userp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 12:53:32 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.745, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:124290 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. >=20 > 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. >=20 > So then I might have, for example, to use with keybindings and > to use with my user defined functions. >=20 > Correct me if I am wrong, but I think I understood you. Yes, I believe you understood. A key can _either_ be bound to a keymap (and to a prefix command, which is, in effect, just that keymap) _or_ be bound to a command (which is not a prefix command, i.e., not just a keymap). Removing the parenthetical qualifications: A key can either be bound to a keymap or to a command, not to both. Either Emacs sees only a prefix key and waits for the rest of a key sequence or Emacs sees a completed sequence and invokes its command.