Commit Graph

230 Commits

Author SHA1 Message Date
Thierry Volpiatto fc04367e2e * mu4e/mu4e-view.el: Fix whitespaces in newline in previous commit, no code--change. 2014-06-27 07:37:15 +02:00
Thierry Volpiatto 76787707fe * mu4e/mu4e-view.el (mu4e-view-fill-long-lines): New, bind it to M-q. 2014-06-27 07:28:33 +02:00
Dima Kogan 986740c5a0 mu4e-view-search-narrow now prompts user for input 2014-06-06 15:08:37 -07:00
djcb 2575e6b0a8 * mu4e: unbreak address display, removing toggling 2014-05-24 18:16:34 -07:00
djcb abe7ed306d * mu4e: add fallback for `delete-all-overlays' 2014-04-27 11:54:15 +03:00
djcb 205de21783 * make mu4e-view-url-regexp a public variable
thus, users can more easily experiment with this
2014-04-27 11:32:21 +03:00
Thierry Volpiatto 9a23d356de * mu4e/mu4e-view.el (mu4e-mark-region-code): Add docstring. 2014-03-24 09:22:39 +01:00
Thierry Volpiatto 8394e6069f * mu4e/mu4e-view.el (mu4e-mark-region-code): New function to highlight region marked with `message-mark-inserted-region'.
* mu4e/mu4e-vars.el (mu4e-region-code): New face.
2014-03-24 09:17:25 +01:00
sabof 647b9381bc Corrected the property list 2014-02-13 14:24:01 +00:00
sabof cd7b6b273e Revert "Quit in a way similar to help buffers'"
This reverts commit 519a18107c.

Conflicts:
	mu4e/mu4e-view.el
2014-02-08 21:03:25 +00:00
sabof 186fc89414 Avoid unnecessary errors 2014-02-07 06:12:41 +00:00
sabof 28a970a778 mu4e-view-mode: use overlays for url numbers 2014-02-07 06:12:21 +00:00
Dirk-Jan C. Binnema 49e46e99ac Merge pull request #361 from sabof/make-view-region-keymaps-external
* mu4e: make region maps configurable.
2014-02-06 20:40:40 -08:00
sabof d24176ed82 Added docstrings 2014-02-07 02:10:35 +00:00
sabof d6f08f3202 Externalised the contacts map 2014-02-07 01:38:33 +00:00
sabof a128a56bc6 mu4e-view: externalized keymaps 2014-02-06 08:42:57 +00:00
sabof e2c8bff298 Moved citation regexps to a variable 2014-02-05 20:24:05 +00:00
Dirk-Jan C. Binnema 35a40bc3fb Merge pull request #339 from akopytov/master
* mu4e: Fix for #338.
2014-02-03 23:32:00 -08:00
sabof 519a18107c Quit in a way similar to help buffers' 2014-02-03 04:40:14 +00:00
Alexey Kopytov e53b849530 Fix #338 by using “long” contact addresses as the actual field values mu4e~view-construct-contacts-header. 2014-01-02 20:45:41 +04:00
djcb f79170ac6c * cosmetics 2013-12-18 23:51:12 -08:00
Dirk-Jan C. Binnema f859c443cc Merge pull request #326 from DamienCassou/dialog-to-save-attachments
* better dialog to save attachments.
2013-12-18 23:48:47 -08:00
Dirk-Jan C. Binnema 3c6b51cadb Merge pull request #312 from jschwab/jws/open-multiple-links
* add ability to specify range of URLs to visit
2013-12-16 21:51:26 -08:00
Damien Cassou 6e790ba610 Better dialog to save attachments.
This commit replaces the call to `read-directory-name' by a call to
`read-file-name' when asking the user about the target location for
saving an attachment. This new dialog is better suited because:

1/ the user is currently saving a file, not a directory: he might want
   to complete over existing files (e.g., to replace an existing file
   with a new one just received).

2/ the current dialog was asking for a directory but then, if the user
   enters a directory, mu4e proposes him to "override" the directory
   with a file. This is not going to work obviously. In the new dialog,
   it is also possible to enter a directory name instead of a file name.
   In this case, a new file is created under the chosen directory name.
2013-12-10 14:54:42 +01:00
djcb 3737694000 * mu4e: fix warning 2013-12-01 20:39:21 +02:00
Josiah Schwab 2e433ebfb4 Add ability to specify range of URLs to visit
* mu4e/mu4e-view.el (mu4e-view-go-to-url): Add the ability to visit
  multiple URLs by specifying a numeric range.
* mu4e/mu4e.texi (The message view: Keybindings): Document ability to
  visit multiple URLs.

