Commit Graph

236 Commits

Author SHA1 Message Date
David Pflug 12799b8f50 Fix parens typo in add-hook example
You had (let ((symbol valueform) body)).
2012-11-29 07:47:30 -05:00
Dirk-Jan C. Binnema 5335908f57 Merge pull request #90 from tarsius/cited4
* mu4e-cited-4-face: inherit font-lock-keyword-face
2012-11-26 14:45:32 -08:00
djcb 0c11313027 * mu4e-view: list inline-parts as attachments, too. 2012-11-25 18:33:03 +02:00
Dirk-Jan C. Binnema a82fecfb75 Merge pull request #95 from tarsius/custom
* fix parent groups of custom groups and options
2012-11-14 14:29:38 -08:00
Jonas Bernoulli 371e3907c5 mu4e: fix typo and doc-string formatting 2012-11-14 13:48:06 +01:00
Jonas Bernoulli 17be9ec05a mu4e: autoload major entry points
Autoload functions `mu4e' and `mu4e~compose-mail' and the definition of
the mail-user-agent `mu4e-user-agent'.  The last to are required so
that `compose-mail' can be used without explicitly loading mu4e.

Also require `mu4e' in mu4e-compose.el (after providing mu4e-compose
to avoid a circular dependencies).  This is required because the
autoload definitions only cause mu4e-compose but not mu4e to be loaded
when using `compose-mail', but if mu4e isn't loaded various handlers
are not loaded (and possibly there are other problems if mu4e is not
fully loaded).
2012-11-14 13:48:06 +01:00
Jonas Bernoulli 6424a82d60 mu4e: add function mu4e-user-agent
Without this `mail-user-agent' cannot be set to `mu4e-user-agent'
through customize, as the custom type expects a function.  Not sure
whether this function is actually ever used; if it is then returning
the symbol is probably the correct thing to do, as other such
functions suggest.
2012-11-14 13:48:06 +01:00
Jonas Bernoulli 9b0a21c70f mu4e: mu4e-split-view: add to custom group mu4e-headers 2012-11-14 12:27:40 +01:00
Jonas Bernoulli 5a12450745 mu4e: fix parent groups of custom groups mu4e and org-mu4e 2012-11-14 12:27:04 +01:00
djcb f957a9ca89 * mu4e: cleanup header sorting (and fix the sort-by-human-date case) 2012-11-11 19:27:55 +02:00
djcb 1c1f974807 Merge branch 'master' of github.com:djcb/mu 2012-11-11 17:21:35 +02:00
Dirk-Jan C. Binnema ba13fa777b Merge pull request #94 from tarsius/definition-name
* mu4e: set symbol prop definition-name in defun macros
2012-11-11 07:21:27 -08:00
Dirk-Jan C. Binnema 94df186941 Merge pull request #92 from tarsius/header-line
* mu4e: mu4e~header-line-format: use same font as in buffer
2012-11-11 07:17:53 -08:00
djcb 6a1a03b06c * mu4e: make `mu4e-bookmarks' (def)customizable -- thanks to Jonas Bernoulli 2012-11-11 17:11:38 +02:00
Dirk-Jan C. Binnema 66d3f90931 Merge pull request #88 from tarsius/faces
* mu4e: make mu4e-header-highlight-face inherit region
2012-11-11 07:04:53 -08:00
Jonas Bernoulli 626d2afdc8 mu4e: set symbol prop definition-name in defun macros
This allows `find-function' to find the definition.  While the
definition doesn't contain much useful information jumping there
instead of the beginning of the file is still better because the macro
used to define them is defined right above.

Also remove the comments about wanting to define the commands in a
loop.  One shouldn't do that; it would again make it impossible to
find the definition.
2012-11-11 14:56:01 +01:00
Jonas Bernoulli 247ebfad3a mu4e~header-line-format: use same font as in buffer
Use face `bold' for the sorted column but leave the face unspecified
for other columns.  This is how tabulated-list does it to; it only
uses fixed-pitch for whitespace between columns.

The problem with using fixed-pitch is that uses "Monospace" which
might be a different monospace font than what is used for `default'.
These fonts might have a different width causing columns in the header
and the buffer not to be aligned.

Inheriting `fixed-pitch' from `default' instead of specifying the font
does not work as that causes the `fixed-pitch'ed parts of the
header-line not to be raised like the rest anymore.  One (that is
every user) could also manually copy the font family from `default'.

Simply not specifying the font fixes all that.
2012-11-10 16:34:17 +01:00
Jonas Bernoulli 952b9836a8 mu4e-cited-4-face: inherit font-lock-keyword-face
The previously inherited face font-lock-pseudo-keyword-face does not
exist in emacs-24.2 (anymore?).
2012-11-10 14:29:38 +01:00
Jonas Bernoulli 8a3d4c27de improve doc-strings
The first sentence should summarize the variable's or function's
purpose and it should fit on the first line.  Change existing
doc-string by:

* Move first sentence onto first line even if that makes it _a bit_
  long.
* Move additional notes out of first sentence and add them later,
  possibly as complete sentences.
* If I am uncertain whether doing the above would alter the meaning,
  _don't_ do it.
