From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: Stop emacs caching gpg keys Date: Sat, 30 Jan 2021 16:59:24 +0000 Message-ID: <87k0ruwec3.fsf@yandex.com> References: <87y2gasafq.fsf@yandex.com> <87v9bemncn.fsf@zoho.eu> <87o8h6wgru.fsf@yandex.com> <87mtwqmkup.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29904"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 30 18:02:30 2021 Return-path: Envelope-to: geh-help-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 1l5tdm-0007hF-NL for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 18:02:30 +0100 Original-Received: from localhost ([::1]:49924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5tdl-0003VE-MM for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 12:02:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5tav-0003Dd-Iw for help-gnu-emacs@gnu.org; Sat, 30 Jan 2021 11:59:33 -0500 Original-Received: from forward104p.mail.yandex.net ([77.88.28.107]:53590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5tas-0002p7-6t for help-gnu-emacs@gnu.org; Sat, 30 Jan 2021 11:59:33 -0500 Original-Received: from myt5-1892386aa303.qloud-c.yandex.net (myt5-1892386aa303.qloud-c.yandex.net [IPv6:2a02:6b8:c12:4323:0:640:1892:386a]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 66AB74B00F22 for ; Sat, 30 Jan 2021 19:59:26 +0300 (MSK) Original-Received: from myt4-ee976ce519ac.qloud-c.yandex.net (myt4-ee976ce519ac.qloud-c.yandex.net [2a02:6b8:c00:1da4:0:640:ee97:6ce5]) by myt5-1892386aa303.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 5cplECBc0n-xQGK8jvm; Sat, 30 Jan 2021 19:59:26 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1612025966; bh=Mvqt0hEkbMg3I9i5CFqqT/N4ngohPfRrPbHx7O82q4c=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Date:References; b=l9Dm2QnltXwfe42sYxEoU/7yE7ulCZHpM5zicBGacJszTgp4j0kwOw4XgSkjVo2Be BIb92pC2eoWI21OpEbHpSZiZtqGtftbOVtddzu1ibXTnBlgNnXKSP4T7aoR3UwtPDs 1eMKUu49dT9b6zjxjqzCJWlGDUhwDg0BNU3G9Ux0= Authentication-Results: myt5-1892386aa303.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by myt4-ee976ce519ac.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id wUYsuHsoCf-xPICf9Zo; Sat, 30 Jan 2021 19:59:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87mtwqmkup.fsf@zoho.eu> (moasenwood's message of "Sat, 30 Jan 2021 17:48:46 +0100") Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=77.88.28.107; envelope-from=m43cap@yandex.com; helo=forward104p.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127454 Archived-At: >>>>> moasenwood--- via Users list for the GNU Emacs text editor writes: > Colin Baxter wrote: >>> There is always `shell-command', I guess... >> >> Yes, but do you know of any elisp hook that I could use to call >> the shell-command, say whenever I close a encrypted buffer? > No, that's why I asked how you do this from Emacs to begin with, > that or those functions would be a good starting point to look for > additional functionality, or a hook if nothing else... > If you don't find anything I guess you can use `kill-buffer-hook' > and then/there check if this needs to be done... Ok. Thanks. You've given me a starting point for investigating further. Best wishes, Colin Baxter.