all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: JohnK <dernal@freemail.hu>
To: emacs-devel@gnu.org
Subject: Shouldn't diff mode have single key hotkeys in read only mode?
Date: Tue, 17 Jul 2018 09:06:57 +0200 (CEST)	[thread overview]
Message-ID: <freemail.20180717090657.2981.1@fmxmldata05.freemail.hu> (raw)

I often use diff mode and since its buffers are read only by default,  it's strange it has no single key hotkeys like other read only modes do. (e.g. 'a' for diff-apply-hunk, etc.)

I know I can set these hotkeys myself, it just seems odd that there are no such keys by default when one uses the diff buffer in read only mode most of the time (e.g. by showing changes compared to the trunk), and editing diffs is more of an exception.

Shouldn't diff mode offer single key hotkeys too by default for efficient operation, and turn them off when the buffer is switched to writable (and then the current multikey hotkeys can be used)?



             reply	other threads:[~2018-07-17  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  7:06 JohnK [this message]
2018-07-17 15:33 ` Shouldn't diff mode have single key hotkeys in read only mode? Davis Herring
2018-07-18 16:27 ` Stefan Monnier

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=freemail.20180717090657.2981.1@fmxmldata05.freemail.hu \
    --to=dernal@freemail.hu \
    --cc=emacs-devel@gnu.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.