On Fri, 23 Apr 2010 15:52:15 -0700, Dirk Hohndel <[email protected]> wrote:
> Given how little elisp I know I'm quite interested in feedback
> and better implementations

I think that:

(defun notmuch-show-forward-message ()
  "Forward the current message."
  (interactive)
  (let ((user-mail-address
         (shell-command-to-string (concat notmuch-command
                                          "guess-from"
                                          (notmuch-show-get-message-id)))))
    (with-current-notmuch-show-message
     (notmuch-mua-forward-message))))

is more idiomatic.

dme.
-- 
David Edmondson, http://dme.org
_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to