emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Niels Giesen <niels.giesen@gmail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org, Tom <adatgyujto@gmail.com>
Subject: Re: direct link to mails in gmail
Date: Sat, 22 Oct 2011 14:36:57 +0200	[thread overview]
Message-ID: <871uu5b3ti.fsf@gmail.com> (raw)
In-Reply-To: <CAMXnza3FmfjxV2RV2nxyhHHuKYyWHh4nr0hkocUFedRiy7hp0Q@mail.gmail.com> (suvayu ali's message of "Sat, 22 Oct 2011 13:57:49 +0200")

suvayu ali <fatkasuvayu+linux@gmail.com> writes:

> On Sat, Oct 22, 2011 at 13:43, Niels Giesen <niels.giesen@gmail.com> wrote:
>> suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>>> On Sat, Oct 22, 2011 at 8:48 AM, Niels Giesen <niels.giesen@gmail.com> 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	other threads:[~2011-10-22 12:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20  2:41 direct link to mails in gmail Torsten Wagner
2011-10-20  7:06 ` Rainer M Krug
2011-10-20  7:30   ` Sebastien Vauban
2011-10-20  7:33     ` Carsten Dominik
2011-10-20 13:54       ` Sebastien Vauban
2011-10-20  7:42     ` Rainer M Krug
2011-10-20 12:56       ` Otto Pichlhöfer
2011-10-20 13:41   ` Tom
2011-10-22  6:48     ` Niels Giesen
2011-10-22 10:01       ` suvayu ali
2011-10-22 11:43         ` Niels Giesen
2011-10-22 11:57           ` suvayu ali
2011-10-22 12:36             ` Niels Giesen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871uu5b3ti.fsf@gmail.com \
    --to=niels.giesen@gmail.com \
    --cc=adatgyujto@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).