Commit Graph

316 Commits

Author SHA1 Message Date
Daniele Pizzolli db65c824d0 Fix typo from higl.* to highl.* 2015-09-22 10:10:47 +02:00
djcb 90293f6d98 mu4e: show sort arrows for fields / derived fields
We weren't showing the sort-arrows in all cases; we need to get
calculate the current sortfield, compare that to the current sortfield.
2015-09-19 12:11:17 +03:00
Florian Lindner 9780f076f1 Make usage of fancy chars configurable. 2015-09-10 12:32:49 +02:00
djcb 976711c16c mu4e: support message-action when marking 'deferred'
When marking headers as 'deferred' (with '*'), and executing them ('x'),
you can now also apply arbitrary header actions to them.
2015-04-26 17:09:06 +03:00
Tiago Saboga a57228b724 mu4e: avoid error when splitting headers window 2015-03-28 09:07:50 -04:00
djcb 646b06563f mu4e: fix :thread-subject for the non-threaded case 2015-03-23 20:57:29 +02:00
djcb 910e41e2fe mu4e: experimental :thread-subject field (one subject per thread)
with :thread-subject field, we attempt to only show one subject per
thread, somewhat like mutt does it.

the current implementation is straightforward, but does not take into
account whether the thread-subject is currently visible on the screen,
which is a bit tricky to implement
2015-03-22 11:49:57 +02:00
djcb 52176dabfc mu4e: make mu4e-headers-sort-field, mu4e-headers-sort-direction public 2015-03-22 10:57:07 +02:00
Danie Roux 69ef3037a7 Extract mu4e-headers-mark-thread-using-markpair
This allows for a key binding to something like:

