all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: condy <condy0919@gmail.com>,
	Zhiwei Chen <chenzhiwei03@kuaishou.com>,
	emacs-devel@gnu.org
Subject: Re: POLL: make C-x o transient
Date: Mon, 01 Feb 2021 19:21:19 +0200	[thread overview]
Message-ID: <87r1lz1zfg.fsf@mail.linkov.net> (raw)
In-Reply-To: <8735yhpou7.fsf@iki.fi> (Teemu Likonen's message of "Sun, 31 Jan 2021 09:06:40 +0200")

> I would really like to have "C-x o o o o" feature to cycle through
> frame's windows. I think one cycling direction is enough because frames
> don't usually have large number of windows. On the other hand even "C-x
> o o" is much nicer than "C-x o C-x o".

Repeating the last character is the most convenient way to repeat the command,
indeed.  No other key combination would be equally easy to type.  For example,
when there is a need to navigate next-error locations with 'M-g n M-g n ...'
changing the modifier key in 'M-g n C-=' won't do it better than just
'M-g n n n ...'

But since typing a self-inserting key is ambiguous, and sometimes requires
typing another key to break the key sequence to insert the character,
this means that such feature should be optional.

In this case it's easy to implement it as a minor mode that uses hooks,
e.g. last-char-repeatable-mode added to repeat.el.

This could be like delete-selection-mode that by default
puts a special property on symbols of affected commands.



  parent reply	other threads:[~2021-02-01 17:21 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24  6:12 POLL: make C-x o transient Zhiwei Chen
2021-01-24 11:32 ` Kévin Le Gouguec
2021-01-24 14:40   ` andrés ramírez
2021-01-25  5:52 ` Richard Stallman
2021-01-25 12:21   ` Zhiwei Chen
2021-01-26  6:02     ` Richard Stallman
2021-01-25 14:39 ` Stefan Monnier
2021-01-25 15:30   ` aitor
2021-01-25 16:38     ` Philip K.
2021-01-25 17:23     ` Colin Baxter
2021-01-26  5:59     ` Richard Stallman
2021-01-26 10:44       ` Olivier Certner
2021-01-26 23:38         ` Sean Whitton
2021-01-27  6:51           ` Colin Baxter
2021-01-25 15:47   ` [External] : " Drew Adams
2021-01-25 17:01   ` Juri Linkov
2021-01-25 17:21     ` Omar Polo
2021-01-27 17:55     ` Juri Linkov
2021-01-28  7:46       ` Philip K.
2021-01-28  8:50         ` Juri Linkov
2021-01-28  9:40       ` martin rudalics
2021-01-28 18:43         ` Juri Linkov
2021-01-28 19:13           ` Gregory Heytings
2021-01-28 20:34             ` Kévin Le Gouguec
2021-01-28 21:27               ` Gregory Heytings
2021-01-28 21:58             ` Alan Mackenzie
2021-01-28 23:19               ` Philip K.
2021-01-29  0:03                 ` [External] : " Drew Adams
2021-01-29  2:43                   ` chad
2021-01-29 19:11                     ` Drew Adams
2021-01-30  5:58                     ` Richard Stallman
2021-02-01 19:50                       ` chad
2021-02-02 21:11                         ` Gregory Heytings
2021-02-05  5:48                           ` Richard Stallman
2021-02-05  8:37                             ` Gregory Heytings
2021-02-05  8:58                               ` Juri Linkov
2021-02-05  9:34                                 ` Gregory Heytings
2021-02-06 19:25                                   ` Juri Linkov
2021-02-06 20:27                                     ` Gregory Heytings
2021-02-06 21:30                                       ` Stefan Monnier
2021-02-06 23:22                                         ` Ergus via Emacs development discussions.
2021-02-07 18:54                                       ` Juri Linkov
2021-02-03  5:51                         ` [External] : " Richard Stallman
2021-02-03 20:38                           ` chad
2021-02-04  5:44                             ` Richard Stallman
2021-02-04 19:24                               ` chad
2021-01-29  7:54                   ` Gregory Heytings
2021-01-29 13:45                     ` Stefan Monnier
2021-01-29 16:56                       ` Óscar Fuentes
2021-01-29 19:12                       ` Drew Adams
2021-01-30 14:13                         ` Gregory Heytings
2021-01-30 20:47                           ` [External] : " Drew Adams
2021-01-31  1:06                             ` Gregory Heytings
2021-01-31 17:39                               ` Drew Adams
2021-01-31 23:12                                 ` Gregory Heytings
2021-01-31 23:53                                   ` [External] : " Drew Adams
2021-02-01  6:11                                   ` Richard Stallman
2021-01-30 14:13                       ` Gregory Heytings
2021-02-01 17:09               ` Yuan Fu
2021-01-29  2:38             ` chad
2021-01-29  8:44               ` Juri Linkov
2021-01-25 17:27   ` Jose E. Marchesi
2021-01-25 21:12 ` Sean Whitton
2021-01-27 21:46 ` Gregory Heytings
2021-01-31  7:06 ` Teemu Likonen
2021-01-31 17:32   ` [External] : " Drew Adams
2021-01-31 17:49     ` Alan Mackenzie
2021-01-31 18:37       ` Drew Adams
2021-01-31 18:10   ` Howard Melman
2021-02-01 17:21   ` Juri Linkov [this message]
2021-02-02 19:44     ` Sean Whitton
2021-02-03 17:20       ` Juri Linkov
2021-02-08  7:13 ` Jefferson Carpenter
2021-02-09  6:05   ` 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=87r1lz1zfg.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=chenzhiwei03@kuaishou.com \
    --cc=condy0919@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=tlikonen@iki.fi \
    /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.