From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#24553: 25.1; epa ignores epg-gpg-program in very confusing way Date: Mon, 03 Oct 2016 13:41:19 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <8760p9wcsg.fsf@lifelogs.com> References: <87twd1ep1v.fsf@ta.scs.stanford.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475516556 10252 195.159.176.226 (3 Oct 2016 17:42:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2016 17:42:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: 24553@debbugs.gnu.org, Nick Helm To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 03 19:42:28 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 1br7Fk-000857-5g for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2016 19:42:12 +0200 Original-Received: from localhost ([::1]:38392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br7Fi-00051K-Qk for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2016 13:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br7Fd-00051A-6D for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:42:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br7Fa-0000Xg-01 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:42:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br7FZ-0000Xc-SJ for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1br7FZ-0007dH-L9 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2016 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24553-submit@debbugs.gnu.org id=B24553.147551649129277 (code B ref 24553); Mon, 03 Oct 2016 17:42:01 +0000 Original-Received: (at 24553) by debbugs.gnu.org; 3 Oct 2016 17:41:31 +0000 Original-Received: from localhost ([127.0.0.1]:43221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br7F4-0007c8-Mn for submit@debbugs.gnu.org; Mon, 03 Oct 2016 13:41:30 -0400 Original-Received: from mail-pa0-f47.google.com ([209.85.220.47]:35099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br7F2-0007bm-0e for 24553@debbugs.gnu.org; Mon, 03 Oct 2016 13:41:28 -0400 Original-Received: by mail-pa0-f47.google.com with SMTP id ik13so10444800pac.2 for <24553@debbugs.gnu.org>; Mon, 03 Oct 2016 10:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=BWTaE/tK7TcSyWPbe2qoKMmdnDLmpOC26C2d2KSwhkM=; b=TAC7KK0aErm9eYOwvQtyXNNFISoyVtx+CS3O/CdYBl4m61+pUSs8sP6c5xaF/SysQP scltRjaslheAtqNQwBjkh5+8nvMicTJMD6rkHPlQzy+k3VLURAoSVNHdG5J9IeGMPLST oqS4ChTz807jrDqYdc6jF5pXF43yVDEylBC4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version; bh=BWTaE/tK7TcSyWPbe2qoKMmdnDLmpOC26C2d2KSwhkM=; b=TtDl51bg1ACZdyGhqexpleuKGYk0+n4aOmTn5fDtAJqpZdNkki/xUr4+d9coZWLYHc DLOD/SsJ+mMNBF+9Df5z1DhUcCUR58/2wg306IF1XdbOUiV6ZNPLLWTRZFGt4iXBkKns HrxRIcu9sym9u5nLnVQuxGVq+bmW4kg3KiLvl1Zl2s8Oel4q/I1TSJxLBjBfHKtGgyim aoOFPH8vOkM5bdCt7Ly8pHtg+6MpVAnqTmZcjBKxb2sB4mLQkBJm6Y+F/bTILM/JFeD1 K0+RkGu9fja5TnO7PzFBh2YJvWDMBeDmJWNw8qFFdfwHbk1HMysnf3Eox2DnCfQvMr/z bvwQ== X-Gm-Message-State: AA6/9RnqQwisicumB3918jo1EwXHFKmAysiUFt4CW5DltMxmakxGc6GRDwVr2o8d2B7Dow== X-Received: by 10.66.79.138 with SMTP id j10mr40410370pax.60.1475516482188; Mon, 03 Oct 2016 10:41:22 -0700 (PDT) Original-Received: from flea (c-98-229-60-157.hsd1.ma.comcast.net. [98.229.60.157]) by smtp.gmail.com with ESMTPSA id h123sm48776190pfe.87.2016.10.03.10.41.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Oct 2016 10:41:21 -0700 (PDT) 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 Gmane-Reply-To-List: yes In-Reply-To: (Daiki Ueno's message of "Thu, 29 Sep 2016 17:53:09 +0200") 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:123967 Archived-At: On Thu, 29 Sep 2016 17:53:09 +0200 Daiki Ueno wrote: DU> Nick Helm writes: >>> I need to edit some files that decrypt properly with gpg 1.4 but not gpg >>> 2.1. I have both installed on my system, with 1.4 as /usr/bin/gpg1 and >>> 2.1 as /usr/bin/gpg2. The bug is that emacs ignores the epg-gpg-program >>> variable *except* in error messages, which is very confusing. >> >>> Ideally emacs should obey epg-gpg-program ... >> >> I have a similar problem with epg-gpg-program. See bug#24229 >> (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24229) for some >> discussion that might be relevant. DU> And I want to close this as a duplicate of that bug. Is there still DU> anything we can technically do for this? Isn't it enough to suggest: DU> M-: (custom-set-variables '(epg-gpg-program "gpg1" t)) DU> instead of setq? Respectfully, the usability bug here is different: EPA/EPG only uses the customized value, while the log message only uses the actual value in the variable. So the log messages should be adjusted, if you want to keep using the customized value only in EPA/EPG. And perhaps they should catch and mention the case where the customized value is not the same as the variable value, again for usability's sake. HTH Ted