unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Sanjoy Mahajan <sanjoy@olin.edu>
To: David Bremner <david@tethera.net>, <notmuch@notmuchmail.org>
Subject: Re: slight workaround needed to use gnus-alias
Date: Thu, 12 May 2016 12:10:37 -0400	[thread overview]
Message-ID: <87inyj1cle.fsf@insight.mit.edu> (raw)
In-Reply-To: <87zirv2rvc.fsf@zancas.localnet>

On 2016-05-12 11:55, David Bremner <david@tethera.net> wrote:

>> (defun gnus-alias-ensure-message-mode ()
>>   "Assert that the current buffer is a message buffer."
>>   (when (not (derived-mode-p 'notmuch-message-mode))
>>     (gnus-alias-error "Must be in `message-mode' or mode derived from it. ")))
>> (add-hook 'message-setup-hook 'gnus-alias-determine-identity)
>
> Maybe upstream Emacs would accept something like that if it says
> "(derived-mode-p 'message-mode)".

Agreed!  That's what I meant to write (a yank bug somewhere along the line).

I am happy to ask upstream on the emacs list, unless you think it would
be more likely to be accepted if coming from notmuch developers.

-Sanjoy

  reply	other threads:[~2016-05-12 16:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 15:11 slight workaround needed to use gnus-alias Sanjoy Mahajan
2016-05-12 15:55 ` David Bremner
2016-05-12 16:10   ` Sanjoy Mahajan [this message]
2016-05-12 16:23     ` David Bremner
2016-05-13 14:58       ` Sanjoy Mahajan
2016-05-13 22:45         ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inyj1cle.fsf@insight.mit.edu \
    --to=sanjoy@olin.edu \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).