GNU bug report logs - #23642
24.5; Dired Line Movement, Region Handling

Previous Next

Package: emacs;

Reported by: Michael Cain <cain.michael1 <at> gmail.com>

Date: Sat, 28 May 2016 22:45:02 UTC

Severity: minor

Found in version 24.5

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Cain <cain.michael1 <at> gmail.com>
Cc: 23642 <at> debbugs.gnu.org
Subject: Re: bug#23642: 24.5; Dired Line Movement, Region Handling
Date: Sat, 28 May 2016 20:17:33 -0400
I figure I should probably include my current workaround wrapper 
functions, so you can personally examine what I expect to happen.

;; Dired
(defun my-dired-next-line (arg)
  (interactive "^p")
  (dired-next-line arg))

(defun my-dired-previous-line (arg)
  (interactive "^p")
  (dired-previous-line arg))

;; WDired
(defun my-wdired-next-line (arg)
  (interactive "^p")
  (wdired-next-line arg))

(defun my-wdired-previous-line (arg)
  (interactive "^p")
  (wdired-previous-line arg))

;; Bindings
(define-key dired-mode-map (kbd "<down>") #'my-dired-next-line)
(define-key dired-mode-map (kbd "<up>") #'my-dired-previous-line)

(define-key wdired-mode-map (kbd "<down>") #'my-wdired-next-line)
(define-key wdired-mode-map (kbd "<up>") #'my-wdired-previous-line)

With these bindings, the Shift+Arrow selection with Transient Mark mode 
works as I expect with both Dired and WDired.




This bug report was last modified 8 years and 352 days ago.

Previous Next


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