Commit Graph

246 Commits

Author SHA1 Message Date
djcb 55d6057dac * mu4e: some more work on the updating process 2013-10-19 16:36:17 +03:00
djcb 1fca0be451 * mu4e: some improvements in the update-mail window behaviour (wip) 2013-10-19 13:32:01 +03:00
djcb 2df31c8a71 * mu4e: restore the old update-buffer behaviour 2013-10-19 12:39:40 +03:00
Thierry Volpiatto 78ffccfb2d * mu4e/mu4e-utils.el (mu4e-update-mail-and-index): Don't run a new process if one is already running. 2013-10-16 15:08:12 +02:00
djcb b92e2d20fd * mu4e: fix some minor things in the main page 2013-10-14 22:30:29 +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 8be5e92709 * mu4e: fix display of images 2013-10-13 23:24:56 +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 66ebdf21e0 * mu4e: don't try to kill the visible window when there is none (thanks to thierryvolpiatto) 2013-10-13 19:48:08 +03:00
djcb 03ae06532f * mu4e: some cleanups 2013-10-12 16:04:40 +03:00
djcb 347b41c951 * cosmetic 2013-10-12 14:12:42 +03:00
Thierry Volpiatto f650eec98c * mu4e/mu4e-utils.el (mu4e~update-mail-mode): New mode to use when updating emails.
(mu4e-update-mail-and-index): Use it.
2013-10-10 11:42:21 +02:00
Thierry Volpiatto ac89861b96 * mu4e/mu4e-main.el (mu4e-interrupt-update-mail): Move to mu4e-utils.el.
* mu4e/mu4e-utils.el (mu4e~interrupt-update-mail): Renamed with mu4e~ prefix and add docstring.
(mu4e--update-buffer-name): same.
2013-10-09 06:38:02 +02:00
Thierry Volpiatto 4bfaedd739 * mu4e/mu4e-utils.el (mu4e-update-mail-and-index): Don't make window dedicated. 2013-10-08 14:55:23 +02:00
Thierry Volpiatto 8da15dc8f2 * mu4e/mu4e-main.el (mu4e-interrupt-update-mail): New function to stop update process.(SIGINT) (mu4e~main-view): Use it and bind it to S.
* mu4e/mu4e-utils.el (mu4e-update-mail-and-index): Fix Window and buffer process.
2013-10-08 14:44:26 +02:00
Stuart Hickinbottom 6e8e9ec44a New flexible method of customising completing-read
Added the customisation option 'mu4e-completing-read-function' which can
be used to choose which method of input-with-completion will be used by
mu4e. This variable is set to the function which mu4e will use.

By default, mu4e will use ido (via 'ido-completing-read'), but any
compatible completing-read function can be used instead. Interesting
choices would include 'helm-comp-read' for Helm-based completion, and
'completing-read' for the built-in basic completion system.
2013-09-12 22:42:45 +01:00
djcb fa6d63af43 * mu4e-utils: fix display of messages only consisting of an image 2013-08-11 15:28:30 +03:00
djcb beffb8072b * mu4e: add variable mu4e-hide-index-messages 2013-08-11 14:37:19 +03:00
djcb f7eefcf37a * cosmetics 2013-08-11 14:12:09 +03:00
djcb b26bd3a4e7 * mu4e: do a better job of trying to show images (without delay) 2013-07-06 11:51:33 +03:00
djcb 59666a7eda * mu4e: automatically refresh the contacts list when there are changes in the index 2013-06-29 17:06:04 +03:00
djcb 72e6fb997a * mu4e: make the byte-compiler happy 2013-06-29 13:07:32 +03:00
djcb 76a87ded2d * mu4e-utils: support the new format for the contacts list 2013-06-16 23:05:52 +03:00
joost aefa144421 handle the case where phrase is empty 2013-06-05 10:19:08 +02:00
djcb 34c84a1258 * mu4e: fix mu4e-message 2013-06-03 23:35:01 +03:00
djcb 3c67aa6591 * mu4e: fix a few compiler warnings / typos 2013-06-03 21:09:20 +03:00
djcb 60f75eea42 * minor 2013-05-30 06:16:05 -07:00
djcb 445d0cc6fb * fix quoting of contacts in autocompletion (thanks to jhelberg) 2013-05-27 11:47:42 -07:00
djcb 1dea612cba * cosmetics 2013-05-21 20:11:11 +03:00
djcb 222d8c3627 * improve message-composition / draft handling 2013-05-21 08:05:06 +03:00
djcb 4de859668c * cosmetics 2013-05-13 00:05:14 +03:00
Steve Purcell fd336771b2 Fix typo 2013-05-03 18:39:05 +02:00
djcb 3c4b351e69 * mu4e: small cleanup 2013-04-06 10:17:03 +03:00
Nicolas Avrutin 0fa6a92bb3 support recursive maildirs 2013-03-17 09:34:48 -04:00
Tibor Simko eb606f9c8a mu4e: fix `q' binding in About buffer
mu4e's About buffer uses org-mode and used to locally bind `q' to bury
the buffer.  However, altering local key map via local-set-key
shares binding with all buffers using the same major mode.  As a result,
after executing About mu4e once, pressing `q' in any regular org-mode
buffer was also burying it instead of inserting the letter `q'.

