unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: racin@free.fr
To: micah anderson <micah@riseup.net>
Cc: notmuch@notmuchmail.org
Subject: Re: notmuch.el: Prefix arg inverts the sort order of notmuch-search.
Date: Thu, 11 Feb 2010 23:32:21 +0100 (CET)	[thread overview]
Message-ID: <411386679.1336571265927541074.JavaMail.root@zimbra1-e1.priv.proxad.net> (raw)
In-Reply-To: <1948906725.1335581265927254744.JavaMail.root@zimbra1-e1.priv.proxad.net>

>On Thu, 11 Feb 2010 15:20:54 +0100 (CET), racin@free.fr wrote:
>
>> Using a prefix arg to invert search order would conflict with my patch
>> http://notmuchmail.org/pipermail/notmuch/2009/000914.html in which the
>> prefix arg is used to show deleted messages. I don't known which
>> behaviour for prefix patch would be best.
>
>I always understood a prefix arg to invert the original (or provide a
>numeric repetition), but I do not have a wide sample to tell if this is
>how most elisp implements it. 

Gnus uses a C-u prefix to display old messages, for instance. 

Note that the only advantage of the prefix over the toggle is that it makes one call to notmuch search instead of one. I don't think that it matters from a performance point of view, as the second search is always much faster than the second. Maybe we should just reserve the prefix for a later use.

       reply	other threads:[~2010-02-11 22:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1948906725.1335581265927254744.JavaMail.root@zimbra1-e1.priv.proxad.net>
2010-02-11 22:32 ` racin [this message]
2010-02-11 12:19 [PATCH] notmuch.el: Prefix arg inverts the sort order of notmuch-search David Edmondson
2010-02-11 13:42 ` Sebastian Spaeth
2010-02-11 14:01   ` David Edmondson
2010-02-11 14:05     ` Sebastian Spaeth
2010-02-11 14:20       ` racin
2010-02-11 17:23         ` micah anderson

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=411386679.1336571265927541074.JavaMail.root@zimbra1-e1.priv.proxad.net \
    --to=racin@free.fr \
    --cc=micah@riseup.net \
    --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).