From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74781: [PATCH] Add `browse-url-qutebrowser' Date: Wed, 11 Dec 2024 17:32:24 +0200 Message-ID: <8634iu44mv.fsf@gnu.org> References: <87msh21z0i.fsf@daniel-mendler.de> <87ed2e8vzv.fsf@gmail.com> <87jzc61tc3.fsf@daniel-mendler.de> <87a5d28rsp.fsf@gmail.com> <87a5d2wl9p.fsf@daniel-mendler.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28547"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, 74781@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 16:33:15 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 1tLOiB-0007HA-MN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 16:33:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLOi0-0005zo-5F; Wed, 11 Dec 2024 10:33: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 1tLOhy-0005zU-BX for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:33: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 1tLOhy-0000nV-3W for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:33:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=MV0h2rhcebkuhAY8cL+nxfuAuSVN9sSBHbmjMcpr/SM=; b=rBso2g9rr19W9MgxWWZn9O17Jb3ue89maQSWZ6RhS3ndSDssT/LVx+ge750CLu/t0BaH3HU+3onFkEvNILR+89HA8JahQbkmevNNsL/tXHnfY9QBvw2E18hVpgEWa9aQPfIGFwLGNOfzPdTBbRLH2ihW3mLQjI+epCjQgsN9My0K5JB7CgTjR2eZcoCfOc6QnqHXjARtUbdVcOIXj/iKFgt1e//6G63nCqQEwbAmHsRJii1EPxwM1o8T/cjr+o1pZ1YqKabxfDGOIQEHXmVSntKh46XXnx1O0foUy5TxF23Fd3oSfIrTJI2KjiXJNRpV8pe2KmjYS96O5rFW5vOAOQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLOhx-0007YN-TC for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 15:33: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.173393115928939 (code B ref 74781); Wed, 11 Dec 2024 15:33:01 +0000 Original-Received: (at 74781) by debbugs.gnu.org; 11 Dec 2024 15:32:39 +0000 Original-Received: from localhost ([127.0.0.1]:35743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLOha-0007Wh-NC for submit@debbugs.gnu.org; Wed, 11 Dec 2024 10:32:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLOhY-0007W4-0D for 74781@debbugs.gnu.org; Wed, 11 Dec 2024 10:32:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLOhR-0000lR-Sy; Wed, 11 Dec 2024 10:32:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MV0h2rhcebkuhAY8cL+nxfuAuSVN9sSBHbmjMcpr/SM=; b=aDkiD1wIAG/e XxKbQzphOAgmgRk2yB9TTx1G+OPdrQGwGaRaICqdQzASHaYa7PVIYZgCA2S92cuxEKO8/WfwcXtxa UKHfZwhC3kyIDJlvjTPx46sDhmkBXVGnvQGCxLCRWZFKXDQPPvnhNqY1vsNblOgAsfD7CcarOrqxA aLOQ5q85M4zplGmioGaJgbxCD9gCssGAqdXJSX4LPDZj21h9bA6TCbpg+56sBGUUtTkgK+VshLl6q cNwwNVSFKqsqwnIx8X7U6MLkzzdtvPehCyTaoiekWhY0apyHfxLIRT0G3yQOLWV1zQEnGLoUMlDRl rnL7sPbR2yI19sfoj6eRsA==; In-Reply-To: <87a5d2wl9p.fsf@daniel-mendler.de> (bug-gnu-emacs@gnu.org) 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:296837 Archived-At: > 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.