all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: 陈志伟 <chenzhiwei03@kuaishou.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Any way to tell Emacs how to open specific URIs?
Date: Mon, 23 Nov 2020 11:18:23 +0300	[thread overview]
Message-ID: <X7twTwP9iBYKYOT6@protected.rcdrun.com> (raw)
In-Reply-To: <F9A33805-E280-45C8-8E56-9C365B16D7D3@kuaishou.com>

* 陈志伟 <chenzhiwei03@kuaishou.com> [2020-11-23 05:42]:
> > I strongly need a way to define how to open specific URIs as shown
> > here and to define some of my own. This will expand the program
> > capabilities I am making.
> > 
> > Is there any current way to define how to open these URIs?
> > 
> > Is there any plan to define those URIs how to open them?
> 
> 
> Are `org-insert-link-gloal’ and `org-open-at-point-global’ suitable for your cases?

Thank you but no.

In any buffer I would like to use goto-address-mode which in turn uses
those defined URLs. I would not like converting any buffer into org
buffer and also disturbing the view with Org links [[][]]

Buffer can be plain text, it could be markdown, it could be any other
type of outline, also Org file. Org file would not contain Org links
but directly shown links as I cited them like

ftp://example.com

When goto-address-mode is turned on those links become visible and can
be activated. But now they are all activated by eww.

I wish to be able to define to activate ftp:// and other links in
goto-address-mode to either use some Emacs function or maybe to invoke
external program.

I think mid: is for message IDs, I need those features of customization.




  parent reply	other threads:[~2020-11-23  8:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-22 17:02 Any way to tell Emacs how to open specific URIs? Jean Louis
2020-11-23  2:41 ` 陈志伟
2020-11-23  3:23   ` T.V Raman
2020-11-23  3:57     ` Akira Kyle
2020-11-23 15:46       ` T.V Raman
2020-11-23  8:18   ` Jean Louis [this message]
2020-11-27 15:41   ` [solved] - " Jean Louis
2020-11-27 20:56 ` Tassilo Horn
2020-11-28  0:44   ` Jean Louis
2020-11-28 20:03     ` Tassilo Horn
2020-11-28 21:24       ` Jean Louis
2020-12-01 20:13         ` Tassilo Horn
2020-12-02 17:03           ` Jean Louis
2020-12-02 23:49             ` Akira Kyle
2020-12-03  6:49               ` Jean Louis
2020-12-02 17:40         ` Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X7twTwP9iBYKYOT6@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=chenzhiwei03@kuaishou.com \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.