Open Bug 537915 Opened 15 years ago Updated 2 years ago

need meta-commands for improving Search All Messages experience

Categories

(Thunderbird :: Search, enhancement)

enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: ddv36a78, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Build Identifier: for searching into emails, TB gives an input bar for entering searched items. but this entry bar gives limited flexibility, limited configuration capabilities. Reproducible: Always I propose TB search bar to enable user-defined metacommands and to search according to that commands. Let's take an example. I want to search only into today's emails about a man named Marc. I want to enter into the search bar the following string: "Marc +today". I want to be able to define "today" keyword into some search option panel through the following "msg.date = getdate($now)" or simpler/nicer "date = getdate($now)" where $now is a predefined variable and "getdate()" a built-in function. This kind of flexibility would enable a much greater search experience. Let's imagine I want to search only into recent emails. I want to enter into the search bar the following string: "Marc +recent". Or for searching into very recent emails only: "Marc +veryrecent" I want "recent" or "veryrecent" keywords to be user-defined. And the configuration capabilities I propose above enables such a flexibility. Let's define "recent" as "getdate($now) - msg.date < getweekduration(1)" or simpler/nicer: "getdate($now) - date < getweekduration(1)" and if the variable "1week" is defined : "getdate($now) - date < 1week" A lot of people are aware of small languages like VB-like, so I have little doubt users will find this feature usable and quicky, very useful. It would improve quite a lot the search bar.
Choosing the "+" symbol may be misleading due to Google use of such symbol for Google search engine. May be the "%" symbol, into, for example, "Marc %recent", should be a better match.
are you proposing this for for the "search all messages" mode of search, or for filters?
I am suggesting this enhancement for the "search all messages" mode of search.
See Also: → 596212
Summary: need meta-commands for improving search experience → need meta-commands for improving Search All Messages experience
https://bugzilla.mozilla.org/show_bug.cgi?id=556292 was closed as a duplicate, but the plea there is "It would be helpful to have some documentation for the syntax of the "Search all messages" option." bug 537915 isn't that at all. The existing global search functionality does not have documentation for its features and syntax that I can find at https://support.mozilla.org/en-US/kb/global-search and similar. Documentation for Global Search Syntax would be really useful. Should there be a separate bug for that?
See Also: → 1591324
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.