unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Cain <cain.michael1@gmail.com>
Cc: 23642@debbugs.gnu.org
Subject: bug#23642: 24.5; Dired Line Movement, Region Handling
Date: Sat, 28 May 2016 20:17:33 -0400	[thread overview]
Message-ID: <e28cac3e-f1e5-b240-e774-4a29c496d24d@gmail.com> (raw)
In-Reply-To: <87oa7pagy6.fsf@web.de>

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.





  reply	other threads:[~2016-05-29  0:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-28 21:25 bug#23642: 24.5; Dired Line Movement, Region Handling Michael Cain
2016-05-28 23:22 ` Drew Adams
2016-05-28 23:41   ` Michael Heerdegen
2016-05-29  0:17     ` Michael Cain [this message]
2016-05-30 21:18 ` Juri Linkov
2016-06-05 21:16   ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e28cac3e-f1e5-b240-e774-4a29c496d24d@gmail.com \
    --to=cain.michael1@gmail.com \
    --cc=23642@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).