From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74781: [PATCH] Add `browse-url-qutebrowser' Date: Wed, 11 Dec 2024 16:36:23 +0100 Message-ID: <87zfl2b5ag.fsf@daniel-mendler.de> References: <87msh21z0i.fsf@daniel-mendler.de> <87ed2e8vzv.fsf@gmail.com> <87jzc61tc3.fsf@daniel-mendler.de> <87a5d28rsp.fsf@gmail.com> <87a5d2wl9p.fsf@daniel-mendler.de> <8634iu44mv.fsf@gnu.org> Reply-To: Daniel Mendler Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: rpluim@gmail.com, 74781@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 16:37:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tLOm4-0001F2-1n for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 16:37:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLOls-0007l4-7q; Wed, 11 Dec 2024 10:37:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLOlq-0007kc-RF for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLOlq-0001H9-51 for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=N7n+aP3/mgyrnJ0WdEyDbTYhdUH4RX+e+tMM/4NxgQY=; b=A/4g3MKQ8u89LpXaW7L7BLDoEsbKf1t++BabXrdXIfbSAuJ8QixO55veOD6koH5QIGzUwcxs65I9sB9LY5X0SEaV63fSE5bWT1S30Qy7tqBs/1fOvXIoLWsAD9cgXSHYo2n9kFytTdLPTF53lnZinMqWV4zZ1GV79PGnTRp/iHwuJ54iUyyH6FDrqnQUDkKUGYUEMz9N1EdGePDjnrvDuqRUXpeIuqh1LR4hmjpJlIwiMPyQXEaFgLCZPe99NEqdCMM0enSFAqkQTxEeB7UtEu6qciz6U5cwWoIfd7tY57xQJnMCSAxCilPtt1bbS/Qm4Lvg9W47G7Q+bqspDfNB/A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLOlp-0007nh-Sz for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 15:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74781 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74781-submit@debbugs.gnu.org id=B74781.173393139429937 (code B ref 74781); Wed, 11 Dec 2024 15:37:01 +0000 Original-Received: (at 74781) by debbugs.gnu.org; 11 Dec 2024 15:36:34 +0000 Original-Received: from localhost ([127.0.0.1]:35750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLOlO-0007ml-D3 for submit@debbugs.gnu.org; Wed, 11 Dec 2024 10:36:34 -0500 Original-Received: from server.qxqx.de ([49.12.34.165]:55039 helo=mail.qxqx.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLOlK-0007mN-Rp for 74781@debbugs.gnu.org; Wed, 11 Dec 2024 10:36:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=N7n+aP3/mgyrnJ0WdEyDbTYhdUH4RX+e+tMM/4NxgQY=; b=QMbdmVbJV748xkme/KDrgME+FV CGECB3lK0KQGmvyAhpU69iZin17S8cAdxOMHMR9oq0eRitEUhTJaSrlGPkIWjIz/shMnBF2FtQUQ6 VhkDEclMONz4RHKmwFCPW09c7b7ZhysfCFPgP//aP1RYVDbls3B1tN5asD7f/BdIkgSA=; In-Reply-To: <8634iu44mv.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 11 Dec 2024 17:32:24 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296838 Archived-At: Eli Zaretskii writes: >> Cc: 74781@debbugs.gnu.org >> Date: Wed, 11 Dec 2024 11:45:38 +0100 >> From: Daniel Mendler via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> I would be pragmatic and keep the (getenv "XDG_RUNTIME_DIR"), instead of >> replacing it by this: >> >> (declare-function xdg-runtime-dir "xdg") >> (require 'xdg) >> (xdg-runtime-dir) > > What if some day we decide that XDG_RUNTIME_DIR can fall back on, say, > ~/.config/runtime/ ? > > xdg.el exists to let us avoid leaking abstractions, so I think we > should use it even if the function is a trivial wrapper around getenv. Sure, this could happen in the future. I've changed this in the latest patch which I've sent. Daniel