unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Handling PATCH from notmuchmail
@ 2010-11-22 21:49 Xavier Maillard
  2010-11-23 14:47 ` Sebastian Spaeth
  2010-11-23 15:41 ` Michal Sojka
  0 siblings, 2 replies; 6+ messages in thread
From: Xavier Maillard @ 2010-11-22 21:49 UTC (permalink / raw)
  To: notmuch

Hello,

out of curiosity, how hackers on this mailing list and using notmuch
(through GNU Emacs client if at all) do handle all the patches sent here
?

I mean, what commands/keystrokes do you use in order to apply your
patches ?

Thank you very much.

/Xavier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Handling PATCH from notmuchmail
  2010-11-22 21:49 Handling PATCH from notmuchmail Xavier Maillard
@ 2010-11-23 14:47 ` Sebastian Spaeth
  2010-11-23 15:44   ` Jameson Rollins
  2010-11-23 15:41 ` Michal Sojka
  1 sibling, 1 reply; 6+ messages in thread
From: Sebastian Spaeth @ 2010-11-23 14:47 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

On Mon, 22 Nov 2010 22:49:15 +0100, Xavier Maillard <xma@gnu.org> wrote:
> out of curiosity, how hackers on this mailing list and using notmuch
> (through GNU Emacs client if at all) do handle all the patches sent here

cF to stash the filename and
then switch to shell and do 
git am -3 ctrl-shift-v RET

Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Handling PATCH from notmuchmail
  2010-11-22 21:49 Handling PATCH from notmuchmail Xavier Maillard
  2010-11-23 14:47 ` Sebastian Spaeth
@ 2010-11-23 15:41 ` Michal Sojka
  2010-11-23 17:27   ` Jed Brown
  1 sibling, 1 reply; 6+ messages in thread
From: Michal Sojka @ 2010-11-23 15:41 UTC (permalink / raw)
  To: Xavier Maillard, notmuch

On Mon, 22 Nov 2010, Xavier Maillard wrote:
> Hello,
> 
> out of curiosity, how hackers on this mailing list and using notmuch
> (through GNU Emacs client if at all) do handle all the patches sent here
> ?
> 
> I mean, what commands/keystrokes do you use in order to apply your
> patches ?

If I see a patch that I want to try I do:

M-x cd <RET> ~/src/notmuch <RET>
| git am <RET>

Then I manually switch to *notmuch-pipe* buffer to see whether the
command failed or not. It would be nice if *notmuch-pipe* buffer is
shown automatically when the command exits with non-zero status.

-Michal

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Handling PATCH from notmuchmail
  2010-11-23 14:47 ` Sebastian Spaeth
@ 2010-11-23 15:44   ` Jameson Rollins
  0 siblings, 0 replies; 6+ messages in thread
From: Jameson Rollins @ 2010-11-23 15:44 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

On Tue, 23 Nov 2010 15:47:26 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> On Mon, 22 Nov 2010 22:49:15 +0100, Xavier Maillard <xma@gnu.org> wrote:
> > out of curiosity, how hackers on this mailing list and using notmuch
> > (through GNU Emacs client if at all) do handle all the patches sent here
> 
> cF to stash the filename and
> then switch to shell and do 
> git am -3 ctrl-shift-v RET

notmuch show --format=mbox id:XXX | git am

works well too, as does 

notmuch show --format=mbox thread:XXX | git am

for a whole series.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Handling PATCH from notmuchmail
  2010-11-23 15:41 ` Michal Sojka
@ 2010-11-23 17:27   ` Jed Brown
  2010-11-23 21:06     ` Xavier Maillard
  0 siblings, 1 reply; 6+ messages in thread
From: Jed Brown @ 2010-11-23 17:27 UTC (permalink / raw)
  To: Michal Sojka, Xavier Maillard, notmuch

On Tue, 23 Nov 2010 16:41:40 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
> On Mon, 22 Nov 2010, Xavier Maillard wrote:
> M-x cd <RET> ~/src/notmuch <RET>
> | git am <RET>

An arguable refinement is

  | (cd ~/src/notmuch; git am -3)<RET>

> Then I manually switch to *notmuch-pipe* buffer to see whether the
> command failed or not. It would be nice if *notmuch-pipe* buffer is
> shown automatically when the command exits with non-zero status.

Agreed.

Jed

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Handling PATCH from notmuchmail
  2010-11-23 17:27   ` Jed Brown
@ 2010-11-23 21:06     ` Xavier Maillard
  0 siblings, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2010-11-23 21:06 UTC (permalink / raw)
  To: Jed Brown, Michal Sojka, notmuch

Hi,

Thank you all for your answers.

On Tue, 23 Nov 2010 18:27:34 +0100, Jed Brown <jed@59A2.org> wrote:
> On Tue, 23 Nov 2010 16:41:40 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
> > On Mon, 22 Nov 2010, Xavier Maillard wrote:
> > M-x cd <RET> ~/src/notmuch <RET>
> > | git am <RET>
> 
> An arguable refinement is
> 
>   | (cd ~/src/notmuch; git am -3)<RET>

Sounds awesome !

/Xavier

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-23 20:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22 21:49 Handling PATCH from notmuchmail Xavier Maillard
2010-11-23 14:47 ` Sebastian Spaeth
2010-11-23 15:44   ` Jameson Rollins
2010-11-23 15:41 ` Michal Sojka
2010-11-23 17:27   ` Jed Brown
2010-11-23 21:06     ` Xavier Maillard

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).