* Fix for emacs 24
@ 2011-08-01 17:19 richardmurri
2011-08-26 12:46 ` David Bremner
2011-09-15 20:15 ` E.J. Neafsey
0 siblings, 2 replies; 5+ messages in thread
From: richardmurri @ 2011-08-01 17:19 UTC (permalink / raw)
To: notmuch
From c034e4567dc08f81708f6ab8ac974c9b8b83a508 Mon Sep 17 00:00:00 2001
Date: Mon, 1 Aug 2011 10:48:31 -0600
Subject: [PATCH] Update for emacs 24.
Emacs added another parameter to the send mail functions. This caused
emacs to error out.
---
emacs/notmuch-mua.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 274c5da..808e184 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -125,7 +125,8 @@ list."
(message-goto-to))
(defun notmuch-mua-mail (&optional to subject other-headers continue
- switch-function yank-action send-actions)
+ switch-function yank-action send-actions
+ return-action)
"Invoke the notmuch mail composition window."
(interactive)
--
1.7.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: Fix for emacs 24
2011-08-01 17:19 Fix for emacs 24 richardmurri
@ 2011-08-26 12:46 ` David Bremner
2011-08-26 16:47 ` richardmurri
2011-09-15 20:15 ` E.J. Neafsey
1 sibling, 1 reply; 5+ messages in thread
From: David Bremner @ 2011-08-26 12:46 UTC (permalink / raw)
To: richardmurri, notmuch
On Mon, 01 Aug 2011 11:12:36 -0600, richardmurri@gmail.com wrote:
> Emacs added another parameter to the send mail functions. This caused
> emacs to error out.
> (defun notmuch-mua-mail (&optional to subject other-headers continue
> - switch-function yank-action send-actions)
> + switch-function yank-action send-actions
> + return-action)
Thanks for sending a patch. I'm sure we need lots of help to get notmuch
working well with emacs24. Some comments about your patch
- It would be nice to have a bit more informative single line summary to
start the patch.
- I don't really understand from the long commit message what problem
this fixes. I take it some function outside of notmuch is calling
notmuch-mua-mail?
- The convention on the notmuch list is to use "git send-email" if you
can. This makes it easier to apply patches. Any discussion not meant
to be part of the commit message can go after the --- at the end of the
commit message (and I admit that isn't very obvious).
Thanks again, and welcome to the team ;)
d
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix for emacs 24
2011-08-26 12:46 ` David Bremner
@ 2011-08-26 16:47 ` richardmurri
2011-09-05 12:19 ` David Bremner
0 siblings, 1 reply; 5+ messages in thread
From: richardmurri @ 2011-08-26 16:47 UTC (permalink / raw)
To: David Bremner, notmuch
On Fri, 26 Aug 2011 09:46:27 -0300, David Bremner <david@tethera.net> wrote:
> Thanks for sending a patch. I'm sure we need lots of help to get notmuch
> working well with emacs24. Some comments about your patch
>
> - It would be nice to have a bit more informative single line summary to
> start the patch.
>
> - I don't really understand from the long commit message what problem
> this fixes. I take it some function outside of notmuch is calling
> notmuch-mua-mail?
>
> - The convention on the notmuch list is to use "git send-email" if you
> can. This makes it easier to apply patches. Any discussion not meant
> to be part of the commit message can go after the --- at the end of the
> commit message (and I admit that isn't very obvious).
>
> Thanks again, and welcome to the team ;)
Here is the following snippet from the emacs changelog for emacs 24:
** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
passes it to the mail user agent function. This argument specifies an
action for returning to the caller after finishing with the mail.
This is currently used by Rmail to delete a mail window.
compose-mail is run when creating a new email. It breaks horribly
without a spot for the optional argument, however most mail agents don't
use the argument at all. By just including the extra argument, most
everything works well with notmuch in emacs 24.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix for emacs 24
2011-08-26 16:47 ` richardmurri
@ 2011-09-05 12:19 ` David Bremner
0 siblings, 0 replies; 5+ messages in thread
From: David Bremner @ 2011-09-05 12:19 UTC (permalink / raw)
To: richardmurri, notmuch
On Fri, 26 Aug 2011 10:47:44 -0600, richardmurri@gmail.com wrote:
> ** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
> passes it to the mail user agent function. This argument specifies an
> action for returning to the caller after finishing with the mail.
> This is currently used by Rmail to delete a mail window.
>
>
> compose-mail is run when creating a new email. It breaks horribly
> without a spot for the optional argument, however most mail agents don't
> use the argument at all. By just including the extra argument, most
> everything works well with notmuch in emacs 24.
Could you rework your patch to include more or less this discussion in
the commit message?
Thanks,
David
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix for emacs 24
2011-08-01 17:19 Fix for emacs 24 richardmurri
2011-08-26 12:46 ` David Bremner
@ 2011-09-15 20:15 ` E.J. Neafsey
1 sibling, 0 replies; 5+ messages in thread
From: E.J. Neafsey @ 2011-09-15 20:15 UTC (permalink / raw)
To: richardmurri, notmuch
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
Dan,
What a flower!
Speaking of plants, John Banaszak and I worked together to identify a
rare prairie plant that he had found. It was an Agalinis auriculata
(aka Tomanthera auriculata, or earleaf false foxglove). It was a lot of
fun. I have attached a picture from the web.
Dad
[-- Attachment #2: agalinis auriculata --]
[-- Type: image/jpeg, Size: 99667 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1084 bytes --]
On Mon, 01 Aug 2011 11:12:36 -0600, richardmurri@gmail.com wrote:
>
> From c034e4567dc08f81708f6ab8ac974c9b8b83a508 Mon Sep 17 00:00:00 2001
> Date: Mon, 1 Aug 2011 10:48:31 -0600
> Subject: [PATCH] Update for emacs 24.
>
> Emacs added another parameter to the send mail functions. This caused
> emacs to error out.
> ---
> emacs/notmuch-mua.el | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
> index 274c5da..808e184 100644
> --- a/emacs/notmuch-mua.el
> +++ b/emacs/notmuch-mua.el
> @@ -125,7 +125,8 @@ list."
> (message-goto-to))
>
> (defun notmuch-mua-mail (&optional to subject other-headers continue
> - switch-function yank-action send-actions)
> + switch-function yank-action send-actions
> + return-action)
> "Invoke the notmuch mail composition window."
> (interactive)
>
> --
> 1.7.6
>
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
--
E.J. Neafsey
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-15 20:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 17:19 Fix for emacs 24 richardmurri
2011-08-26 12:46 ` David Bremner
2011-08-26 16:47 ` richardmurri
2011-09-05 12:19 ` David Bremner
2011-09-15 20:15 ` E.J. Neafsey
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).