From 770aa793cbff5a98734366763d3cee28d3827022 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sun, 9 Mar 2025 08:52:36 +0200 Subject: [PATCH] mu4e-actions: add note about mu4e-action-git-apply-patch See: https://github.com/djcb/mu/issues/2827 And some cosmetics. --- mu4e/mu4e-actions.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index 04757824..d4fc4de5 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -1,6 +1,6 @@ ;;; mu4e-actions.el --- Actions for messages/attachments -*- lexical-binding: t -*- -;; Copyright (C) 2011-2023 Dirk-Jan C. Binnema +;; Copyright (C) 2011-2025 Dirk-Jan C. Binnema ;; Author: Dirk-Jan C. Binnema ;; Maintainer: Dirk-Jan C. Binnema @@ -35,7 +35,6 @@ (require 'mu4e-search) (require 'mu4e-contacts) (require 'mu4e-lists) - ;;; Count lines (defun mu4e-action-count-lines (msg) @@ -58,7 +57,6 @@ Later, we can create an attachment based on this message with (setq mu4e-captured-message msg) (message "Message has been captured")) - (defun mu4e-action-copy-message-file-path (msg) "Save the full path for the current MSG to the kill ring." (kill-new (mu4e-message-field msg :path))) @@ -123,6 +121,7 @@ file where you store your org-contacts." (shell-command (format "git apply %s" (shell-quote-argument (mu4e-message-field msg :path))))))) +;; does this work correctly? I.e.: https://github.com/djcb/mu/issues/2827 (defun mu4e-action-git-apply-mbox (msg &optional signoff) "Apply `MSG' a git patch with optional `SIGNOFF'. @@ -250,7 +249,6 @@ the message." msgid (and (eq major-mode 'mu4e-view-mode) (not (eq mu4e-split-view 'single-window)))))))) - ;;; Mailing list URLS (defun mu4e-action-browse-list-archive (msg)