From: David Maus <dmaus@ictsoc.de>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug? org.el:org-open-at-point
Date: Sun, 05 Sep 2010 19:57:32 +0200 [thread overview]
Message-ID: <87aanwm5tf.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <87k4n0kskq.fsf@Rainer.invalid>
[-- Attachment #1.1: Type: text/plain, Size: 1311 bytes --]
Achim Gratz wrote:
>It seems like news: links are always sent to the browser and this
>definition is hiding a later invocation of GNUS:
Indeed, this is an inconsistency. The right way would be for org-gnus
(and other mail readers, like org-wl) to register the link type.
>---------------
> ((member type '("http" "https" "ftp" "news"))
> (browse-url (concat type ":" (org-link-escape
> path org-link-escape-chars-browser))))
> ;;;
> ;;; some more lines
> ;;;
> ((string= type "news")
> (require 'org-gnus)
> (org-gnus-follow-link path))
>---------------
>Additionally, if I take out "news" from the first bit of code and follow
>a news: link, the code that supposedly opens news links in GNUS doesn't
>seem to work on my system (gmane is a foreign server in GNUS here, but
>that doesn't seem to be the reason).
What syntax did you try? IIRC `org-gnus-follow-link' expects a /Gnus/
link in path, but RFC5538 ("The 'news' and 'nntp' URI Schemes ")[1] has a
different definition that must be normalized to a org-gnus.link.
I'll see to provide a patch to org-gnus.el to handle news: and nntp:
links according to the specs.
Best,
-- David
[1] http://tools.ietf.org/html/rfc5538
--
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
next prev parent reply other threads:[~2010-09-05 17:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-05 17:28 Bug? org.el:org-open-at-point Achim Gratz
2010-09-05 17:57 ` David Maus [this message]
2010-09-05 18:48 ` Achim Gratz
2010-09-20 20:08 ` David Maus
2010-09-21 6:44 ` Achim Gratz
2010-09-22 7:28 ` David Maus
2010-09-22 16:44 ` Achim Gratz
2010-09-22 17:41 ` David Maus
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=87aanwm5tf.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
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).