From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gustavo Barros Newsgroups: gmane.emacs.bugs Subject: bug#57856: 28.2; bookmark context strings in encrypted files Date: Mon, 19 Sep 2022 08:13:51 -0300 Message-ID: <87a66v399b.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13801"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.10; emacs 28.2 Cc: Michael Albinus , 57856@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 19 13:16:22 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 1oaElC-0003RN-1Y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 13:16:22 +0200 Original-Received: from localhost ([::1]:50268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaElA-0004j7-Fz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 07:16:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaEkv-0004hF-Nq for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 07:16:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaEks-0007Jf-8g for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 07:16:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaEks-0000qP-3O for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 07:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2022 11:16: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.16635861563226 (code B ref 57856); Mon, 19 Sep 2022 11:16:02 +0000 Original-Received: (at 57856) by debbugs.gnu.org; 19 Sep 2022 11:15:56 +0000 Original-Received: from localhost ([127.0.0.1]:52563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaEkl-0000px-Vx for submit@debbugs.gnu.org; Mon, 19 Sep 2022 07:15:56 -0400 Original-Received: from mail-qk1-f180.google.com ([209.85.222.180]:46817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaEkk-0000pj-Lv for 57856@debbugs.gnu.org; Mon, 19 Sep 2022 07:15:54 -0400 Original-Received: by mail-qk1-f180.google.com with SMTP id d17so19415803qko.13 for <57856@debbugs.gnu.org>; Mon, 19 Sep 2022 04:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:sender:from:to:cc:subject:date; bh=rG0GTktLBFM0tbmUUbNa+CwTKG8fYokQQa161INojYk=; b=mKyMkRu8akseUvR/o3m+k2rYcJzeu9yWi3aKzga6mEv9B+ihTNjGRulzMMdcMrZOkL w7L9jm4sJHMWd70zPbjPYCCIkfjMzLnwLMg1l/c3qaAFqCS9AeaFCLL5NIO3VoMKukUy khL7x4nILFtOdJcy3zcJH04h2pzcoGihN2WHiwJIMERgYpcTztkSfDbBa+lOBPip5SID Vyj+YLt+VkcozBm3QH0P6uHPy+eWT2+kb3JiL7c2Y7FCYu5hJRHN/lSJUGY2oALS1qG9 zms6fb88zdT8P+mmsy7YrkyHhTXysJV3QAwhXZrP/AZhZVcpyv6bw1I+I5iXUHqF9waI TO5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:sender:x-gm-message-state:from:to:cc:subject :date; bh=rG0GTktLBFM0tbmUUbNa+CwTKG8fYokQQa161INojYk=; b=y17Fozl+uKYK+MG4XHtyGVVSU9nyBDlkkL9T8Ac/v+Myhu2cTtdTJF5Z9CH0sGPBrf snUkLONyrpESPHfLV10DasKlCLYqLzBPcMXhAr+adpYB1mFb016NLxQqfF+uyzG1PtEF zgPQpzPB6bj3acaMgG0hHoYF9n/Jf4CXO5bryC+Owukv2TvURbSK+xBGebu201FRtPL+ q1MbrSjEgFCFjLEAxQmfs7duKo7TpA+/aiuAbPLlR7HP/XgEcjlKOeqtkc9kZ04N7MWA SnhIr5WaO2zJh3nhQJto3YrNA0mJD50JESrOuxEIdF+nnvjlCQ3mdu9tQykSbvY0gDZG WnsQ== X-Gm-Message-State: ACrzQf3kve2gxoFRI/OWL7rn3Fen/ns5b0LggE0TpFDAx1REVuoKMw1z 0eQTJboEQgOrvJouWfeDdmzH1c6nLucqXQ== X-Google-Smtp-Source: AMsMyM5g41FEG4jSkMfbfaEsjWyPUZzwfajmtQo8AnxQ7jGG9HQCGBbLvPU7U93vJuy/fuBRsZCETw== X-Received: by 2002:a37:6456:0:b0:6cf:135a:87f6 with SMTP id y83-20020a376456000000b006cf135a87f6mr2440159qkb.227.1663586148834; Mon, 19 Sep 2022 04:15:48 -0700 (PDT) Original-Received: from gusbrs-laptop ([102.129.153.23]) by smtp.gmail.com with ESMTPSA id c3-20020ac87d83000000b0035a7070e909sm10972065qtd.38.2022.09.19.04.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 04:15:48 -0700 (PDT) In-reply-to: <87leqfzu6j.fsf@gnus.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" Xref: news.gmane.io gmane.emacs.bugs:243068 Archived-At: On Mon, 19 Sep 2022 at 09:42, Lars Ingebrigtsen wrote: > Looking at how to integrate this (which is always iffy when we're > dealing with several packages), I think this has to be done the other > way. That is, `bookmark-make-record' has to check whether the file is > encrypted or not, becaues `*insert-file-contents' might not have been > run at all (if this is a new encrypted file, for instance). > > So `tramp-crypt-file-name-p' is perfect for that, but there doesn't > seem > to be any `epa-file-name-p' (or something equivalent)? Hm... OK, > that > was trivial to add, so I've now done it this way in Emacs 29. Thank you very much. Best regards, Gustavo.