From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64868@debbugs.gnu.org
Subject: bug#64868: 29.1; C-x O binding suggestion for (other-window -1)
Date: Wed, 2 Aug 2023 16:45:35 GMT [thread overview]
Message-ID: <202308021645.372GjZ84027586@sdf.org> (raw)
In-Reply-To: <83leetzffg.fsf@gnu.org> (message from Eli Zaretskii on Wed, 02 Aug 2023 17:28:51 +0300)
> Date: Wed, 02 Aug 2023 17:28:51 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 64868@debbugs.gnu.org
>
> > Date: Wed, 2 Aug 2023 13:07:42 GMT
> > From: Van Ly <van.ly@sdf.org>
> > Cc: 64868@debbugs.gnu.org
> >
> > Is there a way to overlay ``b'' in the read-only modes such as
> > view-mode to function in the opposite direction to SPC.
>
> I don't understand what you mean by "overlay". The function in the
> opposite direction of SPC is View-scroll-page-backward, so if you want
> to bind it to some non-default key, you can (although it already has a
> convenient binding to S-SPC).
>
As examples, in the occur-mode-hook and view-mode-hook I map "b" to
scroll-down-command and View-scroll-line-backward. Can that be done
once by grouping occur-mode and view-mode as members in a read-only
mode for "b" to function that way to page in the opposite direction
SPC would scroll?
By overlay I mean how the meaning of keybindings are stacked. At
bottom are the defaults. A user interface lets an overlapping set to
stack above them, kind of how the visual themes work I imagine.
> > The ``self-insert'' default for keys in read-only modes feels like a
> > bug you step on, notice but don't squish by habit.
>
> I don't understand what you are trying to say here. What "self-insert
> default" are you alluding to?
Well, in view-mode there are many "self-insert-command" keys mapped
such as "b" or "i" or "j". I expect the key bindings to
self-insert-command in read-only modes to be unused.
next prev parent reply other threads:[~2023-08-02 16:45 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
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 [this message]
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=202308021645.372GjZ84027586@sdf.org \
--to=bug-gnu-emacs@gnu.org \
--cc=64868@debbugs.gnu.org \
--cc=eliz@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.