From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57856: 28.2; bookmark context strings in encrypted files Date: Mon, 19 Sep 2022 14:03:02 +0200 Message-ID: <87mtavvafd.fsf@gnus.org> References: <87bkrfh77i.fsf@gmail.com> <87mtaz8quf.fsf@gnus.org> <877d23h4df.fsf@gmail.com> <87czbv8od3.fsf@gnus.org> <87y1ujsbjp.fsf@gmx.de> <874jx56l2v.fsf@gnus.org> <87mtaxx8s7.fsf@gmx.de> <87leqfzu6j.fsf@gnus.org> <878rmfkaco.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Gustavo Barros , 57856@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 19 14:06:25 2022 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 1oaFXc-00051z-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 14:06:24 +0200 Original-Received: from localhost ([::1]:44986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaFXY-0004hy-Q8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 08:06:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaFVL-0003vQ-PB for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 08:04:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaFVK-0007d4-Ef for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 08:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaFVK-0004Gp-9i for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 08:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2022 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57856-submit@debbugs.gnu.org id=B57856.166358899316358 (code B ref 57856); Mon, 19 Sep 2022 12:04:02 +0000 Original-Received: (at 57856) by debbugs.gnu.org; 19 Sep 2022 12:03:13 +0000 Original-Received: from localhost ([127.0.0.1]:52605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaFUX-0004Fl-8i for submit@debbugs.gnu.org; Mon, 19 Sep 2022 08:03:13 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:49866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaFUV-0004FY-Bc for 57856@debbugs.gnu.org; Mon, 19 Sep 2022 08:03:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=QY0XhuthmFME/0TnPRQ2eCpih1lDlPHMYD0w6maAfc0=; b=uyT1D7zAvrWIz+0QmbWhLCHqid BbDl3ALnLzmpob26NBx43dvVWWskW60yovmb2fV0K9Xr2wJaaSfn0++NafmdGGim3YdSKPThVEGFW a5Cvzpc1wxoZVltrQZzTfLYN2uhn848qdjjtqLZlHeb4XLTIriAw+3NaLdltT0OD7KdY=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaFUM-0000Dp-SZ; Mon, 19 Sep 2022 14:03:05 +0200 In-Reply-To: <878rmfkaco.fsf@gmx.de> (Michael Albinus's message of "Mon, 19 Sep 2022 11:00:07 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUXExBSPiumc7Wa XlH///+spZNTAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YJEws5BEbJbn0AAAFkSURBVDjLrZNRooQg CEUhNwC6gSdtIHP/e3sgatZMf+NHJkcRLgjwk8Gvi3VEegHooBZfoE0FgloN4CmSfZ+7t+12SRQd NEG/nZDNLvsDAPLZgBweJNpsH45ub7cYKA4Yu735WtIajtQVrSDIMVxZEjzD3QRkAallC+HQFA43 e+5putokm6u9S5bWy2MPFXABzATfgP2yqmJZswl6gSB7ITg94Qu4n712NXi5XEFJkrFnxtNVbBIR tkougILIjAPx0opVw7HQkl0AmUvKY0W0ys7s5W5lXduMOebZfLf+w9TK3c7cGxPP/TtQXah35bOV Yx2pPADu3rsdLOdy1cKoph8nBIttZ3zahewE5LsrObPJoY46sLdh6mgahDeQKtdaSauKxdxPgLUm 1k7b/lQxWIDJ3p7fkORwE9lr4qAkdGlmYdtUq2be/o5ZMd+nQsU8w1cnGqO1KKTSCskfimisY8Dr +AelXyYxJcVJ2wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wOS0xOVQxMTo1NzowNCswMDowMIEP XOkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMTlUMTE6NTc6MDQrMDA6MDDwUuRVAAAAAElF TkSuQmCC X-Now-Playing: Jay Glass Dubs vs Guerilla Toss's _Vs_: "String Dub" 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" Xref: news.gmane.io gmane.emacs.bugs:243071 Archived-At: Michael Albinus writes: > Thinking further about, there are also other files which shouldn't > expose snippets to bookmarks. Think about .authinfo / .netrc (more > general, all files used as auth-sources backend). And perhaps other > files. > > Wouldn't it be better, if packages like Tramp, epa, auth-sources, you > name it, could mark files to be excluded from bookmark-make-record? For > example, a hook a package could contribute to. In Tramp, we would run > > (add-hook 'bookmark-inhibit-bookmark-hook #'tramp-crypt-file-name-p) Yes, that's true, but we don't really have a way to define auth-source-file-p except by heuristics -- a netrc file may be called anything. So I'm not sure how that'd look...