[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] direct link to mails in gmail

From: Niels Giesen
Subject: Re: [O] direct link to mails in gmail
Date: Sat, 22 Oct 2011 14:36:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

suvayu ali <address@hidden> writes:

> On Sat, Oct 22, 2011 at 13:43, Niels Giesen <address@hidden> wrote:
>> suvayu ali <address@hidden> writes:
>>> On Sat, Oct 22, 2011 at 8:48 AM, Niels Giesen <address@hidden> wrote:
>>>> Too bad I have set up Emacs to use emacs-w3m, in which this does not work 
>>>> --
>>>> probably the hash part is handled by client-side JavaScript.
>>> You can try this:
>>> https://mail.google.com/mail/h/
>> That link simply visits the HTML-version of gmail, but does not let one
>> select an article via the URL - as far as I know.
> In that case you can try the "Message text garbled?" or "Show original" link.

Ok. This one seems to do the trick to show the original of a single


And this one can be used for conversation view:


It seems v=c means view=conversation. But this is not enough by and of
itself, s=l is necessary too, whatever that means. Left out, your Inbox
will be presented.

Summing up, if you want to visit gmails articles without using
JavaScript, you may use this:

#+LINK: gmail https://mail.google.com/mail/h/?&v=c&s=l&th=
for HTML-only browsers/settings or
#+LINK: gmail https://mail.google.com/mail/?shva=1#all/
for JS-enabled browsers

or something like

#+begin_src emacs-lisp
   (lambda (link)
      ;; or "https://mail.google.com/mail/?shva=1#all/"; for js-browser
      (concat "https://mail.google.com/mail/h/?&v=c&s=l&th="; link))))

to have the link type globally.

Then use this in an Org file:

[[gmail:1331f3490dff1205][conversation about gmail links]]

This way, if Google decides to change it's url structure, all you have
to do is redefine your link type, instead of all email links.

> Hope that helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]