unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: "Tory S. Anderson" <webdev@toryanderson.com>,
	Tomi Ollila <tomi.ollila@iki.fi>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: do not unconditionally set mail-user-agent
Date: Sat, 15 May 2021 10:21:46 -0300	[thread overview]
Message-ID: <87v97kb09h.fsf@tethera.net> (raw)
In-Reply-To: <87im3le3wn.fsf@toryanderson.com>

webdev@toryanderson.com (Tory S. Anderson) writes:

> I'm not familiar with how the git process goes here, since it's
> somewhat different than gitlab/github. Is there something I can do to
> apply this, or is there a separate notification for master, or should
> I subscribe to a different branch?

You'll need a checkout of the source, then you can apply that patch with
"git am".

I use roughly the following workflow

1) 'c i' in notmuch-show-mode to grab the message id

2) Switch to a terminal, run

   $ notmuch show --format=raw <paste-message-id-from-emacs> | git am

If you do this often, then you may want to investigate the package
"mailscripts" by Sean Whitton that includes some utilities that smooth
out some of the rough edges.

  reply	other threads:[~2021-05-15 13:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 23:28 [PATCH] emacs: do not unconditionally set mail-user-agent David Bremner
2021-05-14 14:34 ` Tomi Ollila
2021-05-14 15:22   ` Tory S. Anderson
2021-05-15 13:21     ` David Bremner [this message]
2021-05-15 13:11   ` David Bremner
2021-06-04 23:16 ` [PATCH] emacs: drop setting mail-user-agent, and document how to set it David Bremner
2021-06-07 15:26   ` Tomi Ollila
2021-06-07 23:30   ` 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=87v97kb09h.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    --cc=webdev@toryanderson.com \
    /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).