Permalink
Browse files

* mu4e-view.el, mu4e.texi: make filladapt.el optional

  • Loading branch information...
1 parent 0236157 commit c0ac3422f5ea3d77b6deaf95b3f6e32375244ce1 djcb committed Feb 16, 2012
Showing with 17 additions and 6 deletions.
  1. +4 −2 emacs/mu4e-view.el
  2. +13 −4 emacs/mu4e.texi
View
6 emacs/mu4e-view.el
@@ -31,7 +31,8 @@
;;; Code:
(eval-when-compile (require 'cl))
(require 'html2text)
-(require 'filladapt)
+;; we prefer the improved fill-region
+(require 'filladapt nil 'noerror)
(require 'comint)
(defconst mu4e-view-buffer-name "*mu4e-view*"
@@ -193,7 +194,8 @@ if IS-OPEN is nil, and otherwise open it."
(define-key map [mouse-2] (mu4e-open-save-attach-func id nil))
(define-key map [?\r] (mu4e-open-save-attach-func id nil))
(define-key map [S-mouse-2](mu4e-open-save-attach-func id t))
- (define-key map (kbd "<S-return>") (mu4e-open-save-attach-func id t))
+ (define-key map (kbd "<S-return>")
+ (mu4e-open-save-attach-func id t))
(concat
(propertize (format "[%d]" id)
'face 'mu4e-view-attach-number-face)
View
17 emacs/mu4e.texi
@@ -519,7 +519,8 @@ On Sun 21 Dec 2003 09:06:34 PM EET, Paul wrote:
Some notes:
@itemize
-@item You can customize the header fields to show by setting the variable @code{mu4e-view-fields}.
+@item You can customize the header fields to show by setting the
+variable @code{mu4e-view-fields}.
@item You can customize the date format by setting the variable
@code{mu4e-date-format-long}, using the same format that
@code{format-time-string} uses.
@@ -585,6 +586,11 @@ set up with something like the following in your initialization files:
Normally, @t{mu4e} prefers the text-version of an e-mail message to determine
the message body. You can change this by setting @code{mu4e-view-prefer-html}.
+Note: if you have installed the
+@t{filladapt}@footnote{@url{http://www.wonderworks.com/download/filladapt.el}}
+package, @t{mu4e} will use it for line-wrapping of the body text (@key{w}), as
+it generally does a better job than the mechanism emacs provides by default.
+
@node Editor view
@section Editor view
@@ -612,8 +618,8 @@ On Mon 16 Jan 2012 10:18:47 AM EET, Wally the Walrus wrote:
Since @t{mu4e} uses Gnu's message editor, for documentation
@inforef{Message}. Also, @pxref{Sending mail}. There are many key-bindings
-available, here are some of the essential ones (and you can use the menu to
-find more):
+available, here are some of the essential ones (you can use the menu to find
+more):
@verbatim
key description
@@ -1093,6 +1099,8 @@ In this chapter we list a number of anticipated questions and their answers.
select ('mark' in emacs-speak) the messages; the actions you then take (e.g.,
@key{DEL} for delete, @key{m} for move and @key{t} for trash) will apply to
@emph{all} selected messages
+@item @emph{How can I use @t{BBDB}?} Currently, there is no built-in for
+address management with @t{BBDB}; we recommend using @ref{Org-contacts} for now.
@item @emph{mu4e only seems to return a subset of all matches - how can I get
all?}. Yes, for speed reasons (and because, if you are like the author, you
usually don't need thousands of matches), @t{mu4e} returns only up to the
@@ -1103,7 +1111,8 @@ hello} you will get all matches, while @t{s hello} only gets you
up-to-a-limited-number matches. Same for the other search based commands,
@code{mu4e-jump-to-maildir} (default: @key{j}) and @code{mu4e-search-bookmark}
(default: @key{b}).
-@item @emph{How can I easily include attachments in the messages I write?} Drag-and-drop.
+@item @emph{How can I easily include attachments in the messages I write?}
+Drag-and-drop.
@end itemize
@node Known issues / missing features

0 comments on commit c0ac342

Please sign in to comment.