all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Ergus <spacibba@aol.com>
Cc: Richard Stallman <rms@gnu.org>,
	thibaut.verron@gmail.com, raman@google.com,
	monnier@iro.umontreal.ca, dgutov@yandex.ru, eliz@gnu.org,
	emacs-devel@gnu.org, Stefan Kangas <stefankangas@gmail.com>
Subject: Re: Opening Up More Keymaps Re: Standardizing more key bindings?
Date: Sun, 04 Oct 2020 22:34:23 +0300	[thread overview]
Message-ID: <874knczxps.fsf@mail.linkov.net> (raw)
In-Reply-To: <20201002104345.eyhrbcdkllnrthgm@Ergus> (Ergus's message of "Fri,  2 Oct 2020 12:43:45 +0200")

> To be not so disruptive that's why I think that C-z C-z is the most
> conservative alternative.

This is what I successfully used for many years to dedicate the whole
C-z kemap to user-defined keys while keeping suspend-frame on C-z C-z:

#+begin_src emacs-lisp
(defvar my-map
  (let ((map (make-sparse-keymap))
        (old (global-key-binding "\C-z")))
    (global-unset-key "\C-z")
    (define-key global-map "\C-z" map)
    (define-key map "\C-z" old)
    map))
#+end_src

And when cua-mode is enabled, C-z is bound to undo.



  reply	other threads:[~2020-10-04 19:34 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-27  9:31 Standardizing more key bindings? Thibaut Verron
2020-09-27 15:57 ` Stefan Monnier
2020-09-28  3:44 ` Richard Stallman
2020-09-28  4:38   ` Thibaut Verron
2020-09-28  7:39     ` Thibaut Verron
2020-09-29  3:30       ` Richard Stallman
2020-09-29  5:07         ` Thibaut Verron
2020-09-29 10:36           ` Vasilij Schneidermann
2020-10-01  4:09           ` Richard Stallman
2020-10-01  5:20             ` Thibaut Verron
2020-09-29 21:56         ` Dmitry Gutov
2020-11-01  4:27           ` Richard Stallman
2020-11-01  6:56             ` References to "REPL" from past Jean Louis
2020-11-01 13:51             ` Standardizing more key bindings? Stefan Monnier
2020-11-02  5:41               ` Richard Stallman
2020-11-02  6:14                 ` Yuri Khan
2020-11-02  8:08                   ` tomas
2020-11-02  9:50                   ` Dmitry Gutov
2020-11-02 11:40                     ` Python REPL using standard library functions Yuri Khan
2020-11-02 22:46                       ` Dmitry Gutov
2020-11-01 21:35             ` Standardizing more key bindings? Dmitry Gutov
2020-11-01 22:27               ` Drew Adams
2020-11-02  5:46               ` Richard Stallman
2020-09-29 21:58 ` Dmitry Gutov
2020-09-30  6:08   ` Thibaut Verron
2020-09-30 16:58     ` Opening Up More Keymaps " T.V Raman
2020-09-30 17:29       ` Thibaut Verron
2020-09-30 18:12         ` Robert Pluim
2020-09-30 18:16       ` Stefan Monnier
2020-09-30 18:35         ` T.V Raman
2020-09-30 18:41           ` Robert Pluim
2020-09-30 19:54           ` Stefan Monnier
2020-09-30 19:58             ` T.V Raman
2020-09-30 20:00               ` Noam Postavsky
2020-09-30 20:03                 ` T.V Raman
2020-09-30 21:00                   ` chad
2020-09-30 21:34                     ` T.V Raman
2020-09-30 20:45               ` Stefan Monnier
2020-09-30 20:51                 ` T.V Raman
2020-09-30 21:13                 ` Gregory Heytings via Emacs development discussions.
2020-09-30 21:19                   ` Stefan Monnier
2020-09-30 21:37                     ` T.V Raman
2020-09-30 21:44                       ` Stefan Monnier
2020-09-30 23:07                         ` T.V Raman
2020-10-01  2:35                 ` Eli Zaretskii
2020-10-01  3:27                   ` Stefan Monnier
2020-10-01 12:38                   ` Ergus
2020-10-01 14:17                     ` Stefan Kangas
2020-10-01 14:45                       ` Caio Henrique
2020-10-02  3:54                       ` Richard Stallman
2020-10-02 10:43                         ` Ergus
2020-10-04 19:34                           ` Juri Linkov [this message]
2020-10-02  3:49                   ` Richard Stallman
2020-10-02  6:56                     ` Eli Zaretskii
2020-10-02 11:34                       ` Ergus
2020-10-02 12:26                         ` Eli Zaretskii
2020-10-04  3:38                       ` Richard Stallman
2020-10-04 10:38                         ` Thibaut Verron
2020-10-04 13:46                           ` Alfred M. Szmidt
2020-10-04 16:24                             ` Thibaut Verron
2020-10-04 17:00                               ` Alfred M. Szmidt
2020-10-04 17:32                                 ` Thibaut Verron
2020-10-04 17:46                                   ` Alfred M. Szmidt
2020-10-05  3:11                                     ` Richard Stallman
2020-10-06  8:59                                       ` Lars Brinkhoff
2020-10-04 17:46                               ` Alfred M. Szmidt
2020-10-05  3:13                           ` Richard Stallman
2020-10-04 14:10                       ` Howard Melman
2020-10-02  3:45     ` Richard Stallman
2020-10-02  6:26       ` Thibaut Verron
2020-10-04  3:39         ` Richard Stallman
2020-10-04  3:39         ` Richard Stallman
2020-10-02  6:52       ` Eli Zaretskii
2020-10-02 14:00         ` Stefan Monnier
2020-10-04  3:38         ` Richard Stallman
2020-10-04  7:16           ` Eli Zaretskii
2020-10-05  3:14             ` Richard Stallman
2020-10-02 13:56       ` Stefan Monnier
2020-10-03  2:57         ` Richard Stallman
2020-10-06 12:53 ` Nikolay Kudryavtsev
2020-10-06 13:27   ` Stefan Monnier
2020-10-06 14:24     ` Nikolay Kudryavtsev
2020-10-06 14:43       ` Stefan Monnier
2020-10-08  9:40         ` Nikolay Kudryavtsev
2020-10-07  4:19   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874knczxps.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=raman@google.com \
    --cc=rms@gnu.org \
    --cc=spacibba@aol.com \
    --cc=stefankangas@gmail.com \
    --cc=thibaut.verron@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.