emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] "message" not present in default value of org-link-types
@ 2010-09-16 15:21 Jules Bean
  2010-09-17  7:08 ` David Maus
  0 siblings, 1 reply; 10+ messages in thread
From: Jules Bean @ 2010-09-16 15:21 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-16 15:21 [bug] "message" not present in default value of org-link-types Jules Bean
@ 2010-09-17  7:08 ` David Maus
  2010-09-17  8:29   ` Jules Bean
  2010-09-17 11:27   ` Carsten Dominik
  0 siblings, 2 replies; 10+ messages in thread
From: David Maus @ 2010-09-17  7:08 UTC (permalink / raw)
  To: Jules Bean; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]

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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-17  7:08 ` David Maus
@ 2010-09-17  8:29   ` Jules Bean
  2010-09-20  8:58     ` David Maus
  2010-09-17 11:27   ` Carsten Dominik
  1 sibling, 1 reply; 10+ messages in thread
From: Jules Bean @ 2010-09-17  8:29 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

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%dmaus@ictsoc.de>

or 

message://<87hbhosv8v.wl%dmaus@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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-17  7:08 ` David Maus
  2010-09-17  8:29   ` Jules Bean
@ 2010-09-17 11:27   ` Carsten Dominik
  2010-09-20  8:54     ` David Maus
  2010-09-20  8:55     ` Bastien
  1 sibling, 2 replies; 10+ messages in thread
From: Carsten Dominik @ 2010-09-17 11:27 UTC (permalink / raw)
  To: David Maus; +Cc: Jules Bean, emacs-orgmode


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-17 11:27   ` Carsten Dominik
@ 2010-09-20  8:54     ` David Maus
  2010-09-20  8:55       ` Carsten Dominik
  2010-09-20  9:08       ` Bastien
  2010-09-20  8:55     ` Bastien
  1 sibling, 2 replies; 10+ messages in thread
From: David Maus @ 2010-09-20  8:54 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Jules Bean, David Maus, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 226 bytes --]

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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-20  8:54     ` David Maus
@ 2010-09-20  8:55       ` Carsten Dominik
  2010-09-20  9:08       ` Bastien
  1 sibling, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2010-09-20  8:55 UTC (permalink / raw)
  To: David Maus; +Cc: Jules Bean, emacs-orgmode


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-17 11:27   ` Carsten Dominik
  2010-09-20  8:54     ` David Maus
@ 2010-09-20  8:55     ` Bastien
  1 sibling, 0 replies; 10+ messages in thread
From: Bastien @ 2010-09-20  8:55 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Jules Bean, David Maus, emacs-orgmode

Hi,

Carsten Dominik <carsten.dominik@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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-17  8:29   ` Jules Bean
@ 2010-09-20  8:58     ` David Maus
  0 siblings, 0 replies; 10+ messages in thread
From: David Maus @ 2010-09-20  8:58 UTC (permalink / raw)
  To: Jules Bean; +Cc: David Maus, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1437 bytes --]

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%dmaus@ictsoc.de>

>or

>message://<87hbhosv8v.wl%dmaus@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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-20  8:54     ` David Maus
  2010-09-20  8:55       ` Carsten Dominik
@ 2010-09-20  9:08       ` Bastien
  2010-09-20 11:35         ` David Maus
  1 sibling, 1 reply; 10+ messages in thread
From: Bastien @ 2010-09-20  9:08 UTC (permalink / raw)
  To: David Maus; +Cc: Jules Bean, emacs-orgmode, Carsten Dominik

David Maus <dmaus@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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [bug] "message" not present in default value of org-link-types
  2010-09-20  9:08       ` Bastien
@ 2010-09-20 11:35         ` David Maus
  0 siblings, 0 replies; 10+ messages in thread
From: David Maus @ 2010-09-20 11:35 UTC (permalink / raw)
  To: Bastien; +Cc: Jules Bean, David Maus, emacs-orgmode, Carsten Dominik


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

Bastien wrote:
>David Maus <dmaus@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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-09-20 11:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16 15:21 [bug] "message" not present in default value of org-link-types Jules Bean
2010-09-17  7:08 ` David Maus
2010-09-17  8:29   ` Jules Bean
2010-09-20  8:58     ` David Maus
2010-09-17 11:27   ` Carsten Dominik
2010-09-20  8:54     ` David Maus
2010-09-20  8:55       ` Carsten Dominik
2010-09-20  9:08       ` Bastien
2010-09-20 11:35         ` David Maus
2010-09-20  8:55     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).