* mu4e-hdrs, mu4e-view: add <deletechar> as binding for mu4e-mark-for-delete

as well (as it seems that in console-mode, pressing Del gives you
  <deletechar>, not <delete>
This commit is contained in:
djcb 2012-03-31 17:20:03 +03:00
parent 60826d7ccb
commit c6bfce4f8f
2 changed files with 7 additions and 8 deletions

View File

@ -22,9 +22,9 @@
;;; Commentary:
;; In this file are function related to creating the list of one-line
;; descriptions of emails, aka 'headers' (not to be confused with headers like
;; 'To:' or 'Subject:')
;; In this file are function related mu4e-hdrs-mode, to creating the list of
;; one-line descriptions of emails, aka 'headers' (not to be confused with
;; headers like 'To:' or 'Subject:')
;; Code:
@ -275,6 +275,7 @@ after the end of the search results."
(define-key map "d" 'mu4e-mark-for-trash)
(define-key map (kbd "<delete>") 'mu4e-mark-for-delete)
(define-key map (kbd "<deletechar>") 'mu4e-mark-for-delete)
(define-key map "D" 'mu4e-mark-for-delete)
(define-key map "o" 'mu4e-mark-as-unread)

View File

@ -22,11 +22,8 @@
;;; Commentary:
;; In this file are function related to creating the list of one-line
;; descriptions of emails, aka 'headers' (not to be confused with headers like
;; 'To:' or 'Subject:')
;; mm
;; In this file we define mu4e-view-mode (+ helper functions), which is used for
;; viewing e-mail messages
;;; Code:
(eval-when-compile (require 'cl))
@ -261,6 +258,7 @@ if IS-OPEN is nil, and otherwise open it."
(define-key map "d" 'mu4e-view-mark-for-trash)
(define-key map (kbd "<delete>") 'mu4e-view-mark-for-delete)
(define-key map (kbd "<deletechar>") 'mu4e-mark-for-delete)
(define-key map "D" 'mu4e-view-mark-for-delete)
(define-key map "m" 'mu4e-view-mark-for-move)