From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: GnuPG homedir and package.el? Date: Tue, 04 Apr 2017 11:04:35 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87d1cs2ozg.fsf@lifelogs.com> References: <87zih1gfjh.fsf@informationelle-selbstbestimmung-im-internet.de> <87k27rejkw.fsf@lifelogs.com> <87lgs2esh6.fsf@informationelle-selbstbestimmung-im-internet.de> <87k27k9iil.fsf@lifelogs.com> <874lynsv2p.fsf@informationelle-selbstbestimmung-im-internet.de> <87bmso8oyt.fsf@informationelle-selbstbestimmung-im-internet.de> <87o9wggrbl.fsf@informationelle-selbstbestimmung-im-internet.de> <83tw68438k.fsf@gnu.org> <87y3vkcdqj.fsf@informationelle-selbstbestimmung-im-internet.de> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491318317 366 195.159.176.226 (4 Apr 2017 15:05:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2017 15:05:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 04 17:05:06 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvQ10-0006wE-C6 for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 17:05:02 +0200 Original-Received: from localhost ([::1]:36138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvQ13-0001oS-5u for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 11:05:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvQ0q-0001nu-6V for emacs-devel@gnu.org; Tue, 04 Apr 2017 11:04:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvQ0n-00066N-1t for emacs-devel@gnu.org; Tue, 04 Apr 2017 11:04:52 -0400 Original-Received: from [195.159.176.226] (port=41971 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvQ0m-00066G-RL for emacs-devel@gnu.org; Tue, 04 Apr 2017 11:04:48 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cvQ0c-0004yA-Rb for emacs-devel@gnu.org; Tue, 04 Apr 2017 17:04:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:wIWWhy+XWqrNP0OABRhZ0hJbqFI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213645 Archived-At: On Sat, 01 Apr 2017 18:08:20 +0200 Jens Lechtenboerger wrote: JL> +(defcustom package-gnupghome-dir (expand-file-name "gnupg" package-user-dir) JL> + "Directory containing GnuPG keyring or nil. JL> +This variable specifies the GnuPG home directory used by package. JL> +That directory is passed via the option \"--homedir\" to GnuPG. JL> +If nil, do not use the option \"--homedir\", but stick with GnuPG's JL> +default directory." JL> + :type 'directory JL> + :risky t JL> + :version "26.1") This looks great, and thanks for working on it. I was wondering if you could provide explicit options to this variable with :tag descriptions, so users customizing this variable have a nice interface? Something like (the middle one is very untested): :type `(choice (const :tag "Default GnuPG directory in user's home directory" nil) (const :tag "The default Emacs package management GnuPG home directory" ,(expand-file-name "gnupg" package-user-dir)) (directory :tag "A specific GnuPG --homedir") Thanks! Ted