unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Servilio Afre Puentes <servilio@gmail.com>,
	Jani Nikula <jani@nikula.org>, notmuch <notmuch@notmuchmail.org>
Subject: Re: [PATCH 0/2] Enhancements to notmuch-hello search history
Date: Sun, 05 May 2013 12:58:54 +0300	[thread overview]
Message-ID: <m2li7teoip.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <87ppx6lo6g.fsf@goose.CSU.McMaster.CA>

On Sat, May 04 2013, Servilio Afre Puentes <servilio@gmail.com> wrote:

> Jani Nikula <jani@nikula.org> writes:
>
>> On Fri, 03 May 2013, Servilio Afre Puentes <servilio@gmail.com> wrote:
>>> Two patches that enhance the notmuch-hello search history UI. Though
>>> minor I find them very helpful.
>>
>> Both seem to work as advertised; I did not look at the code much.  A
>> minor bikeshed is that I think y-or-n-p would suffice in patch 1/2.
>
> I know, but as it clears the whole history I decided to go with a
> confirmation that required more attention to diminish the chance of
> accident, and the action is taken not so oftenly (at least for me, and
> my guess is that it is the same for most) so it stills balances out
> positively in the usability.

I tested the patch and it works as advertised.

I agree with Jani that y-or-n-p would suffice for clearing all
recent searches (but yes-or-no-p is not so bad as I originally thought
as C-g can be used to stop processing (typoing 'no' is too easy ;/). 

If we could use "undo" feature to restore last clear/del then I'd agree
100% with Mark (i.e. no y-or-n-p for [del]).

In any case fix at least the style issue Mark mentioned -- any of the
yes/no queries will eventually be fine with me (as I don't know without
experience what would be the best (for me) after all).

> Servilio

Tomi

  reply	other threads:[~2013-05-05  9:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03 17:19 [PATCH 0/2] Enhancements to notmuch-hello search history Servilio Afre Puentes
2013-05-03 17:57 ` [PATCH 1/2] emacs: hello: ask confirmation for clearing recent searches Servilio Afre Puentes
2013-05-03 17:58 ` [PATCH 2/2] emacs: hello: allow deleting individual searches in the history Servilio Afre Puentes
2013-05-04 23:31   ` Mark Walters
2013-05-04  8:54 ` [PATCH 0/2] Enhancements to notmuch-hello search history Jani Nikula
2013-05-04 16:12   ` Servilio Afre Puentes
2013-05-05  9:58     ` Tomi Ollila [this message]
2013-05-05 12:45       ` Jani Nikula

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=m2li7teoip.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=jani@nikula.org \
    --cc=notmuch@notmuchmail.org \
    --cc=servilio@gmail.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).