`mu4e-view-go-to-url' now behaves like `mu4e-view-save-attachment'. You
can specify multiple URLs to visit at once by prefixing the visit
command by <C-u>; so C-u g asks you for a range of URLs to visit (for
example, 1 3-6 8). The range "‘a’" is a shortcut for all URLs.
2013-11-13 18:22:01 -08:00
djcb 162619f6c9 * mu4e: don't error out on parts without mime-type 2013-10-23 21:34:10 +03:00
djcb c171a61827 * mu4e: run mu4e-view-mode only when the marked-as-read message is received 2013-10-20 16:55:36 +03:00
djcb 9c8101d949 * mu4e: centralize some of the fontification code; cleanup signature support 2013-10-20 15:41:47 +03:00
djcb b53d2ec0c2 * mu4e: make the faces a bit more generic 2013-10-19 12:05:05 +03:00
djcb cf4c658223 * mu4e: don't list footers as attachments 2013-10-14 22:42:58 +03:00
djcb 8be5e92709 * mu4e: fix display of images 2013-10-13 23:24:56 +03:00
djcb 44011351da * mu4e: mu4e-view-fill-headers to enable/disable header filling 2013-10-13 15:25:12 +03:00
djcb 5634722129 * mu4e: don't append to attachment name when retryiing 2013-10-12 14:12:13 +03:00
Thierry Volpiatto 3f554f0c7a * mu4e/mu4e-view.el: Fix, backspace should be scroll-down. 2013-10-10 14:47:43 +02:00
Thierry Volpiatto 7a9fff714d * mu4e/mu4e-view.el: Fix usage of backspace (scroll only). 2013-10-10 14:44:26 +02: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 d6c01a5975 * mu4e-view: fix help-echo for urls 2013-09-27 06:04:17 -07:00
Sasha Kovar 2d8bf0db3a mu4e: always consider text/calendar message parts as attachments 2013-09-17 10:19:00 -07:00
djcb b26bd3a4e7 * mu4e: do a better job of trying to show images (without delay) 2013-07-06 11:51:33 +03:00
djcb 72e6fb997a * mu4e: make the byte-compiler happy 2013-06-29 13:07:32 +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 900fb574ee * mu4e-view.el: fixup display of contacts with control chars 2013-06-24 22:43:03 +03:00
djcb 88459d59ea * mu4e-view: use e-mail address as string for the display property; fixes #236 2013-06-16 12:18:51 +03:00
djcb fa514435ea * merge branch 'master' of github.com:djcb/mu 2013-06-13 23:56:35 +03:00
djcb c581468ac3 * mu4e: some minor changes 2013-06-13 23:53:11 +03:00
djcb 03a79fc188 * mu4e: fix typo 2013-06-08 17:36:29 +03:00
djcb d79e19b74b * cosmetic 2013-05-04 14:15:35 +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 c657a816d3 * mu4e: small doc fixes 2013-04-17 21:04:42 +03:00
djcb 7d52ef1c3f * mu4e: copy address at point with c / C-u c in message-view 2013-04-15 23:41:26 +03:00
djcb 89d8792bb8 * mu4e: don't try to write in read-only buffer 2013-03-30 11:09:56 +02:00
Titus von der Malsburg 9b2b57fbb7 Set mu4e-headers-view-win to nil when closing message view. 2013-03-17 20:37:44 +01:00
djcb 79c1c8e452 * mu: fix detection of urls with diacritics 2013-03-05 07:18:17 -08:00
Sasha Kovar 55619550e9 mu4e: propertize parens around attachment size in message view 2013-02-21 11:11:03 -08:00
Sasha Kovar 23dd3bb27e mu4e: propertize the colon in view header keys 2013-02-21 10:52:58 -08:00
djcb ae28d22c30 * mu4e: make sure to define mu4e-view-mark-for-something (using the macro) 2013-02-11 23:49:39 +02:00
djcb 8256a403c5 * mu4e: use mu4e-view-show-images 2013-01-26 10:57:14 +02:00
djcb d60fd4bb47 * mu4e: fix mu4e~view-fontify-cited to not search too far (fixes #127) 2013-01-05 13:14:08 +02: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 144b5b1ba2 * mu4e-view: cosmetic 2012-12-22 21:12:36 +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
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
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
djcb 0c11313027 * mu4e-view: list inline-parts as attachments, too. 2012-11-25 18:33:03 +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
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 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 ec106e38bf fix defcustom types and improve their doc-strings 2012-11-09 13:45:19 +01:00
djcb 13e57114b4 * mu4e: handle inline message/rfc822 parts correctly (show as attachments) 2012-10-31 20:34:42 +02:00
djcb 16beb8cd95 * mu4e: mu4e-view set buffer-local vars *before* mark-as-read 2012-10-29 12:22:07 +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 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 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 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 9dd0e849a6 * mu4e: make `mu4e-view-scroll-up-or-next' a bit more robust 2012-10-17 12:26:11 +03:00
djcb 29a94c4b2f * mu4e: scrolling down takes you to next msg (but see mu4e-view-scroll-to-next) 2012-10-17 12:07:57 +03:00
djcb 35fc85a15e * mu4e-view: don't set truncate-lines 2012-10-16 21:43:02 +03:00
djcb ce43ca1e44 * mu4e: fix mu4e getting into refresh loop for new messages (mu4e-view) 2012-10-09 18:04:15 +03:00
djcb a7f974d207 * mu4e-view: active mu4e-view-mode only after the message is constructed 2012-10-08 11:11:38 +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 d945e2e61c * mu4e: fix typos, cosmetics 2012-10-03 21:51:26 +03:00
djcb f9c9e790a6 * mu4e: allow setting a function for mu4e-attachment-dir 2012-10-03 12:53:16 +03:00
djcb 1a785abdca * minor 2012-10-01 21:18:42 +03:00
djcb c482f744b2 * mu4e: fix + simplify mu4e-headers-split-view-resize 2012-10-01 21:17:05 +03:00
djcb 7a48e6edbe * mu4e: fix typo: use mu4e-view-mark-for-deferred 2012-10-01 16:41:29 +03:00
djcb 833041e372 * mu4e: small updates to mu4e-view 2012-09-30 20:12:24 +03:00
djcb c7bb9aef9a * mu4e: cosmetics 2012-09-28 17:10:34 +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 bfc2ba9c55 * mu4e: showing embedded messages: updated handler, view 2012-09-23 11:42:00 +03:00
djcb 18096f326a * mu4e: allow message attachment to be viewed with mu4e (WIP) 2012-09-21 12:35:53 +03:00
djcb 3fe6eec8e0 * cosmetics 2012-09-20 21:25:55 +03:00
djcb f4b9d1645e * mu4e: improve mu4e-view keybindings, update docs 2012-09-19 16:56:13 +03:00
djcb 1ef9dae6bd * crypto: improved signature / verify output 2012-09-19 11:36:02 +03:00
djcb 257374076c * mu4e: support autocompletion when choosing file/dir for saving attachments 2012-09-18 21:25:28 +03:00
djcb 7cb695b787 * mu4e: cleanup wrapping / hiding citations in view:
- use longlines mode (no need for filladapt, my own functions)
  - make mu4e-view-wrap-lines, mu4e-view-hide-cited obsolete; use a hook
    instead
  - update docs
2012-09-16 22:34:11 +03:00
djcb 5a9b867ca8 * mu4e: support the :size field in headers, message view 2012-09-15 18:24:03 +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 4508417e34 * mu4e-view.el: be a bit smarter about inline attachments 2012-09-06 10:20:51 +03:00
djcb cf143667e8 * cosmetics 2012-09-05 01:23:00 +03:00
djcb 804f2b5cd5 * mu4e: better error when entering invalid attachment number 2012-09-03 00:35:39 +03:00
djcb 9ff50258cd * mu4e-view: use 'verified', not 'ok' when the signature is verified 2012-09-01 20:05:55 +03:00
djcb f1b1abd334 * cosmetic 2012-08-27 18:05:31 +03:00
djcb 6f19449856 * mu4e: always put images (inline or attachment) in the list of attachments 2012-08-26 23:51:31 +03:00
djcb f1c1fc15e3 * mu4e-view: fix mu4e-view-wrap-lines, mu4e-view-hide-cited 2012-08-26 12:22:29 +03:00
djcb 1a5ee55a80 * mu4e-view: recognize '*' as part of url 2012-08-16 20:45:41 +03:00
djcb 12226c19c0 * mu4e: make elint-clean 2012-08-14 10:20:27 +03:00
djcb 9044ccc7f2 * mu4e: slightly improved attachment detection 2012-08-10 09:59:16 +03:00
djcb b71a27b7c0 * mu4e/mu-msg-part: better detection of body / attachments 2012-08-02 15:48:03 +03:00
djcb 136d0f2875 * mu4e/crypto: beginnings of crypto (verification, decryption) support. WIP! 2012-08-01 17:07:11 +03:00
djcb 45611b0461 * mu4e: hide some non-attachments from the attachment list in the view 2012-07-24 23:39:47 +03:00
djcb dde3f09c76 * crypto/mu4e: support signature verification in mu4e (WIP) 2012-07-19 11:42:38 +03:00
djcb 548ada3032 * crypto/mu4e: support signature check in mu4e (part 1) 2012-07-18 17:53:04 +03:00
djcb 9df78fe49f * mu4e: improve display of the flags-field in the message view 2012-07-16 15:56:26 +03:00
djcb 668327da84 * mu4e: make contacts in address field in the message view 'clickable': toggle
between long/short display and compose. Make short display the default
2012-07-16 12:19:19 +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