This commit fixes the problem by creating a new mu4e-about-mode
derived from org-mode and by defining `q' only for that mode.
2013-03-10 21:27:59 +01:00
djcb a2fc0a26b9 * mu4e: don't try to select nil window when updating mail 2013-03-05 06:35:29 -08:00
djcb 1c98cbbf4e * mu4e: update doc for mu4e-create-maildir-maybe 2013-03-04 20:58:41 -08:00
djcb 6fc99ad495 * mu4e: auto scroll down in the mail fetch window (thanks to chrisklaiber) 2013-02-17 17:32:12 +02:00
djcb 382ccc2e2e * improvements in the :mailing-list field 2012-12-26 13:01: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 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 2cd915f611 * cosmetics 2012-12-17 22:26:22 +02:00
Jonas Bernoulli cd5f730222 mu4e-maildir-shortcuts: define custom type 2012-12-12 20:07:01 +01:00
djcb 0e204fece4 * small cleanup of the retagging support 2012-12-09 15:07:21 +02: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
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 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 1873b20acb * mu4e: cosmetic 2012-10-19 00:51:24 +03:00
djcb d65e1ddf44 mu4e: hopefully get rid of the org-mode-related warnings 2012-10-16 11:01:33 +03:00
djcb 11f5105402 * mu4e: hopefully get rid of the org-mode-related warnings 2012-10-16 10:58:27 +03:00
djcb 23fc0b4a63 * mu4e: offer to create target dirs when they do not exist yet 2012-10-09 00:03:24 +03:00
djcb 1c6e882142 * mu4e: add mu4e-running-p, document it 2012-10-06 22:22:11 +03:00
djcb f9c9e790a6 * mu4e: allow setting a function for mu4e-attachment-dir 2012-10-03 12:53:16 +03:00
djcb c7bb9aef9a * mu4e: cosmetics 2012-09-28 17:10:34 +03:00
djcb 18fd16ddec * mu4e: fix mu4e~check-requirements for dynamic folders 2012-09-27 22:26:16 +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 58b6be1d97 * mu4e: allow functions for special folders (WIP), implement for msg composition 2012-09-27 10:03:58 +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 0844984095 * mu4e: improve version checks, startup handling 2012-09-15 18:04:39 +03:00
djcb ac1d1b2ed8 * cosmetics 2012-09-13 21:12:12 +03:00
djcb f9e14d72b4 * mu4e: only use user-error if it exists (i.e.., emacs trunk); otherwise
user (error..)

  it'd be nice to have something like user-error in emacs 24, 23, i.e., like
  error but without triggering the debugger
2012-09-11 22:47:58 +03:00
djcb 07eb3a7515 * mu4e: docstring improved even more 2012-09-11 12:55:22 +03:00
djcb df0105cc8c * mu4e: improved docstring for mu4e-index-updated-hook 2012-09-11 12:50:59 +03:00
djcb ef3a8f832d * mu4e: add mu4e-index-updated-hook, triggered when the indexing process did
any updates. This can be used e.g. to get some notification when there is
  new mail. It imperfect though; see the docstring and the entry in the mu4e faq.
2012-09-11 11:58:00 +03:00
djcb ca3f491ff6 * mu4e: support '/' as well to choose a maildir from the full set 2012-09-09 13:17:09 +03:00
djcb ab17f384bf * mu4e: give user more info in mu4e-message, but attempt not to disrupt input 2012-09-07 10:46:49 +03:00
djcb e342f9a5c4 * mu4e: use (user-error ..), not (error ..) for user errors 2012-09-06 10:33:53 +03:00
djcb 0bd47871e8 * mu4e: don't require org directly 2012-09-03 11:15:27 +03:00
djcb 45ad1c4916 * mu4e-utils: minor 2012-08-28 12:11:34 +03:00
Dirk-Jan C. Binnema 6924e008d0 Merge pull request #56 from ruediger/passwd
* mu4e: ask for password only when used interactively, detect if buffer is nil
2012-08-27 08:09:04 -07:00
djcb f1b1abd334 * cosmetic 2012-08-27 18:05:31 +03:00
Rüdiger Sonderfeld 31db80e487 mu4e-utils: In process filter detect if buffer is nil.
If `mu4e-update-mail' is called with BUF set to nil then the messages
should be discarded.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2012-08-27 13:48:25 +02:00
Rüdiger Sonderfeld 0897246cf6 mu4e-utils: Only ask for pwd if the update process is called interactively.
Adds a new optional parameter INTERACTIVE to `mu4e-update-mail' which
is passed as a process property (`process-put') to the filter
function.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2012-08-27 13:43:42 +02:00
Dirk-Jan C. Binnema 354f77e41d Merge pull request #53 from ruediger/passwd
* mu4e-utils: detect if update process asks for a password, and let user provide it
2012-08-26 14:17:58 -07:00
djcb a2b57b32d2 * mu4e: much faster mu4e-get-maildirs 2012-08-26 22:07:09 +03:00
Rüdiger Sonderfeld b116c64fb8 mu4e-utils: Password query string as variable.
Added `mu4e~get-mail-ask-password' instead of a simply "Password: "
prompt.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2012-08-25 13:16:54 +02:00
djcb 905a84b13a * mu4e: add `mu4e~get-dirs', to speed up getting a list of maildirs 2012-08-25 12:37:59 +03:00
Rüdiger Sonderfeld f8db0c9b76 mu4e-utils: Moved process filter and password regexp to own function/variable.
The process filter is now `mu4e~process-filter' instead of a lambda
function and the regexp is now a variable
`mu4e~get-mail-password-regexp'.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2012-08-24 16:03:18 +02:00
Rüdiger Sonderfeld 18aa453a3a mu4e-utils: Detect if update process asks for a password.
Offlineimap (or other mail fetchers) may query the user for a
password. This patch adds a process filter to the `mu4e-update-mail'
process and checks if the process asks for a password (Currently only
matches "^Remote: Enter password: $"). It then reads the password from
the user.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2012-08-24 13:20:44 +02:00
djcb b034936271 * mu4e-utils: improve the dir-not-readable guard 2012-08-23 10:59:03 +03:00
djcb d93c0bb3e2 * mu4e: check if maildir is readable first (`mu4e~get-maildirs-1') 2012-08-22 11:52:24 +03:00
djcb d2a8ff697a * mu4e: update the text-or-html heuristic (html should be >= 10x plain text length) 2012-08-10 10:19:30 +03:00
djcb 849cc79636 * mu4e-utils: quote names when autocompleting addresses 2012-08-07 12:08:44 +03:00
djcb 136d0f2875 * mu4e/crypto: beginnings of crypto (verification, decryption) support. WIP! 2012-08-01 17:07:11 +03:00
djcb fd65b992d5 * fix error handling (with errors in the proc-filter context) 2012-07-24 01:33:52 +03:00
djcb 936e857995 * mu4e: mu4e-error should actually raise an error 2012-07-20 15:50:03 +03:00
djcb dde3f09c76 * crypto/mu4e: support signature verification in mu4e (WIP) 2012-07-19 11:42:38 +03:00
djcb 62489a31d0 * mu4e: make sure the about-page is unfolded 2012-07-11 11:46:03 +03:00
djcb c0ed7e4b83 * mu4e-utils.el: fix some typos 2012-07-11 09:15:26 +03:00
djcb 6ad12aa3a2 * cosmetics 2012-07-10 22:53:36 +03:00
djcb dc62bd6c75 * rename emacs/ => mu4e/ 2012-07-10 20:00:06 +03:00