GNU bug report logs - #21850
25.0.50; Remapped next(previous)-line to ibuffer-for(back)ward-line

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Sat, 7 Nov 2015 14:58:01 UTC

Severity: wishlist

Tags: patch, wontfix

Found in version 25.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tino Calancha <f92capac <at> gmail.com>
Cc: 21850 <at> debbugs.gnu.org
Subject: bug#21850: 25.0.50; Remapped next(previous)-line to ibuffer-for(back)ward-line
Date: Tue, 23 Feb 2016 16:12:42 +1100
Tino Calancha <f92capac <at> gmail.com> writes:

> Remapped next(previous)-line to ibuffer-forward(backward)-line
>
> * lisp/ibuffer.el (ibuffer-mode-map): same remap is applied on dired.

[...]

> diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
> index 89477bd..a81b1cb 100644
> --- a/lisp/ibuffer.el
> +++ b/lisp/ibuffer.el
> @@ -487,8 +487,10 @@ ibuffer-mode-map
>  
>      ;; immediate operations
>      (define-key map (kbd "n") 'ibuffer-forward-line)
> +    (define-key map [remap next-line] 'ibuffer-forward-line)
>      (define-key map (kbd "SPC") 'forward-line)
>      (define-key map (kbd "p") 'ibuffer-backward-line)
> +    (define-key map [remap previous-line] 'ibuffer-backward-line)
>      (define-key map (kbd "M-}") 'ibuffer-forward-next-marked)
>      (define-key map (kbd "M-{") 'ibuffer-backwards-next-marked)
>      (define-key map (kbd "l") 'ibuffer-redisplay)

In my opinion, we should avoid changing the `next/previous-line'
commands unless we have a very good reason for doing so.  (For instance,
I think it's a mistake that dired remaps those keys.)  So I'm closing
this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 9 years and 94 days ago.

Previous Next


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