(mu4e-headers-mark-thread-using-markpair '(read))
2015-03-17 12:55:17 +02:00
djcb 6722e59e01 Merge branch 'master' of github.com:djcb/mu 2015-01-03 17:14:24 +02:00
djcb af00ff802f mu4e: fix typo in mu4e~headers-query-navigate 2015-01-03 17:12:26 +02:00
djcb 9162e3e68c mu4e: mu4e-headers-find-if-next: move before search
when searching for the next match, go the end of the current line; when
searching for the previous match, go to the beginning of the current
line.
2014-12-10 22:51:13 -08:00
djcb 8991490262 mu4e: support jumping to next, previous unread message
mu4e-headers-next-unread
mu4e-view-headers-next-unread

Use key-bindings ] and [ to go to next, previous unread message.
2014-11-28 08:54:08 +02:00
djcb 1022c64dd9 mu4e: add mu4e-headers-find-if-next, mu4e-headers-next-unread
In the headers-view, allow for movig to next and previous
unread/untrashed messages using tab/backtab.

Built on top of the convenience function mu4e-headers-find-if-next.

Update docstrings.
2014-11-25 07:38:07 +02:00
djcb 8f9499c0c9 mu4e: update mu4e-headers-find-if documentation 2014-11-22 17:27:15 +02:00
djcb 7eac4ac918 mu4e: add mu4e-headers-find-if
This function can be used to jump to some message in the headers list
that matches a certain pattern.
2014-11-22 13:23:29 +02:00
djcb 8305c2e147 mu4e: add note about overly long header lines 2014-10-26 21:21:51 +02:00
Oliver Dunkl ad48860101 Update mu4e-headers.el 2014-10-12 10:38:38 +02:00
Oliver Dunkl ce0006721a Add different face attribute for the mode-line
There is an additional face attribute for the mode-line.
2014-10-02 06:31:10 +02:00
sabof fa819de59b Avoid sorting by nil 2014-05-21 01:08:25 +01:00
djcb 339d6ac562 * mu4e: workaround; limit subject to 600 chars (thanks to Toni Reina); fixes #394. 2014-03-21 07:30:37 +02:00
djcb e55840a917 * mu4e: when erasing buffer, nullify view-message too; fixes #395 2014-03-21 07:22:54 +02:00
sabof 204b09dde3 Try not to move, when executing marks 2014-02-06 02:09:08 +00:00
sabof f51c051084 Verify that mu4e-split-view is used 2014-02-02 23:46:31 +00:00
djcb 9c8101d949 * mu4e: centralize some of the fontification code; cleanup signature support 2013-10-20 15:41:47 +03:00
djcb 8669fd86a7 * mu4e: small improvement in mu4e-headers-found-hook defcustom 2013-10-19 12:06:04 +03:00
djcb e1a6461522 * mu4e: fix typo 2013-10-14 22:51:24 +03:00
djcb feec45a670 * minor 2013-10-14 22:44:28 +03:00
djcb 9abaf83fbd * mu4e: don't balk on searches with no results and some cleanups 2013-10-14 00:07:27 +03:00
djcb 92158cfdd4 * mu4e: add hooks mu4e-headers-found-hook and mu4e-update-pre-hook, document them. 2013-10-13 21:44:47 +03:00
djcb 4b0cb4d1df * mu4e: allow for custom header fields (see `mu4e-header-info-custom') 2013-10-05 10:09:26 -07:00
djcb a23f1a4f7c * mu4e: enable showing the message-id in the view (and even the headers) 2013-09-28 10:36:18 -07:00
djcb def8094b16 * mu4e: make the mu4e-headers-long-date-format default a bit more... default 2013-09-18 09:06:35 +03:00
Sasha Kovar defca5dd41 mu4e: add long datetime tooltip to human-date field in headers view. 2013-09-17 10:55:31 -07:00
djcb 6a098c7be3 * update some comments 2013-08-17 11:54:22 +03:00
djcb 406e310448 * mu4e: prefix thread levels with a single space (rather than two) 2013-07-07 18:52:07 +03:00
djcb da292b7f10 * mu4e: make sure to clear the 'loading' buffer; fixes issue #170 2013-07-06 18:59:30 +03:00
James Felix Black 7e78b6eb65 added a "untrash" function, perfectly analogous to "unflag", that simply removes the T flag from a message 2013-06-28 12:36:54 -07:00
djcb c581468ac3 * mu4e: some minor changes 2013-06-13 23:53:11 +03:00
djcb 60f75eea42 * minor 2013-05-30 06:16:05 -07:00
djcb ab841c594c * mu4e: set overwrite mode to nil in mu4e-headers-mode 2013-05-27 16:37:32 -07:00
djcb 60d835a1af * mu4e-header: fix jumping to maildirs with spaces 2013-05-20 06:00:05 +03:00
djcb aa96833a31 * mu4e: show 'None' as date for (0 0 0) in :human-date 2013-05-20 05:31:49 +03:00
djcb 0bb56e5558 * mu4e: add some more quoting to commands 2013-05-13 23:02:26 +03:00
djcb 4de859668c * cosmetics 2013-05-13 00:05:14 +03:00
djcb 2f60f33dc8 * mu4e: fix header shrinking/growing 2013-05-05 16:18:59 +03:00
djcb 5b8cc54c69 * mu4e: correctly apply 'trashed' face (headers); make face selection a bit more explicit 2013-05-05 12:24:15 +03:00
djcb 33ee611cf5 * mu4e: fix typo 2013-05-04 14:13:05 +03:00
djcb 4d257337e7 * mu4e: add C-c C-u as an alternative keybinding for mu4e-update-mail-and-index (for terminal users) 2013-04-21 12:43:00 +03:00
djcb 9d1c404914 * mu4e: make 'a' the action key; fixes issue #181 2013-04-17 01:31:10 +03:00
Dirk-Jan C. Binnema 90eed15fc7 Merge pull request #180 from abend/master
Customize visible header flags take 2.1
2013-04-02 10:34:47 -07:00
djcb c69f028504 * cosmetic 2013-03-30 11:10:07 +02:00
Titus von der Malsburg 203aeb3093 Fixed bindings of entries in mu4e's header menu. 2013-03-13 11:31:46 +01:00
Sasha Kovar 83c4202e93 mu4e: add custom variable for list of visible header flags - take 2 2013-03-06 15:42:08 -08:00
djcb d39bf269fe * revert "mu4e: add custom variable for list of visible flags to display in headers view"
This reverts commit 9944a4fd62.
2013-02-27 19:09:11 +02:00
Sasha Kovar 9944a4fd62 mu4e: add custom variable for list of visible flags to display in headers view 2013-02-21 11:46:23 -08:00
djcb 9d7648b9bc * mu4e: small doc update 2013-02-11 23:40:49 +02:00
djcb 6522bbca62 * use mu4e-view-show-images, mu4e-headers-mark-custom 2013-01-26 10:57:53 +02:00
djcb 90929f9db8 * mu4e-headers.el: fix typo 2013-01-03 23:08:13 +02:00
djcb 23f746d714 * mu4e: make mu4e-headers-mark-for-each-if a 'public' function (i.e.., s/mu4e~/mu4e-/) 2012-12-28 15:33:42 +02:00
djcb 8b89ff3c90 * mu4e-headers: fix typo 2012-12-27 20:33:50 +02:00
djcb 42879bb8ef * minor 2012-12-27 20:23:08 +02:00
djcb 3d71c260ae * mu4e: add include-related, skip-headers toggling support mu4e-headers,
document it.
2012-12-27 16:27:53 +02:00
djcb 382ccc2e2e * improvements in the :mailing-list field 2012-12-26 13:01:36 +02:00
djcb 6219719e2f * set `mu4e-headers-include-related-maxnum' to 800 2012-12-25 20:40:04 +02:00
djcb b1e1574883 * mu4e: move mu4e-search-results-limit => mu4e-headers-results-limit 2012-12-25 19:42:47 +02:00
djcb 58f5e39d34 * add support for finding related messages to mu-find, mu4e, this does *not*
include the actual implementation though
2012-12-25 11:58:32 +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 0095bfdc5a * cosmetic 2012-12-20 23:33:09 +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 8d8bce91fb * fix `mu4e~headers-human-date' 2012-12-17 00:33:25 +02:00
djcb f957a9ca89 * mu4e: cleanup header sorting (and fix the sort-by-human-date case) 2012-11-11 19:27:55 +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
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 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 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 73916f1210 fix mu4e-header-fields custom type
Also fix some option doc-strings.
2012-11-09 16:42:25 +01:00
djcb 8dfcb2d909 * mu4e: some better escaping for queries with backslashes 2012-11-02 09:26:12 +02: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 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 82bfb55dd7 * mu4e: tags (X-Keywords etc.) support in headers/view (thanks to Abdó Roig) 2012-10-22 23:52:50 +03:00
djcb 0276ea0408 * mu4e: set default width for :human-date to 12 2012-10-22 20:27:14 +03:00
djcb 6ccbd45b85 * mu4e: replace `mu4e-user-mail-address-regexp' and `mu4e-my-mail-addresses' with `mu4e-user-mail-address-list' 2012-10-19 16:01:55 +03:00
djcb 47286442e1 * mu4e: add 'human' dates, that is: show the time for today's message time,
the date otherwise, in the headers view
2012-10-19 12:02:13 +03:00
djcb 6c5d6f6cc3 * cosmetics 2012-10-16 21:43:49 +03:00
djcb 77a2999c8b * mu4e: cosmetics 2012-10-14 17:01:37 +03:00
djcb a9f555fc90 * mu4e: use <insert> as binding for deferred ('something') marking, just like
midnight commander
2012-10-06 20:47:59 +03:00
djcb abe17accc7 * mu4e: cosmetics 2012-10-03 00:06:25 +03:00
djcb c482f744b2 * mu4e: fix + simplify mu4e-headers-split-view-resize 2012-10-01 21:17:05 +03:00
djcb 7a82bb562d * mu4e: mu4e-headers: change shortcuts for 'mark as read/unread', cosmetics 2012-09-28 17:11:12 +03:00
djcb 5779820ba0 * mu4e: dynamic folder updates 2012-09-27 21:53:21 +03:00
djcb dde75fbb86 * mu4e: implement automatic refiling with 'r' 2012-09-27 12:53:16 +03:00
djcb bd0cba007b * mu4e: allow functions for special folders, implement for marking (WIP) 2012-09-27 12:01:26 +03:00
djcb 5c2025a12c * mu4e: mu4e-message part 3 2012-09-26 17:28:30 +03:00
djcb 97c13d0920 * mu4e: mu4e-message part 2 2012-09-26 16:47:42 +03:00
djcb 7d831184b7 * mu4e: abstract access to the mu4e-message plist 2012-09-26 12:25:38 +03:00
djcb 6956e6e26c * mu4e: mu4e-headers: use purecopy, and mimic tabulated-list-mode a bit more closely 2012-09-16 21:46:47 +03:00
djcb 2a0858b349 * mu4e-headers: improve 'fancy' chars a bit 2012-09-15 23:20:34 +03:00
djcb f5ee44fa81 * mu4e: some (micro)optimizations, code cleanups 2012-09-15 21:10:46 +03:00
djcb 53cf08baf8 * mu4e/crypto: support mu4e-decryption-policy 2012-09-13 21:10:27 +03:00
djcb e342f9a5c4 * mu4e: use (user-error ..), not (error ..) for user errors 2012-09-06 10:33:53 +03:00
djcb 97196b9c54 * mu4e: s/mu4e-headers-use-fancy-chars/mu4e-use-fancy-chars/ and use it for
the arrows in header mode as well
2012-08-28 12:10:56 +03:00
djcb 9c493a017a * mu4e: experimental support for fancy (non-ascii) characters for flags and
thread prefixes. Based on idea by Niv Sardi (xaiki)
2012-08-27 18:04:58 +03:00
djcb 12226c19c0 * mu4e: make elint-clean 2012-08-14 10:20:27 +03:00
djcb 05fbc63b32 * mu4e: don't use glyphless-char-display on emacs23 2012-08-11 12:23:53 +03:00
djcb a80fb34c6d * mu4e: don't try to kill the headers window if it's the last one 2012-08-11 11:55:34 +03:00
djcb 279f627c5e * cosmetics 2012-08-01 10:48:56 +03:00
djcb b36d684b81 * mu4e: add \ as alternative keybinding for mu4e-headers-query-prev 2012-07-18 14:48:28 +03:00
djcb 1e2ed5715a * mu4e: set sort order by clicking on header tabs 2012-07-11 11:36:05 +03:00
djcb 65d1e4ce07 * mu4e: indicate sort field in headers line 2012-07-11 10:21:09 +03:00
djcb 0e011783c0 * mu4e: add special face for replied/passed headers 2012-07-10 21:10:00 +03:00
djcb dc62bd6c75 * rename emacs/ => mu4e/ 2012-07-10 20:00:06 +03:00