unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Rollins <jrollins@finestructure.net>
To: Carl Worth <cworth@cworth.org>, David Edmondson <dme@dme.org>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: [PATCH] remove message archiving from show-advance-and-archive
Date: Wed, 09 Jun 2010 15:11:15 -0400	[thread overview]
Message-ID: <871vcgxbqk.fsf@servo.finestructure.net> (raw)
In-Reply-To: <87y6eogkge.fsf@yoom.home.cworth.org>

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

On Wed, 09 Jun 2010 10:54:57 -0700, Carl Worth <cworth@cworth.org> wrote:
> On Wed, 09 Jun 2010 11:55:49 -0400, Jameson Rollins <jrollins@finestructure.net> wrote:
> > I actually submitted this patch because there was noise on #notmuch
> > about people (including from cworth) not liking the default behavior
> > where the "inbox" tag is removed by the advance function.
> 
> For the record, I wrote the current behavior for my own use, so I've
> been pretty happy with it.

I'm still not understanding the usage pattern here.  Do you really want
to archive all threads after you've read them?  If so, what's the
difference between the "unread" and "inbox" tags in your work flow?

dme's response was "if I don't want the message archived, then I hit 'q'
instead of ' '".  But it seems to make more sense to me to say "if I
want the message archived, I just hit 'a'".

> I suppose one option here would be a customizable variable that controls
> what happens when trying to advance "past" the last message, (do
> nothing, advance to next thread, archive current thread and advance to
> next thread)?

We could, but I think it adds a lot of unnecessary complication.  I
wonder if there's not a better way to handle the flow that you guys are
advocating, rather than using notmuch-show-advance-and-archive.

But I have a stop-gap solution.  What if we provide both
notmuch-show-advance and notmuch-show-advance-and-archive, with the
default being notmuch-show-advance?  That way, if folks want to use the
old behavior, they can just set

(define-key notmuch-show-mode-map " " 'notmuch-show-advance-and-archive)

in their emacs config file.  If people agree on that solution, then I
can submit a revamped patch.

jamie.

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

  parent reply	other threads:[~2010-06-09 19:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 14:49 [PATCH] remove message archiving from show-advance-and-archive Jameson Rollins
2010-06-09 15:12 ` David Edmondson
2010-06-09 15:25   ` Jameson Rollins
2010-06-09 15:36     ` David Edmondson
2010-06-09 15:55       ` Jameson Rollins
2010-06-09 17:18         ` David Edmondson
2010-06-09 17:29           ` Jameson Rollins
2010-06-09 17:47             ` David Edmondson
2010-06-09 17:54         ` Carl Worth
2010-06-09 19:07           ` servilio
2010-06-09 19:11           ` Jameson Rollins [this message]
2010-06-09 17:50 ` Carl Worth
2010-06-09 18:20   ` Dirk Hohndel
2010-06-09 19:12     ` servilio
2010-06-09 19:20     ` Jameson Rollins
2010-06-09 19:33       ` Carl Worth
2010-06-15  9:25     ` Sebastian Spaeth
2010-06-09 19:04   ` servilio
2010-06-09 19:18   ` Jameson Rollins
2010-06-09 19:55   ` Michal Sojka
2010-06-15  9:21   ` Sebastian Spaeth

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=871vcgxbqk.fsf@servo.finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=cworth@cworth.org \
    --cc=dme@dme.org \
    --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).