* add support for org-mode links to messages/queries
- org-mu4e.el: add "mu4e:"-link type and handlers to org-mode
- Makefile.am: add org-mu4e.el to package
- mu4e-hdrs.el: register handler functions for server data *outside* header
mode, so they can be used independently (and we can link to messages even
when mu4e is not active already)
- mu4e-view.el, mu-server.1, mu-proc.el, mu-cmd-server.c: support viewing
messages by msgid (rather than only by docid); document it
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
;;; mu4e-proc.el -- part of mm, the mu mail user agent
|
||||
;;; mu4e-proc.el -- part of mu4e, the mu mail user agent
|
||||
;;
|
||||
;; Copyright (C) 2011 Dirk-Jan C. Binnema
|
||||
;; Copyright (C) 2011-2012 Dirk-Jan C. Binnema
|
||||
|
||||
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
;; Keywords: email
|
||||
;; Version: 0.0
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
@ -418,10 +416,12 @@ set to e.g. '/drafts'; if this works, we will receive (:info :path
|
||||
response."
|
||||
(mu4e-proc-send-command "ping"))
|
||||
|
||||
(defun mu4e-proc-view-msg (docid)
|
||||
"Get one particular message based on its DOCID. The result will
|
||||
(defun mu4e-proc-view-msg (docid-or-msgid)
|
||||
"Get one particular message based on its DOCID-OR-MSGID. The result will
|
||||
be delivered to the function registered as `mu4e-proc-message-func'."
|
||||
(mu4e-proc-send-command "view %d" docid))
|
||||
(if (stringp docid-or-msgid)
|
||||
(mu4e-proc-send-command "view %s" docid-or-msgid)
|
||||
(mu4e-proc-send-command "view %d" docid-or-msgid)))
|
||||
|
||||
(defun mu4e-proc-compose (compose-type docid)
|
||||
"Start composing a message with DOCID and COMPOSE-TYPE (a symbol,
|
||||
@ -452,5 +452,6 @@ and update the database afterwards."
|
||||
(with-current-buffer buf
|
||||
(kill-buffer-and-window))))
|
||||
|
||||
|
||||
(provide 'mu4e-proc)
|
||||
|
||||
;; End of mu4e-proc.el
|
||||
|
||||
Reference in New Issue
Block a user