Hacker News new | ask | show | jobs
by _ofdw 2915 days ago
I seem to be in the minority of HN users that actually like Gmail and strongly dislike things like mutt or pine.

Nothing else syncs to my phone in a manner that "just works" and doesn't require excessive fiddling, or using k9mail which appears to quite simply not work at all.

So with that said, how does a person use git via email with the Gmail ui?

4 comments

I use gmail for code review on a "send email patches" project (QEMU), and what I do is:

* for sending patches, use git-send-email from the command line

* for reading, use a greasemonkey script to make gmail use a fixed width font

* when I need to apply a patchset locally I use the "patches" tool https://github.com/stefanha/patches

I also have a couple of gmail "canned responses" set up for things like "write my reviewed-by tag into my email reply".

It's not fantastically ergonomic, but it's good enough that I haven't really felt the need to use something other than gmail web interface.

I have the fixed width font, but how do you deal with the 78 columns limit? I guess you can have GMail auto-break it for you as it does when sending as text, but I think that ends up looking horrible over manually selected break points. But I'm really lacking some vertical bar to hint me where the limit is.
I have my gmail signature set to an ascii art 'ruler', so I know where column 75/80 are while I'm writing, and then I delete it when I'm done (and I do manual line breaks and if necessary manual rewrap of paragraphs)... Clunky but it works.
Thanks!
> Nothing else syncs to my phone in a manner that "just works" and doesn't require excessive fiddling, or using k9mail which appears to quite simply not work at all.

Before I switched to iOS devices, I used k9mail as I was looking for an email client that did "push" IMAP as I've self-hosted forever and a day. From that experience I'd say that k9mail is more a symptom of the Android ecosystem than an indication that Gmail is just that good. k9 worked for me, but was finnicky if I remember.

On iOS IMAP is very much a second-class citizen. But... with the stock mail client IMAP has been more reliable than Exchange.

> So with that said, how does a person use git via email with the Gmail ui?

Unsure, but if you can you can definitely use Gmail with other clients (for the time being).

I have several non-gmail email addresses and I tried to use k9mail for all of them but eventually just gave up because I'd get that 'sync disabled' error and find out I'd missed out on a week's worth of messages.

k9mail is a dumpster fire in my experience.

You can still use the Gmail interface on your phone, of course. You don't have to choose between one or the other but use the tools interchangably with the same Gmail account.

Generate an app-specific token in Gmail and use it to configure git for sending mail. For receiving and commenting on patches, you might be able beat the Gmail interface into submission but it's not going to be convenient, if only for the browser restrictions on calling external commands (like git). Maybe with a browser extension.

In any case, you can use a real mail client in parallel to Gmail (the UI) and use whatever is the most suitable tool for the task at hand.

Meh, cell phones are just glorified tracking devices anyway.