From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niels Giesen Subject: Re: direct link to mails in gmail Date: Sat, 22 Oct 2011 08:48:30 +0200 Message-ID: References: <4E9F8A54.5070007@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00163646bf88e8cf1e04afdd9398 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHVNg-0002M9-S6 for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 02:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHVNf-0007QJ-N6 for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 02:48:32 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:45319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHVNf-0007PX-IU for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 02:48:31 -0400 Received: by qyk29 with SMTP id 29so1253582qyk.0 for ; Fri, 21 Oct 2011 23:48:31 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tom Cc: emacs-orgmode@gnu.org --00163646bf88e8cf1e04afdd9398 Content-Type: text/plain; charset=UTF-8 > > Since any mail can be found under the All label by definition the > simplest solution is extracting the message id from the end of > the current url and then creating a new url pointing to All. > This URL should always work unless the mail is deleted: > > https://mail.google.com/mail/?shva=1#all/ > > > So this would work too: #+LINK: gmail https://mail.google.com/mail/?shva=1#all/ [[gmail:1331f3490dff1205][conversation about gmail links]] 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. -- http://pft.github.com --00163646bf88e8cf1e04afdd9398 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Since any mail can be found under the All label by definition the
simplest solution is extracting the message id from the end of
the current url and then creating a new url pointing to All.
This URL should always work unless the mail is deleted:

h= ttps://mail.google.com/mail/?shva=3D1#all/<msgid>


So this would work too:


[[gmail:1= 331f3490dff1205][conversation about gmail links]]

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 Java= Script.


--
http://pft.github.com
--00163646bf88e8cf1e04afdd9398--