summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjcb <djcb@djcbsoftware.nl>2012-10-17 12:07:57 +0300
committerdjcb <djcb@djcbsoftware.nl>2012-10-17 12:07:57 +0300
commit29a94c4b2ffc157d6e87cdd5733f0439856d2c0e (patch)
tree0fe7594c949271a97c56062097a88b2c635e5753
parent269fc5374d03be492ccabb02e66548fa32ee549d (diff)
* mu4e: scrolling down takes you to next msg (but see mu4e-view-scroll-to-next)
-rw-r--r--NEWS18
-rw-r--r--TODO113
-rw-r--r--mu4e/mu4e-view.el16
-rw-r--r--mu4e/mu4e.texi5
4 files changed, 91 insertions, 61 deletions
diff --git a/NEWS b/NEWS
index c7b3d5b..aafeea1 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,18 @@
* NEWS (user visible changes)
+** Release 0.9.9.x
+
+*** mu4e
+ - scroll down in message view takes you to next message (but see
+ `mu4e-view-scroll-to-next')
+
+
+* Old news
+ :PROPERTIES:
+ :VISIBILITY: folded
+ :END:
+
** Release 0.9.9 <2012-10-14>
*** mu4e
@@ -39,12 +51,6 @@
- handle db reopenings in the background
-* Old news
- :PROPERTIES:
- :VISIBILITY: folded
- :END:
-
-
** Release 0.9.8.5 <2012-07-01>
*** mu4e
diff --git a/TODO b/TODO
index 8517497..5534484 100644
--- a/TODO
+++ b/TODO
@@ -45,71 +45,76 @@
- open links to mails through headers-mode somehow (i.e..,
mu4e-view-message-with-msgid)
- improve mouse interaction (i.e., cursor vs point)
- - check move + create new dir
- show counts of messages in searches (in main view)
- show flush only if there's something to flush (and # of flushables)
- fix unsafe temp-file handling
+* Done (0.9.9.x)
+
+ - mu4e: scroll down –> go to next message
+
-* Done (0.9.9)
-
- - make contacts in the view clickable (toggle long/short display, compose message)
- - opening urls is too eager (now use M-RET for opening url at point, not just
- RET, which conflicted with using RET for scrolling)
- - document quoting of queries
- - use mu-error
- - tooltips in header labels
- - tooltip for flags field
- - remove --summary option (for mu find, mu view); use --summary-len instead
- - add sort buttons to header labels (and do the sorting)
- - cleanup mu-cmd-find
- - implement --after for mu find, to only show message files changed after a
- certain time (mtime)
- - add mu:timestamp for guile (referring to the message file's mtime)
- - guile automated tests
- - add 'mu verify'
- - automated tests
- - handle verbose/quiet/normal output 'mu verify'
- - check gmime 2.4 does not break
- - hook up mu4e with 'mu verify'
- - add 'help' command
- - refactor mu-msg-part
- - move widgets/ into toys/mug2, remove toys/mug/, rename toys/mug2 -> toys/mug
- - add guile mu:count
- - don't show GPG/PKCS7 sigs as attachments
- - fix address completion (quote names)
- - add support for X-Keywords (in addition to X-Label)
- - guile: add stats test cases
- - fixed iso-2022-jp (japanese) decoding
- - make address completion case-insensitive
- - recognize '*' in urls
- - handle exception 'The revision being read has been discarded - you should
- call Xapian::Database::reopen() and retry the operation'
- - handle passwords from get-mail shell command
- - support fancy (non-ascii) chars for header flags, thread prefix strings
- - improve performance of getting the list of maildirs
- - fix setting wrapped/hide state in viewer
- - fix ' realpath() failed for...' stuff
- - allow for fancy chars (> ascii), make it configurable (mu4e-use-fancy-chars)
- - don't user `error' for user-errors
- - better echo-area reporting
- - improve help feedback for user (command line)
- - handling of encrypted messages
- - improved checked for gmime-2.6 crypto funcs
- - handling of command line options / help
- - fix / add support for :size
- - mu4e~view-wrap-lines (use visual-line-mode? see Jacek's mu4e~view-wrap-lines
- mail)
- - better help
- - threading optimizations
- - actions for /all/ headers, actions for /all/ attachment
- - handle attached messages with attachments
* Done
:PROPERTIES:
:VISIBILITY: folded
:END:
+
+** Done (0.9.9)
+
+ - make contacts in the view clickable (toggle long/short display, compose message)
+ - opening urls is too eager (now use M-RET for opening url at point, not just
+ RET, which conflicted with using RET for scrolling)
+ - document quoting of queries
+ - use mu-error
+ - tooltips in header labels
+ - tooltip for flags field
+ - remove --summary option (for mu find, mu view); use --summary-len instead
+ - add sort buttons to header labels (and do the sorting)
+ - cleanup mu-cmd-find
+ - implement --after for mu find, to only show message files changed after a
+ certain time (mtime)
+ - add mu:timestamp for guile (referring to the message file's mtime)
+ - guile automated tests
+ - add 'mu verify'
+ - automated tests
+ - handle verbose/quiet/normal output 'mu verify'
+ - check gmime 2.4 does not break
+ - hook up mu4e with 'mu verify'
+ - add 'help' command
+ - refactor mu-msg-part
+ - move widgets/ into toys/mug2, remove toys/mug/, rename toys/mug2 -> toys/mug
+ - add guile mu:count
+ - don't show GPG/PKCS7 sigs as attachments
+ - fix address completion (quote names)
+ - add support for X-Keywords (in addition to X-Label)
+ - guile: add stats test cases
+ - fixed iso-2022-jp (japanese) decoding
+ - make address completion case-insensitive
+ - recognize '*' in urls
+ - handle exception 'The revision being read has been discarded - you should
+ call Xapian::Database::reopen() and retry the operation'
+ - handle passwords from get-mail shell command
+ - support fancy (non-ascii) chars for header flags, thread prefix strings
+ - improve performance of getting the list of maildirs
+ - fix setting wrapped/hide state in viewer
+ - fix ' realpath() failed for...' stuff
+ - allow for fancy chars (> ascii), make it configurable (mu4e-use-fancy-chars)
+ - don't user `error' for user-errors
+ - better echo-area reporting
+ - improve help feedback for user (command line)
+ - handling of encrypted messages
+ - improved checked for gmime-2.6 crypto funcs
+ - handling of command line options / help
+ - fix / add support for :size
+ - mu4e~view-wrap-lines (use visual-line-mode? see Jacek's mu4e~view-wrap-lines
+ mail)
+ - better help
+ - threading optimizations
+ - actions for /all/ headers, actions for /all/ attachment
+ - handle attached messages with attachments
+
** Done (0.8.9.5)
- make next/prev header respect prefix argument (Jacek's patch)
diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el
index a1ba564..54dfc27 100644
--- a/mu4e/mu4e-view.el
+++ b/mu4e/mu4e-view.el
@@ -79,6 +79,11 @@ contact."
`mu4e-show-image' is non-nil."
:group 'mu4e-view)
+(defcustom mu4e-view-scroll-to-next t
+ "If non-nil, move to the next message when calling
+`mu4e-view-scroll-up-or-next' (typically bound to SPC) when at the
+end of a message. Otherwise, don't move to the next message.")
+
(defvar mu4e-view-actions
'( ("capture message" . mu4e-action-capture-message)
("view as pdf" . mu4e-action-view-as-pdf))
@@ -510,7 +515,7 @@ at POINT, or if nil, at (point)."
(lambda () (interactive) (mu4e-headers-split-view-resize -1)))
;; intra-message navigation
- (define-key map (kbd "SPC") 'scroll-up)
+ (define-key map (kbd "SPC") 'mu4e-view-scroll-up-or-next)
(define-key map (kbd "<home>")
#'(lambda () (interactive) (goto-char (point-min))))
(define-key map (kbd "<end>")
@@ -1059,6 +1064,15 @@ attachments) in response to a (mu4e~proc-extract 'temp ... )."
"Return t if we're in split-view, nil otherwise."
(member mu4e-split-view '(horizontal vertical)))
+(defun mu4e-view-scroll-up-or-next ()
+ "Scroll-up the current message; if mu4e-view-scroll-to-next is
+non-nil, and we can't scroll-up anymore, go the next message."
+ (interactive)
+ (if (and mu4e-view-scroll-to-next
+ (zerop (- (point-max) (window-end nil t))))
+ (mu4e-view-headers-next)
+ (scroll-up)))
+
(defun mu4e-view-unmark-all ()
"If we're in split-view, unmark all messages. Otherwise, warn
user that unmarking only works in the header list."
diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi
index b3edf04..7b49c29 100644
--- a/mu4e/mu4e.texi
+++ b/mu4e/mu4e.texi
@@ -945,6 +945,9 @@ using @code{mu4e-view-hide-cited}, bound to @key{h}. If you want to do this
automatically for every message, invoke the function in your
@code{mu4e-view-mode-hook}.
@item For search-related operations, see @ref{Searching}.
+@item You can scroll down the message using @key{SPC}; if you do this at the
+end of a message,it automatically takes you to the next one. If you want to
+prevent this behavior, set @code{mu4e-view-scroll-to-next} to @code{nil}.
@end itemize
@node MSGV Keybindings
@@ -962,6 +965,8 @@ y select the headers view (if it's visible)
RET scroll down
M-RET open URL at point / attachment at point
+SPC scroll down, if at end, move to next message
+
searching
---------
s search