1. alex koval
  2. .emacs.d


alex koval  committed 4f4f791

fix for copy-url from notmuch HTML view buffer

  • Participants
  • Parent commits e291993
  • Branches default

Comments (0)

Files changed (1)

File configs/cfg_notmuch.el

View file
  • Ignore whitespace
 ; mark message as deleted from 
+; workaround for 'u' button in HTML mode
+; to remove complaint of 'Command invoked outside of a Gnus article buffer'
+(defun gnus-article-copy-string ()
+  "Copy the string in the button to the kill ring."
+  (interactive)
+  (let ((data (get-text-property (point) 'gnus-string)))
+    (when data
+      (with-temp-buffer
+	(insert data)
+	(copy-region-as-kill (point-min) (point-max))
+	(message "Copied %s" data)))))
  '(notmuch-search-oldest-first nil)
  '(notmuch-message-headers (quote ("Subject" "To" "Cc" "Date" "X-Mailer" "User-Agent")))