Created
December 5, 2012 07:32
-
-
Save gongo/4213425 to your computer and use it in GitHub Desktop.
mu4e の headers view で region 指定の refile を行った際、最初のメールの移動先が後方のメールにまで反映されるのを防ぐ感じの修正
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- mu4e-mark.el.orig 2012-12-05 16:29:48.410403140 +0900 | |
+++ mu4e-mark.el 2012-12-05 16:31:16.450407255 +0900 | |
@@ -189,6 +189,8 @@ | |
(let ((cant-go-further) (eor (region-end))) | |
(goto-char (region-beginning)) | |
(while (and (<= (point) eor) (not cant-go-further)) | |
+ (when (eq mark 'refile) | |
+ (setq target (mu4e~mark-get-target mark target))) | |
(mu4e-mark-at-point mark target) | |
(setq cant-go-further (not (mu4e-headers-next)))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pull request しました
djcb/mu#108