all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 74820@debbugs.gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: bug#74820: [PATCH] browse-url-with-browser-kind: Improve browser function selection
Date: Tue, 17 Dec 2024 12:16:54 +0100	[thread overview]
Message-ID: <87jzby1rvd.fsf@daniel-mendler.de> (raw)
In-Reply-To: <87pllx9lhd.fsf@daniel-mendler.de> (Daniel Mendler's message of "Thu, 12 Dec 2024 12:41:50 +0100")

Daniel Mendler <mail@daniel-mendler.de> writes:

> Tags: patch
>
> In order to find an appropriate browser function for the given
> kind, first the browser handler lists are consulted.  If no
> handler is found, the `browse-url-browser-function',
> `browse-url-secondary-browser-function`,
> `browse-url-default-browser' and `eww' are tried in that order
> until a browser function with a matching kind is found.  This
> way the user customization of `browse-url-browser-function' and
> `browse-url-secondary-browser-function` is respected by
> `browse-url-with-browser-kind'.

Eli, do you have comments on this patch? I think it improves the
behavior of `browse-url-with-browser-kind' in relation to our recent
changes to `browse-url-browser-function' and `browse-url-secondary-browser-function',
which users can set to either internal or external browsers. Thanks.

Daniel





  reply	other threads:[~2024-12-17 11:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-12 11:41 bug#74820: [PATCH] browse-url-with-browser-kind: Improve browser function selection Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-17 11:16 ` Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-12-17 13:49   ` Eli Zaretskii
2024-12-17 13:57     ` Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-21  9:34 ` Eli Zaretskii

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=87jzby1rvd.fsf@daniel-mendler.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=74820@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mail@daniel-mendler.de \
    /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.