unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Keith Packard <keithp@keithp.com>
To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags
Date: Sun, 22 Nov 2009 19:52:00 -0800	[thread overview]
Message-ID: <yunk4xhq4nz.fsf@aiko.keithp.com> (raw)
In-Reply-To: <87zl6eeydr.fsf@yoom.home.cworth.org>

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

On Mon, 23 Nov 2009 04:03:12 +0100, Carl Worth <cworth@cworth.org> wrote:

> I agree that "normal" should be easier too. So I just need to win you
> over to my notion of "normal", (and teach you of the ways of the magic
> space bar).

As I mentioned, I rarely read mail in a linear fashion; I don't want it
to show me another message, I want to see the index again. I'm torn over
whether I just want the index to always be visible; having the full
screen available to view a single thread is awfully nice. It seems like
a 'I'm done, go back to the index' is just what is needed here.

> [*] We should perhaps fix 'a' to remove the "unread" tag from any
> messages that _are_ wholly visible in the current window. It's really
> only when an entire thread fits this one, and I *did* read it, that I
> end up reaching for the 'A' binding.

yes, that does make a lot of sense, and do precisely the same for the
'x' key, leaving 'q' the way to get out of a message without changing
it at all.

> If we did that, then we could make 'a' do archive-go-to-next-message
> and 'A' do archive-return-to-search-view. What would you think about
> that?

I'd take 'x' for 'return to search view; otherwise you're going to wear
out my pinky reaching for the shift key. That leaves us with three
commands:

'a': advance to next message, archiving current thread, marking read
messages. ('A' forces all messages in thread to be marked as read)

'x': exit to search view, archiving current thread, marking read
messages. ('X' forces all messages in thread to be marked as read)

'q': quit back to search view, leaving thread tags unmodified.

There's a slightly weird asymmetry here -- there's no way to advance to
the next thread and not mark messages.

-- 
keith.packard@intel.com

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

  reply	other threads:[~2009-11-23  3:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17 21:32 [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags Keith Packard
2009-11-18 10:19 ` Carl Worth
2009-11-18 17:45   ` Keith Packard
2009-11-19  0:25     ` Carl Worth
2009-11-19  0:43       ` Keith Packard
2009-11-22 23:19 ` Carl Worth
2009-11-22 23:32   ` Keith Packard
2009-11-23  3:03     ` Carl Worth
2009-11-23  3:52       ` Keith Packard [this message]
2009-11-23  6:31         ` Carl Worth
2009-11-23  7:20           ` Keith Packard
2009-12-01  7:27             ` Carl Worth
  -- strict thread matches above, loose matches on Subject: below --
2009-11-21  4:46 Keith Packard

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=yunk4xhq4nz.fsf@aiko.keithp.com \
    --to=keithp@keithp.com \
    --cc=cworth@cworth.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).