From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6B7CD431FB6 for ; Mon, 10 Jun 2013 08:41:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EKncmDP-ffUd for ; Mon, 10 Jun 2013 08:41:33 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 873A6431FAE for ; Mon, 10 Jun 2013 08:41:33 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id DBBF2100044; Mon, 10 Jun 2013 18:41:32 +0300 (EEST) From: Tomi Ollila To: Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: update search sort order help to match code In-Reply-To: <1370282191-4526-1-git-send-email-jani@nikula.org> References: <1370282191-4526-1-git-send-email-jani@nikula.org> User-Agent: Notmuch/0.15.2+181~gfb53171 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 15:41:44 -0000 On Mon, Jun 03 2013, Jani Nikula wrote: > --- LGTM. Tomi > emacs/notmuch-lib.el | 7 ++++++- > emacs/notmuch.el | 13 ++----------- > 2 files changed, 8 insertions(+), 12 deletions(-) > > diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el > index 28f78e0..c43d5a9 100644 > --- a/emacs/notmuch-lib.el > +++ b/emacs/notmuch-lib.el > @@ -68,7 +68,12 @@ > :group 'notmuch) > > (defcustom notmuch-search-oldest-first t > - "Show the oldest mail first when searching." > + "Show the oldest mail first when searching. > + > +This variable defines the default sort order for displaying > +search results. Note that any filtered searches created by > +`notmuch-search-filter' retain the search order of the parent > +search." > :type 'boolean > :group 'notmuch-search) > > diff --git a/emacs/notmuch.el b/emacs/notmuch.el > index 26ba7e7..cc62088 100644 > --- a/emacs/notmuch.el > +++ b/emacs/notmuch.el > @@ -1030,17 +1030,8 @@ depending on the value of `notmuch-poll-script'." > (defun notmuch-search-toggle-order () > "Toggle the current search order. > > -By default, the \"inbox\" view created by `notmuch' is displayed > -in chronological order (oldest thread at the beginning of the > -buffer), while any global searches created by `notmuch-search' > -are displayed in reverse-chronological order (newest thread at > -the beginning of the buffer). > - > -This command toggles the sort order for the current search. > - > -Note that any filtered searches created by > -`notmuch-search-filter' retain the search order of the parent > -search." > +This command toggles the sort order for the current search. The > +default sort order is defined by `notmuch-search-oldest-first'." > (interactive) > (set 'notmuch-search-oldest-first (not notmuch-search-oldest-first)) > (notmuch-search-refresh-view)) > -- > 1.7.10.4 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch