Re: [O] direct link to mails in gmail

2011-10-22 Thread Niels Giesen
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:

Re: [O] direct link to mails in gmail

2011-10-22 Thread Niels Giesen
suvayu ali fatkasuvayu+li...@gmail.com writes: On Sat, Oct 22, 2011 at 13:43, Niels Giesen niels.gie...@gmail.com wrote: suvayu ali fatkasuvayu+li...@gmail.com writes: On Sat, Oct 22, 2011 at 8:48 AM, Niels Giesen niels.gie...@gmail.com wrote: Too bad I have set up Emacs to use emacs-w3m,

Re: [O] direct link to mails in gmail

2011-10-20 Thread Rainer M Krug
On Thu, Oct 20, 2011 at 4:41 AM, Torsten Wagner torsten.wag...@gmail.comwrote: Hi, I just figured out some kind of very interesting possibility. All the personal data and security feelings aside, I use a gmail account since I share it between many different computers. In my org-files, I

Re: [O] direct link to mails in gmail

2011-10-20 Thread Carsten Dominik
On the mac, you can create links using the message-id (this is used in org-mac-message.el) - I would be surprised if GMail did not have a way to find a message with a specific id...? - Carsten On Oct 20, 2011, at 9:30 AM, Sebastien Vauban wrote: Hi, Rainer M Krug wrote: That is really

Re: [O] direct link to mails in gmail

2011-10-20 Thread Rainer M Krug
On Thu, Oct 20, 2011 at 9:30 AM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi, Rainer M Krug wrote: That is really nice - and I used it to link to gmail emails from rtm - but there is one thing youi should be aware of: the link is only valid, if the mail keeps the label. As

Re: [O] direct link to mails in gmail

2011-10-20 Thread Otto Pichlhöfer
As a workaround I use the following setup: ;; === org link abbreviations === (setq org-link-abbrev-alist '((mail . https://mail.google.com/a/mydomain.at/#mbox/%s;) )) When I want to link to a mail message in Gmail I click twice into the address line of firefox which conveniently

Re: [O] direct link to mails in gmail

2011-10-20 Thread Tom
Rainer M Krug r.m.krug at gmail.com writes: That is really nice - and I used it to link to gmail emails from rtm - but there is one thing youi should be aware of: the link is only valid, if the mail keeps the label. As an example: If I copy the link from the inbox, paste it into an org file,

Re: [O] direct link to mails in gmail

2011-10-20 Thread Sebastien Vauban
Hi Carsten, Carsten Dominik wrote: On Oct 20, 2011, at 9:30 AM, Sebastien Vauban wrote: Sad to say it is also true with Gnus: if you move the mail from one folder to another, the link is not valid anymore... I'd dream being able to even get shareable links: be able to make a valid reference