all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: bug-reference.el: Allow custom handlers for opening URLs
Date: Mon, 4 May 2020 13:52:55 +0700	[thread overview]
Message-ID: <CAP_d_8UBj4GLDdV6TwmVu=2JkEyhqsiqW2PM0RVOPacmkCq56A@mail.gmail.com> (raw)
In-Reply-To: <87d07l3utr.fsf@gnu.org>

On Sun, 3 May 2020 at 22:25, Tassilo Horn <tsdh@gnu.org> wrote:

> Yes, that's probably even better/more generic.  But again, I wouldn't
> want to hard-code that, so I guess we'd want some `browse-url-handlers'
> in browse-url.el doing basically the same as the
> `bug-reference-url-handlers' I proposed, right?
>
> Looking at it, there're already some special handlers for mailto: and
> man: page URLs.  Should I convert those to default entries of the new
> `browse-url-handlers' alist?  (IMHO, yes.)

This is very similar to what applications on mobile systems do (both
Android and iOS). The colloquial name is “deeplinking”. Looking from
one angle, it lets you exchange links to various screens inside an
application as if they were pages on the web. From another angle, it
lets application authors to provide a generic implementation on the
web (so that desktop users are served), and substitute a more capable
implementation via an app.

Basically, an application declares to the system that it is capable of
handling URLs with this or that scheme, and/or URLs referring to this
or that domain. After that, if any application (including the system
web browser) signals an intent to open a URL that matches these
conditions, the system offers the user a choice which handler to use,
with an option to remember this choice for later occasions.



  parent reply	other threads:[~2020-05-04  6:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03  8:50 bug-reference.el: Allow custom handlers for opening URLs Tassilo Horn
2020-05-03 14:44 ` Stefan Monnier
2020-05-03 15:24   ` Tassilo Horn
2020-05-03 20:39     ` Stefan Monnier
2020-05-04  9:41       ` Tassilo Horn
2020-05-04 15:32         ` Stefan Monnier
2020-05-04 17:09           ` Tassilo Horn
2020-05-04 18:54             ` Stefan Monnier
2020-05-05  7:06               ` Tassilo Horn
2020-05-05 13:49                 ` Stefan Monnier
2020-05-05 15:51                   ` Tassilo Horn
2020-05-05 17:44                     ` Stefan Monnier
2020-05-05 19:48                       ` browse-url.el: Custom handlers for certain URLs (was: bug-reference.el: Allow custom handlers for opening URLs) Tassilo Horn
2020-05-04  6:52     ` Yuri Khan [this message]
2020-05-05 19:55 ` bug-reference.el: Allow custom handlers for opening URLs Arash Esbati

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='CAP_d_8UBj4GLDdV6TwmVu=2JkEyhqsiqW2PM0RVOPacmkCq56A@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.