* set mu4e-search-results-limit default to 1000, document this

This commit is contained in:
djcb
2012-04-07 19:08:33 +03:00
parent 9a59e3d8a1
commit 1b451b754a
2 changed files with 8 additions and 7 deletions

View File

@ -96,7 +96,7 @@ in :from-or-to headers. By default, match nothing.")
"Date format to use in the message view, in the format of "Date format to use in the message view, in the format of
`format-time-string'.") `format-time-string'.")
(defvar mu4e-search-results-limit 500 (defvar mu4e-search-results-limit 1000
"Maximum number of search results (or -1 for unlimited). Since "Maximum number of search results (or -1 for unlimited). Since
limiting search results speeds up searches significantly, it's limiting search results speeds up searches significantly, it's
useful to limit this. Note, to ignore the limit, use a prefix useful to limit this. Note, to ignore the limit, use a prefix

View File

@ -705,7 +705,7 @@ On Mon 16 Jan 2012 10:18:47 AM EET, Wally the Walrus wrote:
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
@end verbatim @end verbatim
Since @t{mu4e} uses Gnu's message editor, for documentation Since @t{mu4e} uses @t{gnu}'s message editor, for documentation
@inforef{Message}. Also, @pxref{Sending mail}. There are many key-bindings @inforef{Message}. Also, @pxref{Sending mail}. There are many key-bindings
available, here are some of the essential ones (you can use the menu to find available, here are some of the essential ones (you can use the menu to find
more): more):
@ -731,14 +731,15 @@ are executing a search query for messages that happen to have the property of
being in a certain folder. being in a certain folder.
Queries normally return only up to @code{mu4e-search-results-limit} (which Queries normally return only up to @code{mu4e-search-results-limit} (which
defaults to 500) results. You get @emph{all} results when you prefix your defaults to 1000) results. You get @emph{all} results when you prefix your
search commands (such as with @code{mu4e-search}, @code{mu4e-search-bookmark}, search commands (such as with @code{mu4e-search}, @code{mu4e-search-bookmark},
@code{mu4e-search-bookmark-edit-first} and @code{mu4e-jump-to-maildir} with @code{mu4e-search-bookmark-edit-first} and @code{mu4e-jump-to-maildir} with
@kbd{C-u}. @kbd{C-u}.
The reason for limiting the number of results in the query is that emacs may This limit was introduced in earlier versions of @t{mu4e}, where @t{emacs}
become a bit slow when displaying many results, and in many cases could become slow when there were many matches. This is no longer the case
@code{mu4e-search-results-limit} should be enough. (post @t{mu4e} version 0.9.8.3), but since it is still faster to limit the
number of matches, the limit remains.
@menu @menu
* Queries:: * Queries::