From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: JohnK Newsgroups: gmane.emacs.devel Subject: Shouldn't diff mode have single key hotkeys in read only mode? Date: Tue, 17 Jul 2018 09:06:57 +0200 (CEST) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=UTF-8 X-Trace: blaine.gmane.org 1531811173 22160 195.159.176.226 (17 Jul 2018 07:06:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2018 07:06:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 09:06:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffK3l-0005dW-8a for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2018 09:06:09 +0200 Original-Received: from localhost ([::1]:57411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffK5p-0006Do-W3 for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2018 03:08:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffK4m-0005gw-H4 for emacs-devel@gnu.org; Tue, 17 Jul 2018 03:07:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffK4j-0006Qx-Dk for emacs-devel@gnu.org; Tue, 17 Jul 2018 03:07:12 -0400 Original-Received: from fmxout02.freemail.hu ([195.228.245.72]:19388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffK4j-0006NS-5k for emacs-devel@gnu.org; Tue, 17 Jul 2018 03:07:09 -0400 Original-Received: from fmxmldata05.freemail.hu (fmlb00.freemail.hu [195.228.245.211]) by fmxout02.freemail.hu (Postfix) with ESMTP id 26B6037C7 for ; Tue, 17 Jul 2018 09:06:58 +0200 (CEST) Original-Received: from webmail by smtp gw id w6H76v2F002982; Tue, 17 Jul 2018 09:06:57 +0200 (CEST) X-Originating-IP: [94.21.250.178] X-HTTP-User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 X-Original-User: dernal X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtiedrheekgdduudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfftgffgofetkffnpdcuqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffuvffkihggtgesthdtredttddtjeenucfhrhhomheplfhohhhnmfcuoeguvghrnhgrlhesfhhrvggvmhgrihhlrdhhuheqnecukfhppeduleehrddvvdekrddvgeehrddvuddupdelgedrvddurddvhedtrddujeeknecurfgrrhgrmhephhgvlhhopehfmhigmhhluggrthgrtdehrdhfrhgvvghmrghilhdrhhhupdhinhgvthepudelhedrvddvkedrvdeghedrvdduuddpmhgrihhlfhhrohhmpeguvghrnhgrlhesfhhrvggvmhgrihhlrdhhuhdprhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-FM-Milter: Processed X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 195.228.245.72 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227494 Archived-At: 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)?