From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24229: 25.1; Can't set EPA program Date: Wed, 17 Aug 2016 18:21:09 +0300 Message-ID: <83ziobe80q.fsf@gnu.org> References: <89B49EC8-8E9C-462F-8E0C-9A6ABC7A8C87@tenpoint.co.nz> <87mvkcqzbf.fsf-ueno@gnu.org> <4B42E5C1-2FC6-471D-9E68-309B1C9DF1FD@tenpoint.co.nz> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1471447341 19261 195.159.176.226 (17 Aug 2016 15:22:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2016 15:22:21 +0000 (UTC) Cc: nick@tenpoint.co.nz, 24229@debbugs.gnu.org To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 17 17:22:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ba2fZ-0004m8-Fd for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2016 17:22:17 +0200 Original-Received: from localhost ([::1]:48043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba2fW-00057Q-Cj for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2016 11:22:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba2fP-00057K-VQ for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 11:22:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba2fJ-0000VS-Vy for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 11:22:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba2fJ-0000VN-SD for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 11:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ba2fJ-0003Uj-OU for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2016 11:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2016 15:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24229 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24229-submit@debbugs.gnu.org id=B24229.147144728313388 (code B ref 24229); Wed, 17 Aug 2016 15:22:01 +0000 Original-Received: (at 24229) by debbugs.gnu.org; 17 Aug 2016 15:21:23 +0000 Original-Received: from localhost ([127.0.0.1]:60405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba2eg-0003Tr-US for submit@debbugs.gnu.org; Wed, 17 Aug 2016 11:21:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba2ef-0003Tf-S7 for 24229@debbugs.gnu.org; Wed, 17 Aug 2016 11:21:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba2eZ-0000Qy-Ep for 24229@debbugs.gnu.org; Wed, 17 Aug 2016 11:21:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba2eR-0000QD-Vt; Wed, 17 Aug 2016 11:21:08 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1470 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ba2eQ-0005KY-1V; Wed, 17 Aug 2016 11:21:06 -0400 In-reply-to: (message from Daiki Ueno on Wed, 17 Aug 2016 09:46:01 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122318 Archived-At: > From: Daiki Ueno > Date: Wed, 17 Aug 2016 09:46:01 +0200 > Cc: "24229@debbugs.gnu.org" <24229@debbugs.gnu.org> > > > None of these variables forces the use of customize. Why > > is epg-gpg-program such a special case? > > That is primarily because of the UX differences between three maintained > versions of GnuPG: 2.0, 2.1, and 1.x. GnuPG 2.0 does not provide a way > to prompt passphrase without GUI, but others do. Some people are fine > with 2.0 as they use Emacs on a graphical environment only, but other > people are not. > > So, we really need to take account of user's intention here; check > whether the variable set by user or it is the default value. With > 'setq' it is not possible to have such distinction. Doesn't Customize provide some functions that allow such a distinction? The Customize UI surely is able to tell when a variable was "changed not through Customize", isn't that what you want? Thanks.