all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Van Ly <van.ly@sdf.org>
Cc: 64868@debbugs.gnu.org
Subject: bug#64868: 29.1; C-x O binding suggestion for (other-window -1)
Date: Wed, 26 Jul 2023 16:47:52 +0300	[thread overview]
Message-ID: <83pm4eokc7.fsf@gnu.org> (raw)
In-Reply-To: <202307261319.36QDJmW9005492@sdf.org> (message from Van Ly on Wed, 26 Jul 2023 13:19:48 GMT)

> Date: Wed, 26 Jul 2023 13:19:48 GMT
> From: Van Ly <van.ly@sdf.org>
> Cc: 64868@debbugs.gnu.org
> 
> > What's wrong with "C-- C-x o" (or "C-u - C-x o" if you are on a
> > text-mode terminal)?
> 
> C-- shrinks the font size depending on the console.

In "emacs -Q"?  Doesn't happen for me.

> To run the universal-argument command I map the C-u to somewhere else
> as the fingers more frequently use C-u for rubbing out from the
> current position to left margin position zero. I use Super-u or
> Escape-u for universal-argument and avoid that if I can because Super
> and Escape are read differently depending on console and keyboard
> context.

So you will need to find a binding for (other-window -1) that is
specific to your customizations.  There's no need to change the
defaults for that, because key bindings are sort of user
customizations that users are encouraged to do to suit their needs and
preferences.

> > We don't have too many free key sequences, so "wasting" one on
> > something that can be easily achieved via an existing binding is not a
> > good idea, IMO.
> 
> I agree.  I guess we could use C-x O for now until something more
> preferable comes along to occupy the big O. org-mode?  That fits
> nicely next to project.

No, I mean we should not give this command a key binding at all, not
by default.  There's no need, since you can easily do it for you
without changing any default bindings.

> Perhaps there could be a minor mode to flip the switch on C-u and C-h
> behavior.  Rolling your own C-u and C-h behavior breaks functionality
> for example to find completions to C-x p using
> 
>  <f1> c C-x p <f1>
> 
> doesn't do what the default C-h does I guess
> 
>  <f1> c C-x p C-h ; or TAB, I guess wrong there too

Neither do "C-h c C-x p C-h", so the above is the expected behavior,
unrelated to the fact that you rebind C-h.





  reply	other threads:[~2023-07-26 13:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26  6:46 bug#64868: 29.1; C-x O binding suggestion for (other-window -1) Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-26 11:15 ` Eli Zaretskii
2023-07-26 13:19   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-26 13:47     ` Eli Zaretskii [this message]
2023-08-02 13:07       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 14:26         ` Drew Adams
2023-08-02 16:25           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 16:45             ` Drew Adams
2023-08-03  2:42               ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 14:28         ` Eli Zaretskii
2023-08-02 16:45           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 17:01             ` Eli Zaretskii
2023-07-26 14:37 ` Drew Adams
2023-08-02 21:00 ` Jim Porter

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=83pm4eokc7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64868@debbugs.gnu.org \
    --cc=van.ly@sdf.org \
    /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.