<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Raised By Turtles&#187; search</title>
	<atom:link href="http://raisedbyturtles.org/tag/search/feed/" rel="self" type="application/rss+xml" />
	<link>http://raisedbyturtles.org</link>
	<description>None of the News that's Fit to Print</description>
	<lastBuildDate>Wed, 09 May 2012 01:51:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Viewing Gmail Messages with No Label</title>
		<link>http://raisedbyturtles.org/view-unlabeled-gmail/</link>
		<comments>http://raisedbyturtles.org/view-unlabeled-gmail/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 17:30:10 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Software and Computing]]></category>
		<category><![CDATA[Web Fun]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[unlabelled]]></category>

		<guid isPermaLink="false">http://raisedbyturtles.org/?p=189</guid>
		<description><![CDATA[Finding all your unlabeled Gmail messages can be a chore. If you find yourself wanting to do that regularly, here's how to build a bookmark for your link bar so you can have single-click access to all Gmail messages without a label.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been experimenting more with Gmail after my <a href="http://raisedbyturtles.org/zimbra-email-bliss/">disappointing Zimbra experience</a> (I haven&#8217;t totally written Zimbra off though, I&#8217;m just letting it mature in the cask for a while &#8211; the ultimate winner will be the first to allow offline use of Contacts and provide reliable contact synchronization). Anyway, aside from Gmail not having a decent <a href="http://raisedbyturtles.org/gmail-delete-next/">way to delete a message without get kicked back to the message list</a> (FIXED), there is also the annoying fact that in Gmail there&#8217;s <strong>no button to just view messages with no label</strong>. In their wisdom, the Google people no doubt think that I&#8217;ll be using their wonderful search engine to just search and find the messages I want and locate the relevant message. But as the great Donald Rumsfeld said, there are known unknowns (I can search for those) and unknown unknowns like the credit card bill that I totally forgot about and which I could search for if I knew I had forgotten about it, but then I wouldn&#8217;t have forgotten about it and wouldn&#8217;t need to search for it now would I?</p>
<h2>What I Do Now (2011)</h2>
<p>Before I tell you how to find unlabelled email, I have to say that I eventually just gave up. It was too much of a hassle to keep my shortcut updated as I changed labels. What I do now is try to be diligent about adding important items to my filters. If it&#8217;s a bill or an essential business email, I filter it to add a label that makes sense. So everything sent to the email address for my <a href="http://yosemitehouse.com">vacation rental in Yosemite</a> gets copied and forwarded to my GMail account. It also gets a label &#8220;Rental&#8221;. When I&#8217;m in a hurry and think I have to catch up on rental business, I just view email with the Rental label. Once it&#8217;s processed, it goes into one of the nested labels under Rental (Awaiting Reply, Booked, Non-Customer, Former Customer, Admin). That makes a sort of mini inbox for the rental that I can deal with effectively, without getting sidetracked by notifications from Facebook. Then when I need to find something, I just use search. Yes, I have been <a href="http://en.wikipedia.org/wiki/Borg_%28Star_Trek%29#Assimilation">assimilated</a> by the Gorg!</p>
<h2>Shortcut for Finding Unlabelled Emails</h2>
<p>So the way you find emails that have fallen through the cracks in Gmail is simple, but oh so cumbersome. You have to do a negative search for every label you use. That is, you look for messages not labelled Labe1 and not labelled Label2 and so on. There&#8217;s no way around this.</p>
<p>If you do this more than once, typing in all your labels in the arcane syntax Gmail uses gets old. So what I&#8217;ve done is simply create a shortcut, which you can do quite easily and it works up until you add a new label, but then it&#8217;s just a simple matter of editing the bookmark.</p>
<p>So first, you have a <strong>full syntax</strong> and a <strong>compact syntax</strong> and, as far as I can tell, the compact syntax does not work with multi-word labels. So if you have Gmail labels with spaces in them, you have to use the full syntax and <strong>substitute hyphens for spaces</strong>.</p>
<p>So let&#8217;s say you have the following labels:</p>
<ol>
<li>Label1</li>
<li>Label2</li>
<li>Label Three</li>
<li>Label Four</li>
</ol>
<p>First, we want to exclude all messages that have those labels. To exclude a labeled message from your search, you use the <strong>-label:</strong> operator.</p>
<p>For the single-word labels, we&#8217;ll use the short syntax. This allows you to group terms within curly braces without repeating the &#8220;-label:&#8221; qualifier. So it looks like this in your Gmail search box</p>
<blockquote><p>
-label:{Label1 Label2}
</p></blockquote>
<p>Simple as that. Now for the multi-word labels, in theory as I read the instructions, I merely need to add quotes around the terms, and they should work within the curly braces. Not so for me. If you create a filter and look at the test search, that&#8217;s not how it does it either. So based on that, what I found worked for Label Three and Label Four was:</p>
<blockquote><p>
-label:Label-Three -label:Label-Four
</p></blockquote>
<p>So the entire search, with both single-word labels and multi-word labels, looks like this</p>
<blockquote><p>
-label:{Label1 Label2} -label:Label-Three -label:Label-Four
</p></blockquote>
<p>Now, that will create a URL that looks like this</p>
<blockquote>
<p>http://mail.google.com/mail/#search/-label%3A%7BLabel1+Label2%7D+-label%3ALabel-Three+-label%3ALabel-Four</p>
</blockquote>
<p>Now you can save this as a bookmark or shortcut and instantly access your unlabeled Gmail messages. Sometimes Gmail will add a <strong>zx parameter</strong> to your URL that looks like <strong>zx=afeoasdxou3swf</strong> that is just a random string so that if your ISP is caching data, it will see this as a unique URL and won&#8217;t give you cached data for Gmail. Since this effectively creates a single-use URL, if that appears in your URL when you do your search, you should edit it out before saving the bookmark.</p>
<p>Note that if a message has two labels and you are only excluding one of those, the message will still show up in your search. So if you have something labeled Label1 and Label5, and you use the search above, it will still show up in your results.</p>
<p>Also, sometimes a conversation that is labeled shows up unless you relabel the entire conversation, because one message is unlabeled or is still in the Inbox or whatever. If you select the whole conversation in the list view and label it, that takes care of that issue.</p>
<h2>Labelling Your Backlog</h2>
<p>As per Karen&#8217;s suggestion below (see comments), if you&#8217;re trying to identify your unlabelled email just once and go label your back log, then you can view All, apply a label like &#8220;NoLabel&#8221; to it (or move them all to the Inbox as Karen suggests, but my Inbox is always overfull to start with and it stresses me out to much to put processed mail <em>back</em> in the Inbox… makes me feel like I&#8217;m making negative progress!). </p>
<p>Now go into ever other label folder, select all and remove the &#8220;NoLabel&#8221; label. Now if you go to the NoLabel folder, you have all your unlabelled email. If you&#8217;re going to do this on any kind of regular basis, though, you&#8217;ll want a bookmark as described above, otherwise this will be pretty time-consuming.</p>
<h2>Dealing with Child Labels and Labels with Special Characters</h2>
<p>James asks, what happens if you have special characters like underscores or slashes in your Gmail labels? If you are using the Gmail sublabel feature, you will automatically have slashes, because Gmail separates parent and child labels with slashes (look at Gmail in the Basic HTML mode and you can readily see this). First off, most special characters are just entered as such. Slashes must be entered as hyphens. </p>
<p>So let&#8217;s say you have the following setup:</p>
<ul>
<li>Main
<ul>
<li>test1
<ul>
<li>test2</li>
</ul>
</li>
<li>test3/test4</li>
<li>test*,:-test-./test</li>
</ul>
</li>
</ul>
<p>In that case, your search syntax will be, respectively</p>
<ul>
<li>-label:main</li>
<li>-label:main-test1-test2</li>
<li>-label:main-test3-test4</li>
<li>-label:main-test*,:-test-.-test</li>
</ul>
<p>Note that a label called &#8220;test3/test4&#8243; which is a <em>single</em> label, behaves exactly the same as test2 which is a <em>child</em> label of test1. And for anything except slashes and spaces, which are both replaced by hyphens, you just use the character as it appears in the label. That&#8217;s even true for the colon, even though it&#8217;s part of the search syntax.</p>
]]></content:encoded>
			<wfw:commentRss>http://raisedbyturtles.org/view-unlabeled-gmail/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
	</channel>
</rss>

