all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: emacs-devel@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: master 26f9a77: * etc/package-keyring.gpg: Add the 2019 key
Date: Fri, 26 Apr 2019 10:22:31 +0200	[thread overview]
Message-ID: <m24l6lb2go.fsf@gmail.com> (raw)
In-Reply-To: <20190423203704.C1B1F207D5@vcs0.savannah.gnu.org> (Stefan Monnier's message of "Tue, 23 Apr 2019 16:37:04 -0400 (EDT)")

>>>>> On Tue, 23 Apr 2019 16:37:04 -0400 (EDT), monnier@iro.umontreal.ca (Stefan Monnier) said:

    Stefan> branch: master commit
    Stefan> 26f9a77f2478fb73bc82f12b3285c5f8cd7eb9f3 Author: Stefan
    Stefan> Monnier <monnier@iro.umontreal.ca> Commit: Stefan Monnier
    Stefan> <monnier@iro.umontreal.ca>

    Stefan>     * etc/package-keyring.gpg: Add the 2019 key ---
    Stefan> etc/package-keyring.gpg | Bin 999 -> 2069 bytes 1 file
    Stefan> changed, 0 insertions(+), 0 deletions(-)

So I installed the gnu-elpa-keyring-update package, and now I get

    Importing gnu-elpa-keyring.gpg...
    Importing gnu-elpa-keyring.gpg...done

on stdout when I start emacs. How about something like this:

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 61cf690697..dfef0e6b3b 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1529,9 +1529,11 @@ package-import-keyring
       (with-file-modes 448
         (make-directory package-gnupghome-dir t))
       (setf (epg-context-home-directory context) package-gnupghome-dir))
-    (message "Importing %s..." (file-name-nondirectory file))
+    (when (called-interactively-p 'interactive)
+      (message "Importing %s..." (file-name-nondirectory file)))
     (epg-import-keys-from-file context file)
-    (message "Importing %s...done" (file-name-nondirectory file))))
+    (when (called-interactively-p 'interactive)
+      (message "Importing %s...done" (file-name-nondirectory file)))))
 
 (defvar package--post-download-archives-hook nil
   "Hook run after the archive contents are downloaded.




       reply	other threads:[~2019-04-26  8:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190423203703.26844.27107@vcs0.savannah.gnu.org>
     [not found] ` <20190423203704.C1B1F207D5@vcs0.savannah.gnu.org>
2019-04-26  8:22   ` Robert Pluim [this message]
2019-04-26 11:57     ` master 26f9a77: * etc/package-keyring.gpg: Add the 2019 key Stefan Monnier
2019-04-26 14:17       ` Robert Pluim
2019-04-26 14:45         ` Robert Pluim
2019-04-26 17:38         ` Stefan Monnier
2019-04-27  7:33           ` Robert Pluim
2019-04-29 21:20             ` Stefan Monnier
2019-04-30  7:33               ` Robert Pluim
2019-04-30  9:25                 ` Robert Pluim
2019-04-30 12:09                   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m24l6lb2go.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.