From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master 2a29130: Make debbugs install a handler in browse-url-default-handlers. Date: Tue, 19 May 2020 15:45:35 +0200 Message-ID: <877dx8t4w0.fsf@gnu.org> References: <20200507122008.22755.28768@vcs0.savannah.gnu.org> <20200507122010.213B720A15@vcs0.savannah.gnu.org> <87o8qzvrqg.fsf@gnus.org> <214c3d1f-c0b3-4e70-8f73-e3efa53d9bb9@beta.fastmail.com> <87o8qkruim.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="19628"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 19 15:46:11 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jb2ZO-0004uj-W5 for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 15:46:10 +0200 Original-Received: from localhost ([::1]:45992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb2ZO-0001sM-1N for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 09:46:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb2Ys-0001KA-NY for emacs-devel@gnu.org; Tue, 19 May 2020 09:45:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51094) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb2Ys-0004Bw-El; Tue, 19 May 2020 09:45:38 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:32831) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jb2Yr-00089t-Ue; Tue, 19 May 2020 09:45:38 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 9BBBA27C005A; Tue, 19 May 2020 09:45:37 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 19 May 2020 09:45:37 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtjedgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnheptd elieffkeeuffduueeffefhiedtjeeutdeuveegfffgtdejleekheegkeetkeevnecukfhp peelfedrvdefiedrudefledrudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgr lhhithihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgse hfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from thinkpad-t440p (p5dec8baf.dip0.t-ipconnect.de [93.236.139.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 9EF2A328007C; Tue, 19 May 2020 09:45:36 -0400 (EDT) Mail-Followup-To: Lars Ingebrigtsen , Emacs developers In-Reply-To: <87o8qkruim.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 19 May 2020 14:14:57 +0200") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250914 Archived-At: Lars Ingebrigtsen writes: >> I've talked with Stefan about this and for that very reason, there's >> browse-url-handlers to override the default behavior. >> >> Well, and when you have debugs installed, you most probably want to >> use it, no? > > [...] > >>> Hm... it's usually not ideal to change behaviour just by loading a >>> package, is it? > > I don't know -- I find it really annoying when loading a file changes > the way Emacs behaves, but perhaps that's OK for packages? Is there a > policy here? I don't think there's a policy. But many packages add to auto-mode-alist which is quite similar, no? It also changes the behavior. I think adding the handler is appropriate here at least if you've installed debbugs explicitly. I have to confess, if debbugs was installed as a dependency, then having it add a handler could potentially be annoying. Though I think no other package depends on it so far. Maybe we could add a boolean defcustom to debbugs which tells if the handler gets added? But would that work? I guess no because nowadays package activation happens before loading ~/.emacs IIRC... So basically, in this very specific case, I'd say let's make a new debbugs ELPA release and see how many users start screaming. And maybe we might even get positive reactions. I activated bug-reference-mode in Gnus summary and article buffers, and it is totally awesome to follow bug#11991 references immediately with debbugs. (One thing missing here [only in my ~/.emacs] is that you have to set bug-reference-url-format to the GNU debbugs URL yourself.) Bye, Tassilo