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 14:25:27 +0200 Message-ID: References: <87d01yi6ad.fsf@ebih.ebihd> <87y2kmgqi7.fsf@ebih.ebihd> <87ft6ugqcp.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="28344"; 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 14:29:50 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 1kP39B-0007HP-EP for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 14:29:49 +0200 Original-Received: from localhost ([::1]:56080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP399-0003vh-Lw for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Oct 2020 08:29:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP352-0003vJ-FH for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 08:25:32 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:50827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP350-0002o2-A7 for help-gnu-emacs@gnu.org; Sun, 04 Oct 2020 08:25:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601814327; bh=TkmplVIToJCeNrT/gt4uMandiWFwgJ13EFpFxwmrz9E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=T010czeydLgUVOh8ookudqLDBtXCyIn9vybIP86ajFCUch87gg0vVi392mYry1H8p 40pqbV5PY+pq3683MdwE+MhqabxDaWVUKm5n0GZbvP1hQ/ihRfro/Bs+y+5rVjWMz7 VEI9KpgZ9orNzZe+Mm91DnXzMkFlRhjEj/UqGoyM= 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 14:25:27 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87ft6ugqcp.fsf@ebih.ebihd> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:4eVwrrpPyZ4g7tpWeOu6gMQvRCFzhIj+vla0vdt3ilZSQVQ14KuAnXz6UlNGxvjnwAQKs g1lnYbIJnlhRB+KT6PrdszDys0ezlRNhAMpIu5xT2zm0QzOK5JBphmCNcgbmhTerChX7Texp1LNd Ebss9ann4mrEaHSK+PSMUFqISQNw8cjplyUp4jwAf85JFHOu4B7KsFkRO/A2Cw4fqKbDPc4wyHX1 HrBAxoVsTUVw/AI4caG4Xjb7lh+GxVqXIQftC6r69S1UDvTMnaRT30MfXRzwojIFBDFY0PWZ+lPt a0= X-UI-Out-Filterresults: notjunk:1;V03:K0:Wugsw49aT3w=:/Y52puuCwy7a8/jVrlnYYv big0LzmuV0ZLFVa1D3Zg9coAR4/d0G8TUvjlcjScYpq66x/51NBtaeA7rxzIDRsHlwIZ9jJsT Z261KmAxidjSzeCEPFhPK7pxr5dhmuAUjTvcIeXRfn50XungdKuXM+L9EBs5kphGjJ3OnP99a +oqcntIu3yDmH1Dy2Kc1HG4gsrfKg6tkEPI1HVhtzXVUkyj9Vzy35d32Q903mOqpsBh+Qad05 6eNGT/Fv94laOuvFyYNgyG5i6vxdoJEWQt+N+FMlUT/PYc+viGF3J0HLJ41NRcTfCZxYGLIZb m6z5GpbAwPhZJaWKcBIj+5sVdA85O1w0pOFtcov40wsbpMPTcmukJ9wDmP5gCqHmzohkin3VH AUzOebgyR2omgMev8a8DjGcm0SEdaexCw2tEi1q+8Xms9DUE+iS59Cz7xL45BJYqaWh11t+wf bV3vqaaCxssPLETTg6MjBJcpXgbAlMhYNXC9qh3DMXuEjDOs9ejM5FZ4Ev1ESTpHxL7ZGUEn3 jr+eIh/RdfrXskm9GVGPg3r9yevoN4/Q17Of2Z+UsxaiirR++Kur1hHG4lycTakQhisnurDEj OtVtO42xggXQOf2lhPfwnIxQ1GkJhbN3uyjBx9iAVfNrj6BQTpp01jcNsh4HOk/Ijzfs2jDKX DlDZi3VTaSePEZ2WYVqY2aYy0qDxpPfmhO3tBCRediw8BiFxavWLHtQhZW52rudj7/wY= 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/04 07:31:29 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:124275 Archived-At: A problem I am encountering with keybindings is that I end up with very st= range key combinations. I rather type a key followed by a string as is done in E= macs such as "M-x org-mode". Is there an relatively easy way to do this for one= 's own operations? Cheers C* > Sent: Sunday, October 04, 2020 at 12:52 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 > > > (require 'some-mode) > > > > (define-key some-mode-map "[\MODIFIER-]key[-...]" #'function-name) > > E.g., it can look like this: > > (require 'org) > > (define-key org-mode-map "\C-c\C-c" #'org-latex-export-to-pdf) > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >