GNU bug report logs - #9387
[PATCH] new standard keybindings for recentf-dialog

Previous Next

Package: emacs;

Reported by: Florian Adamsky <florian <at> adamsky.it>

Date: Sat, 27 Aug 2011 20:51:02 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 24.2

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Florian Adamsky <florian <at> adamsky.it>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] new standard keybindings for recentf-dialog
Date: Sat, 27 Aug 2011 21:35:21 +0200
[Message part 1 (text/plain, inline)]
** Description

I added two new keybindings to recentf-dialog for next-line (kbd "n")
and previous-line (kbd "p") in order to make it more consistent with
other major-modes like dired, ibuffer or org-mode.

** ChangeLog

2011-09-27 Florian Adamsky (florian <at> adamsky.it)

       * recentf.el (recentf-dialog-mode-map): Added two keybindings
         for next-line "n" and previous-line "p" in order to make
         recentf more consistent with ibuffer, dired or org-mode.

** The patch itself

index fc9b788..01efecf 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1061,6 +1061,8 @@ Go to the beginning of buffer if not found."
   (let ((km (copy-keymap recentf--shortcuts-keymap)))
     (set-keymap-parent km widget-keymap)
     (define-key km "q" 'recentf-cancel-dialog)
+    (define-key km "n" 'next-line)
+    (define-key km "p" 'previous-line)
     (define-key km [follow-link] "\C-m")
     km)
   "Keymap used in recentf dialogs.")
[recentf.el.diff (text/x-patch, attachment)]

This bug report was last modified 13 years and 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.