From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67937: 30.0.50; auth-source-pass relies on epa-file being enabled Date: Sat, 23 Nov 2024 12:38:23 +0100 Message-ID: <86v7wep4cw.fsf@aarsen.me> References: <8734vwq06i.fsf@aarsen.me> <87bkahlzzp.fsf@neverwas.me> <868r5lszxm.fsf@aarsen.me> <87plywlus1.fsf@gmx.de> <86r0jcn100.fsf@aarsen.me> <87h6k8kk4l.fsf@gmx.de> <867cl3kh4p.fsf@aarsen.me> <83a5pzde0a.fsf@gnu.org> <86h6k77qco.fsf@aarsen.me> <87v88nk5md.fsf@gmx.de> <86y1dj4l71.fsf@aarsen.me> <87le9jjyu6.fsf@gmx.de> <8734vlflpf.fsf@aarsen.me> <87bka9ic18.fsf@gmx.de> <86wmgz769s.fsf@aarsen.me> <871pz69go8.fsf@gmx.de> <86h6814ydo.fsf@aarsen.me> <87msht938s.fsf@gmx.de> <868qtcto2h.fsf@aarsen.me> <87zflr7jpq.fsf@gmx.de> <87frnjz2ca.fsf@gmx.de> Reply-To: Arsen =?UTF-8?Q?Arsenovi=C4=87?= Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13373"; mail-complaints-to="usenet@ciao.gmane.io" Cc: damien@cassou.me, Eli Zaretskii , 67937@debbugs.gnu.org, jp@neverwas.me To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 23 12:40:33 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 1tEoV6-0003M0-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Nov 2024 12:40:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEoUm-0004FW-45; Sat, 23 Nov 2024 06:40:12 -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 1tEoUk-0004E9-92 for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 06:40:10 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEoUd-0000av-I6 for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 06:40:09 -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=9t+gLHgbunFTpy4abF8T5FPXltzwOQKtB6Dkw9wB/LQ=; b=PPtLbfYeNwC6LB1GKQqE6LbeMsIY/uafvHzEVTBmrcVxDKZtu75C6CHOr8ACn+yEvhTPOzK93WZXGqUaCggyjyl7hBsoIM/wdcH7FFnCbr4BRmEKoxXoHGVFgizYWtRQiD006Yipq1PdDO5G917aInkubZpbmoIpaRrNFQMLt67Az6JZfjxFFsTJgNme/p5wPZIROUuIjMmDE6EhKGlKrK+3aj2Escy59dvyYOWviyvAq37nCQD/hoW09+MN5SrI48MmJEL0MKIyod9iBduE1uztl24XS/PL8dUqesYZq5Egjad0UKv5Tk0t4woNiOoJwHV8qiu6++aWajyKjOT79g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEoUc-0001ob-BY for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 06:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2024 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67937 X-GNU-PR-Package: emacs Original-Received: via spool by 67937-submit@debbugs.gnu.org id=B67937.17323619486890 (code B ref 67937); Sat, 23 Nov 2024 11:40:02 +0000 Original-Received: (at 67937) by debbugs.gnu.org; 23 Nov 2024 11:39:08 +0000 Original-Received: from localhost ([127.0.0.1]:56878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEoTj-0001n3-U6 for submit@debbugs.gnu.org; Sat, 23 Nov 2024 06:39:08 -0500 Original-Received: from mout-p-201.mailbox.org ([80.241.56.171]:51248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEoTh-0001mY-OD for 67937@debbugs.gnu.org; Sat, 23 Nov 2024 06:39:06 -0500 Original-Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4XwVN43lq0z9shw; Sat, 23 Nov 2024 12:38:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1732361908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9t+gLHgbunFTpy4abF8T5FPXltzwOQKtB6Dkw9wB/LQ=; b=j7KEK1bylilz7s7N1u0ZzNtXlMbZ8oV3VkYb3OOz6XDUasz6Cve+ELB+B72GemrWZC1H64 gnSmkXunEfGaQKtsvL/KT5jKcyMxsqg5VufA1VsYHbF4ZksXo1CLp+hUsvt4RL2awJkJJH dk5/M6UT8G9uN+VL7akZ4Aqxiqgq7uwQjSTK55KVC1wCeZJjmd2t1AfzVjfjqPcsJc52GK 6tCGg8XTax5yNaATg+cRrXfMbn/ZPnXmeY16kbh7jq4AMjSOa/dnL9n2JIkC401HmTj5nz sTCVnGfxElyEwz5GQ6eqWkYJ/Fvr4exLVwV9r+MqOn4rSQMxEfdHjMhjdYRVSw== In-Reply-To: <87frnjz2ca.fsf@gmx.de> (Michael Albinus's message of "Fri, 22 Nov 2024 16:59:33 +0100") X-Rspamd-Queue-Id: 4XwVN43lq0z9shw 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:295812 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Michael, Michael Albinus writes: > Trying to be more constructive: what about the appended patch? It should > fix the problem reported here, and it is simple. Yes, this fix is simple and is OK by me (I did mention it in an earlier post in this thread IIRC). It certainly will fix the issue. To debug the underlying issue, do you have any tips on how I could catch file-name-handler-alist becoming nil? The obvious (variable watchers) does not work due to frequency of change (and how many times it is actually totally legitimate for that variable to become nil in a let-binding), I fear, and I suspect I'll need to hack core sooner or later. Again, it feels almost like 'let' is broken, because this happens outside of a let-binding context. It would be nice to be able to record a backtrace of only variable changes that are _not_ under a let (because, AFAIK, always, after a let is done evaluating, the binding of a variable is restored to its original value). Since it seems that this variable becomes nil outside of any lets, it'd be nice to isolate that case. I've tried to count how "deep" I am in let-bindings using the let and unlet events: (defun arsen--watch-file-name-handler-alist (symbol newval operation wher= e) (setq arsen--watch-file-name-handler-alist-depthw (+ arsen--watch-file-name-handler-alist-depth (pcase operation ('let 1) ('unlet -1) (otherwise 0)))) ... =20=20 (add-variable-watcher 'file-name-handler-alist 'arsen--watch-file-name-handler-alist) ... but this proved futile (and would somehow end up not being zero when I check after a while of running Emacs by typing M-: arsen--watch-file-name-handler-alist-depth RET, despite not having any lets in (debug) and (backtrace)). Thanks in advance, have a lovely day. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZ0G+r18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTEboBAI5bmD4Jva/BBpl56gGgwx7hWRFYI72QiuIe nYl+/xCAAQDZlsKKDHmWfj3JFR4dkItR7TAaRZtPZquGQ0iDKBqsBA== =2RWh -----END PGP SIGNATURE----- --=-=-=--