|
@@ -1018,6 +1018,7 @@ For VM, use any of
|
|
|
For Gnus, use any of
|
|
|
`gnus'
|
|
|
`gnus-other-frame'
|
|
|
+ `org-gnus-no-new-news'
|
|
|
For FILE, use any of
|
|
|
`find-file'
|
|
|
`find-file-other-window'
|
|
@@ -1035,7 +1036,8 @@ another window."
|
|
|
(cons (const gnus)
|
|
|
(choice
|
|
|
(const gnus)
|
|
|
- (const gnus-other-frame)))
|
|
|
+ (const gnus-other-frame)
|
|
|
+ (const org-gnus-no-new-news)))
|
|
|
(cons (const file)
|
|
|
(choice
|
|
|
(const find-file)
|
|
@@ -6130,19 +6132,20 @@ For file links, arg negates `org-context-in-file-links'."
|
|
|
(let (x adr)
|
|
|
(when (setq x (plist-get plist :from))
|
|
|
(setq adr (mail-extract-address-components x))
|
|
|
- (plist-put plist :fromname (car adr))
|
|
|
- (plist-put plist :fromaddress (nth 1 adr)))
|
|
|
+ (setq plist (plist-put plist :fromname (car adr)))
|
|
|
+ (setq plist (plist-put plist :fromaddress (nth 1 adr))))
|
|
|
(when (setq x (plist-get plist :to))
|
|
|
(setq adr (mail-extract-address-components x))
|
|
|
- (plist-put plist :toname (car adr))
|
|
|
- (plist-put plist :toaddress (nth 1 adr))))
|
|
|
+ (setq plist (plist-put plist :toname (car adr)))
|
|
|
+ (setq plist (plist-put plist :toaddress (nth 1 adr)))))
|
|
|
(let ((from (plist-get plist :from))
|
|
|
(to (plist-get plist :to)))
|
|
|
(when (and from to org-from-is-user-regexp)
|
|
|
- (plist-put plist :fromto
|
|
|
- (if (string-match org-from-is-user-regexp from)
|
|
|
- (concat "to %t")
|
|
|
- (concat "from %f")))))
|
|
|
+ (setq plist
|
|
|
+ (plist-put plist :fromto
|
|
|
+ (if (string-match org-from-is-user-regexp from)
|
|
|
+ (concat "to %t")
|
|
|
+ (concat "from %f"))))))
|
|
|
(setq org-store-link-plist plist))
|
|
|
|
|
|
(defun org-add-link-props (&rest plist)
|