文章來自
Google Operating System在gmail中每個內置文件夾(視圖)都是一個標簽.所以如果你想查看所有收件箱中的未讀郵件,你可以這樣使用 label:inbox label:unread
當然你可以聯合使用這些內置標簽和你自己的標簽形成一個有趣的查詢.但是很快你就發現了這些查詢是那么得長,還那么難寫.不過實際上你不需要這樣做.你可以使用l來代替label.這樣前面那個查詢可以這樣寫 l:inbox l:unread
如果你認為這個還是很長,那么Gmail提供了這個特殊標簽的快捷方式
^b chats ^f send mail ^i inbox ^k trash ^r draft ^s spam
^t starred messages ^u unread mail
這樣我們開始寫的查詢語句就可以這樣寫了l:^i l:^u.那么如果查詢所有不在收件箱的未讀郵件呢?啊哈,你可能想到了就是-l:^i l:^u.就是在不的標簽前面加上一個-號就行了
相信這篇文章對你有益
英文原文
In Gmail every built-in view (e.g.: inbox, trash, read mail)
is actually a label. So if you want to view all the unread messages from the inbox, you could search for: label:inbox label:unread.
You
can combine these built-in labels with your labels and create
interesting queries. But these queries can become long and hard to
write. Fortunately, you can replace label with l and everything with
still work fine. The previous query will become: l:inbox l:unread.
If you still think the query is too long, Gmail has shortcuts for the special labels.
^b chats ^f sent mail ^i inbox ^k trash ^r draft
^s spam ^t starred messages ^u unread mail
That
means our query could become: l:^i l:^u. What about all the unread
messages that aren't in the inbox? Search for: -l:^i l:^u.