all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RE: C-o
@ 2024-07-02 15:41 Drew Adams
  2024-07-02 15:47 ` C-o Daniel Colascione
  2024-07-02 16:20 ` C-o Dr. Arne Babenhauserheide
  0 siblings, 2 replies; 30+ messages in thread
From: Drew Adams @ 2024-07-02 15:41 UTC (permalink / raw)
  To: Dmitry Gutov, Stefan Monnier, Po Lu
  Cc: Daniel Colascione, Alan Mackenzie, Stefan Kangas,
	emacs-devel@gnu.org

> >>> What do you use it for?
> > I'm also curious to know how people use `C-o`, which I never ever use.

I wasn't going to chime in on this thread...

My use of `C-o' is, well, peculiar.  I almost
don't use it.

I keep its default binding, which I never use
it for.  I use it only to try/test a command
I want to temporarily bind to a repeatable,
simple key that won't interfere with bindings
I really do use.  I do this (fairly often):

 M-x global-set-key RET C-o <some command
 I want to use temporarily, perhaps repeatedly
 (by just holding it down)> RET

Yeah, I know, seems a waste of such a simple,
repeatable key.  But it's precisely the
uselessness to me of that binding that keeps
the key free for me mentally.  In effect, I've
unconsciously tossed it onto the No-Default
Free List.

Needless to say, I do NOT want its default
binding to be changed to some command that's
useful but not repeatable.

I dread this thread, given that it has the
possibility that Emacs will change the useless
binding of `C-o' to some command that's useful
but not repeatable.  (Repeatable keys not at
the end of a prefix key are indeed rare).

IOW, it's a bad default binding, but therein
lies its usefulness: it could be worse.

[ The only reasonable alternative to binding a
  simple repeatable key to a repeatable command
  is to bind it as a prefix key.  That's what
  we've done for keys such as `C-x'.  That's
  OK.  But to bind a simple repeatable key to a
  command that, e.g., prompts for something is
  a mortal sin. Thou Shalt Not Waste. ]

  - Church of Emacs

I was content to let this sleeping dog lie.
Now that it's awakened, Bonjour les dégats...


^ permalink raw reply	[flat|nested] 30+ messages in thread
* Proposal: new default bindings for winner and windmove
@ 2021-08-21 19:10 Daniel Colascione
  2021-08-22 17:52 ` Stefan Monnier
  0 siblings, 1 reply; 30+ messages in thread
From: Daniel Colascione @ 2021-08-21 19:10 UTC (permalink / raw)
  To: emacs-devel

Today, winner binds C-c LEFT  and C-c RIGHT for window configuration 
undo and redo, respectively. This set of bindings has three problems:

  1) the bindings occupy binding space on important keys, LEFT and 
RIGHT, for functions that are rarely used,

2) the winner binding space isn't logically connected to window 
management, and

3) the bindings don't work on terminals without LEFT and RIGHT.

How about we set up these bindings instead?

C-x 4 C-/ winner-undo

M-- C-x 4 C-/ winner-redo

This way, a winner undo has the same binding as editing undo, but under 
C-x 4, which means window management stuff.

(Also: is there any reason we shouldn't enable winner by default?)

Likewise, for windmove, we can bind C-x 4 {left, right, up, down} and 
DWIM for people automatically, enabled by default.




^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-07-05  4:28 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 15:41 C-o Drew Adams
2024-07-02 15:47 ` C-o Daniel Colascione
2024-07-02 17:18   ` C-o Alfred M. Szmidt
2024-07-02 17:52     ` C-o Stefan Monnier
2024-07-02 18:56       ` [External] : C-o Drew Adams
2024-07-02 22:12       ` C-o Daniel Colascione
2024-07-03  1:49         ` C-o Stefan Monnier
2024-07-02 18:27     ` C-o Eli Zaretskii
2024-07-02 22:04       ` C-o chad
2024-07-02 16:20 ` C-o Dr. Arne Babenhauserheide
  -- strict thread matches above, loose matches on Subject: below --
2021-08-21 19:10 Proposal: new default bindings for winner and windmove Daniel Colascione
2021-08-22 17:52 ` Stefan Monnier
2024-06-21 19:03   ` Stefan Monnier
2024-06-21 20:39     ` Stefan Kangas
2024-06-26 15:48       ` Stefan Monnier
2024-07-01  1:29         ` Stefan Kangas
2024-07-01 10:07           ` Alan Mackenzie
2024-07-01 11:25             ` Dmitry Gutov
2024-07-01 21:24               ` Alan Mackenzie
2024-07-01 22:07                 ` Daniel Colascione
2024-07-02  1:00                   ` Po Lu
2024-07-02  3:26                     ` C-o (was: Proposal: new default bindings for winner and windmove) Stefan Monnier
2024-07-02  4:34                       ` C-o Po Lu
2024-07-02  5:59                       ` C-o Gerd Möllmann
2024-07-02  6:23                       ` C-o Visuwesh
2024-07-02 12:51                       ` C-o Dmitry Gutov
2024-07-02 13:06                         ` C-o Po Lu
2024-07-02 13:39                           ` C-o Eli Zaretskii
2024-07-02 14:02                             ` C-o Alfred M. Szmidt
2024-07-03  9:24                             ` C-o Po Lu
2024-07-03 11:33                               ` C-o Eli Zaretskii
2024-07-03 12:15                                 ` C-o Po Lu
2024-07-02 14:02                       ` C-o T.V Raman
2024-07-02 15:36                         ` C-o Alfred M. Szmidt
2024-07-02 22:27                       ` C-o Michael Heerdegen via Emacs development discussions.
2024-07-02 22:44                       ` C-o Jeremy Bryant
2024-07-03 10:07                       ` C-o (was: Proposal: new default bindings for winner and windmove) Per Starbäck
2024-07-03 12:48                         ` C-o Howard Melman
2024-07-03 16:24                           ` C-o Yuri Khan
2024-07-03 16:32                             ` C-o Howard Melman
2024-07-05  4:14                               ` C-o Richard Stallman
2024-07-05  4:28                                 ` C-o Howard Melman
2024-07-03 19:13                           ` C-o Bob Rogers

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.