Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-20 Thread David Maus
Carsten Dominik wrote:

I guess it is OK to include message into the default types.  David,
will you do this?

Done.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpch2VRuAoHI.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-20 Thread Bastien
Hi,

Carsten Dominik carsten.domi...@gmail.com writes:

 I guess it is OK to include message into the default types.  

I just added the message link type to `org-link-types'.

Thanks,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-20 Thread Carsten Dominik


On Sep 20, 2010, at 10:54 AM, David Maus wrote:


Carsten Dominik wrote:


I guess it is OK to include message into the default types.  David,
will you do this?


Done.


Thanks

- Carsten


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-20 Thread David Maus
Jules Bean wrote:
On Fri, Sep 17, 2010 at 09:08:00AM +0200, David Maus wrote:
 Manually adding it to org-link-types makes it work correctly. For me,
 anyway.

 True enough.  But what is a message: link?  Can you give an example
 of its usage?

message:87hbhosv8v.wl%dm...@ictsoc.de

or

message://87hbhosv8v.wl%dm...@ictsoc.de

(I'm not sure which is technically correct, they both work here)

is a link, by message-id, to the email I'm replying to.

My hazy memory says this URL schema originates in the first version of
netscape which supported mail+news, it enabled you to link directly to
a particular message (in an email folder or a newsgroup). It was also
how netscape implemented the In-Reply-To and References headers,
which were clickable and took you to the messages concerned.

I can't substantiate that memory, though. The only references I find
on the internet are to OSX Leopard and Apple Mail (which does happen
to be what I'm using it with).

Wikipedia thinks that the correct IANA form is 'mid:', but that
doesn't actually work on my system.

Thanks for the explanation.  The message: link type is indeed not an
registered URI prefix[1], but mid: is.  Anyway, message: is added to
Org's default link types.

Thanks for reporting,
 -- David

[1] http://www.iana.org/assignments/uri-schemes.html
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpRxWmNbAM6l.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-20 Thread Bastien
David Maus dm...@ictsoc.de writes:

 Carsten Dominik wrote:

I guess it is OK to include message into the default types.  David,
will you do this?

 Done.

David won the race by two minutes, well done!

Org developers are like waiters of luruxy restaurant: more than two for
every single customers ;)

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-20 Thread David Maus
Bastien wrote:
David Maus dm...@ictsoc.de writes:

 Carsten Dominik wrote:

I guess it is OK to include message into the default types.  David,
will you do this?

 Done.

David won the race by two minutes, well done!

Org developers are like waiters of luruxy restaurant: more than two for
every single customers ;)

:D

The funny thing is, that both commits appear in the history.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp6TMzp7EMvU.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-17 Thread David Maus
Jules Bean wrote:
The link-type message is one of the ones org handles by default, it
is an explicit case in org-open-at-point, much like http and it is
handled by the following code:

((member type '(message))
  (browse-url (concat type : path)))

However it is not included in the default value of org-link-types:

(defvar org-link-types '(http https ftp mailto file news
  shell elisp doi))

...and therefore it doesn't work when clicked/followed.

Manually adding it to org-link-types makes it work correctly. For me,
anyway.

True enough.  But what is a message: link?  Can you give an example
of its usage?

Best,
  -- David

[1] Cf. http://www.iana.org/assignments/uri-schemes.html
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpLs4vi67Mcc.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-17 Thread Jules Bean
On Fri, Sep 17, 2010 at 09:08:00AM +0200, David Maus wrote:
 Manually adding it to org-link-types makes it work correctly. For me,
 anyway.
 
 True enough.  But what is a message: link?  Can you give an example
 of its usage?

message:87hbhosv8v.wl%dm...@ictsoc.de

or 

message://87hbhosv8v.wl%dm...@ictsoc.de

(I'm not sure which is technically correct, they both work here)

is a link, by message-id, to the email I'm replying to.

My hazy memory says this URL schema originates in the first version of
netscape which supported mail+news, it enabled you to link directly to
a particular message (in an email folder or a newsgroup). It was also
how netscape implemented the In-Reply-To and References headers,
which were clickable and took you to the messages concerned.

I can't substantiate that memory, though. The only references I find
on the internet are to OSX Leopard and Apple Mail (which does happen
to be what I'm using it with).

Wikipedia thinks that the correct IANA form is 'mid:', but that
doesn't actually work on my system.

Jules


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] message not present in default value of org-link-types

2010-09-17 Thread Carsten Dominik


On Sep 17, 2010, at 9:08 AM, David Maus wrote:


Jules Bean wrote:

The link-type message is one of the ones org handles by default, it
is an explicit case in org-open-at-point, much like http and it is
handled by the following code:



((member type '(message))
   (browse-url (concat type : path)))



However it is not included in the default value of org-link-types:



(defvar org-link-types '(http https ftp mailto file news
   shell elisp doi))



...and therefore it doesn't work when clicked/followed.



Manually adding it to org-link-types makes it work correctly. For me,
anyway.


True enough.  But what is a message: link?  Can you give an example
of its usage?


Message-id, on a mac these work with open.

I guess it is OK to include message into the default types.  David,  
will you do this?


Thanks a lot!

- Carsten


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [bug] message not present in default value of org-link-types

2010-09-16 Thread Jules Bean
The link-type message is one of the ones org handles by default, it
is an explicit case in org-open-at-point, much like http and it is
handled by the following code:

((member type '(message))
   (browse-url (concat type : path)))

However it is not included in the default value of org-link-types:

(defvar org-link-types '(http https ftp mailto file news
   shell elisp doi))

...and therefore it doesn't work when clicked/followed.

Manually adding it to org-link-types makes it work correctly. For me,
anyway.

Jules

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode