Commit Graph

266 Commits

Author SHA1 Message Date
Dmitry Neverov 9db55ac7ab Fix 'Â' letters in a message view 2012-12-24 00:04:46 +04:00
djcb 4a2e813e4f * don't use longlines-mode (visual-line-mode is available in all emacsen we support) 2012-12-23 14:18:14 +02:00
djcb 9eb628fcb6 * rename mu4e-headers-split-view-resize --> mu4e-headers-split-view-grow 2012-12-23 14:05:48 +02:00
Dirk-Jan C. Binnema 15f765d276 Merge pull request #93 from tarsius/undefun
* add various commands to replace anonymous lambas in keymaps
2012-12-23 04:01:13 -08:00
djcb 4f37e979e1 * some small improvements for the mailing list support 2012-12-22 21:57:49 +02:00
djcb 144b5b1ba2 * mu4e-view: cosmetic 2012-12-22 21:12:36 +02:00
djcb 1e6b7792d6 * better handling of mailing lists which are not in the shortcuts lists 2012-12-22 11:48:02 +02:00
djcb 0095bfdc5a * cosmetic 2012-12-20 23:33:09 +02:00
djcb 4dd81e5b7f * mu4e-utils: when completing a maildir, put the initial / there already 2012-12-20 23:32:37 +02:00
djcb 10ad5ce2ca * mu4e: add support for display mailing list (short)names in headers/view mode 2012-12-18 23:29:17 +02:00
djcb 7053582dd7 * add skipping-dups support to mu4e 2012-12-17 22:30:26 +02:00
djcb 2cd915f611 * cosmetics 2012-12-17 22:26:22 +02:00
djcb 8d8bce91fb * fix `mu4e~headers-human-date' 2012-12-17 00:33:25 +02:00
Dirk-Jan C. Binnema 17f3ef0c4b Merge pull request #113 from tarsius/custom
* various improvements for 'defcustom' usage and explicitly offer `turn-on-visual-line-mode' as hook function.
2012-12-15 02:42:06 -08:00
djcb f7b6c6e6ab * some fixes for the retagging action (thanks to Abdó Roig-Maranges) 2012-12-15 12:06:32 +02:00
djcb 9bc27d63ef * cosmetic 2012-12-15 12:02:04 +02:00
djcb a9d3e6e503 * make sure mu4e-compose-parent-message is available in mu4e-compose-mode as
well (thanks to Tsunenobu Kai)
2012-12-15 12:01:50 +02:00
Jonas Bernoulli 4e6824dd69 mu4e-view-mode-hook: define explicitly
Explicit offer `turn-on-visual-line-mode' as hook function.
2012-12-12 20:07:01 +01:00
Jonas Bernoulli cd5f730222 mu4e-maildir-shortcuts: define custom type 2012-12-12 20:07:01 +01:00
Jonas Bernoulli faa0e6f55f mu4e-sent-messages-behavior: fix custom type defintion 2012-12-12 20:03:36 +01:00
djcb 5921afbe5c * mu4e-actions: fix 'sed' parameters in mu4e-action-retag-message 2012-12-10 02:01:55 +02:00
Dirk-Jan C. Binnema 59dc5c89fc Merge pull request #112 from Popsch/fix_docu
*mu4e.texi: use save-excursion in the mu4e-compose-mode-hook
2012-12-09 05:35:40 -08:00
djcb 46a49c8875 * remove all addresses in `mu4e-user-mail-address-list' from cc-list; fixes #101 2012-12-09 15:31:39 +02:00
djcb 0e204fece4 * small cleanup of the retagging support 2012-12-09 15:07:21 +02:00
Sebastian Fischmeister a896a497b7 use save-excursion in the mu4e-compose-mode-hook 2012-12-08 21:59:53 -05:00
Abdó Roig-Maranges b875690bc0 Change mode before setting local variables in mu4e-view
Otherwise, the mode-change messes up with local bindings. In paricular, this
caused mu4e~view-msg contain the wrong path after a flag change.
2012-12-07 00:24:16 +01:00
Abdó Roig-Maranges fb2f5d6a53 Adds an action to change tags header
New action mu4e-action-retag-message that reads tag changes from the user and
modifies the corresponding header (X-Keywords, X-Label, etc) on the message.
2012-12-07 00:18:00 +01:00
Wataru MIYAGUNI 522f4104f9 Change refile target in region email.
Now, mark commands with region on headers view,
target of the first email is reflected in the rest of email.

```
              Date         From     Subject
--------------------------------------------
              2012-12-05   Github   ...
              2012-12-05   Yahoo!   ...
              2012-12-05   Work     ...

  refiling to

              Date         From     Subject
--------------------------------------------
r -> /github  2012-12-05   Github   ...
r -> /github  2012-12-05   Yahoo!   ...
r -> /github  2012-12-05   Work     ...
```

In this patch, change target in region email.

```
              Date         From     Subject
--------------------------------------------
r -> /github  2012-12-05   Github   ...
r -> /yahoo   2012-12-05   Yahoo!   ...
r -> /work    2012-12-05   Work     ...
```
2012-12-05 16:46:12 +09:00
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 6216083f47 mu4e: add mu4e-scroll-{up,down}, use {beginning,end}-of-buffer 2012-11-11 14:27:10 +01:00
Jonas Bernoulli 2d52d9beb8 mu4e: add mu4e-headers-split-view-shrink 2012-11-11 14:26:09 +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