Hacker News new | ask | show | jobs
by scottyallen 4936 days ago
I do this too:) I've aliased this to the keyword "sendmail" in chrome by adding it as a search engine in preferences, so I can just type "sendmail" or "sendmail email@example.com" in the url bar.

However, an even higher win for me is aliasing search in the same way. I used to find that when I went into my email to look for a particular piece of info I would get so distracted by my inbox that I never ended up completing the task I was originally working on. I've aliased https://mail.google.com/mail/u/0/?shva=1#search/<searcht...; to "ms <searchterm>", such that I can type "ms paypal" in my url bar and get all my recent paypal receipts without having to be tempted by my inbox first:)

My only frustration is that gmail is still so damn slow to load. I know they've spent a lot of time trying to make this fast (I spent about 2 years working on reducing latency on Google search), but they're still so far away from where they could be.

I really, really wish gmail loaded the html first, showing my inbox or search or whatever, and then loaded and attached all the javascript later. This could result in search level latencies for the initial load of data for the user to start looking at, even if it took a while longer to be fully interactive.

3 comments

Very nice re: the search alias. Thanks for sharing that -- it was the next thing I was going to try to figure out. I just wish there was a way to get a Gmail search result without the sidebar with the number of unread emails in your inbox... To look or not to look... :-)
I think you can turn off that that unread number somewhere in the options. It still shows up in bold if there are unread emails, but it's a partial solution at least.
Thanks for the tip.

Here is an Emacs command that does the same thing that your Chrome keyword does:

  (defun gmail-search (string) (interactive "sQuery to submit to Gmail: ") (browse-url (concat "https://mail.google.com/mail/u/0/?shva=1#search/" (url-hexify-string string))))
Inbox preview used to be a labs feature that loaded a quick HTML view of your inbox as the interface rendered. It satisfied your last wish, but sadly they removed it in the new gmail.