* If fitting the initial sentence on the first line would require a
  complete rewrite of the doc-string _don't_ do so unless it is very
  easy to do.
* Remove indentation from second and later lines if it is there to
  align them with the first in the source code, instead of in
  `describe-*' output.
* Make "pullet point" lists a bit more consistent.

Obviously this does not fix all problems but it's a start.
2012-11-10 14:01:17 +01:00
Jonas Bernoulli 93889b020e * mu4e-header-highlight-face: inherit region
This should make it more intuitive to see that actions are performed
on the region as well as the current line (which usually is not part
of the region).
2012-11-10 10:40:41 +01:00
Dirk-Jan C. Binnema b92d826808 Merge pull request #86 from tarsius/cleanup
* fix defcustom types and improve their doc-strings
2012-11-09 23:58:21 -08:00
Jonas Bernoulli 73916f1210 fix mu4e-header-fields custom type
Also fix some option doc-strings.
2012-11-09 16:42:25 +01:00
Jonas Bernoulli ec106e38bf fix defcustom types and improve their doc-strings 2012-11-09 13:45:19 +01:00
djcb e5e5955752 * minor 2012-11-08 21:35:01 +02:00
djcb b4f8f25be0 * minor 2012-11-04 20:41:56 +02:00
djcb 2e6f8ba015 * mu4e: set mail-header-separator to some sane value 2012-11-04 20:41:09 +02:00
djcb 8dfcb2d909 * mu4e: some better escaping for queries with backslashes 2012-11-02 09:26:12 +02:00
djcb d70d4e55ea * mu4e: add mu4e-draft.el to Makefile.am 2012-10-31 20:35:05 +02:00
djcb 13e57114b4 * mu4e: handle inline message/rfc822 parts correctly (show as attachments) 2012-10-31 20:34:42 +02:00
djcb 339d1ff036 * mu4e: refactor part of mu4e-compose into the new mu4e-draft.el 2012-10-31 20:33:46 +02:00
djcb 3a5cb2d037 * mu4e: add note to doc about gpg-agent 2012-10-29 16:03:52 +02:00
djcb bb8bb20970 * mu4e: mu4e-compose: fix sent-handler when using org, fix remembering draft
maildir, update doc
2012-10-29 12:27:32 +02:00
djcb 0b2b984150 * mu4e: add example mu4e-action-git-apply-patch 2012-10-29 12:26:17 +02:00
djcb feba2bb377 * mu4e: fix target == nil case in mu4e-mark-set (thanks to Jonas Bernoulli)
Previously when TARGET was nil, point was moved which changed the
region that is later used to determine the messages to be marked.
2012-10-29 12:25:07 +02:00
djcb 16beb8cd95 * mu4e: mu4e-view set buffer-local vars *before* mark-as-read 2012-10-29 12:22:07 +02:00
djcb 5630273d51 * mu4e: add functions mu4e-message-field-at-point, mu4e-message-has-field 2012-10-28 19:31:13 +02:00
djcb d5d0b11b98 * mu4e: set mu4e~view-msg, mu4e~view-headers-buffer *after* setting
mu4e-view-mode

  (this fixes the 'view-raw' case for new messages)
2012-10-28 19:30:27 +02:00
djcb ec25124693 * cosmetic / minor 2012-10-27 14:41:20 +03:00
djcb 38067eda44 * mu4e: mu4e~proc-send-command: add 'use-agent:true' 2012-10-27 14:39:42 +03:00
djcb 433ac90c50 * mu4e: s/mu4e-contact-field-matches/mu4e-message-contact-field-matches/ in mu4e.texi 2012-10-27 14:38:39 +03:00
djcb 9bf8edf03b * minor 2012-10-25 12:28:11 +03:00
djcb f64922e026 * mu4e: update the mail/indexing update process:
- M-x mu4e-update-mail-and-index (C-S-U in main/headers/view/compose, with
  prefix arg, run in background
  - M-x mu4e-update-index to only update the index
  - document / add to FAQ
2012-10-25 11:59:50 +03:00
djcb dc5f27c899 * mu4e: check for marks when auto-updating (don't do it if there are any) 2012-10-24 23:49:26 +03:00
djcb ae44852f80 * mu4e: better defcustom for -folder vars 2012-10-24 23:48:56 +03:00
djcb 7f20ab33b9 * mu4e: automatically update headers when there are updates during indexing,
while there is no current user-interaction. Document this, add to NEWS

  (set `mu4e-headers-auto-update' to nil) to disable
2012-10-24 18:36:50 +03:00
djcb ba50d94570 * mu4e: fix backspace binding in mu4e-view 2012-10-23 00:09:32 +03:00
djcb 82bfb55dd7 * mu4e: tags (X-Keywords etc.) support in headers/view (thanks to Abdó Roig) 2012-10-22 23:52:50 +03:00
djcb 77c72d684b * mu4e: some minor doc fixes 2012-10-22 20:27:49 +03:00
djcb 0276ea0408 * mu4e: set default width for :human-date to 12 2012-10-22 20:27:14 +03:00
djcb ba670dd645 * mu4e: clean up FSF address, thanks to Maciek Borzecki 2012-10-21 16:04:19 +03:00