Subject: bug#74820: [PATCH] browse-url-with-browser-kind: Improve browser function selection

From: Daniel Mendler <[email-masked]>
Date: Tue, 17 Dec 2024 14:57:40 +0100

Eli Zaretskii <[email-masked]> writes:

>> From: Daniel Mendler <[email-masked]>
>> Cc: Eli Zaretskii <[email-masked]>
>> Date: Tue, 17 Dec 2024 12:16:54 +0100
>> 
>> Daniel Mendler <[email-masked]> 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.
>
> I didn't yet have time to review the patch.  Too little free time,
> sorry.  Will do soon.

Thanks. Take your time. There is no urgency regarding this patch.

Daniel