GNU bug report logs - #16679
24.3.50; can't create a newly encrypted gpg file with easypg in cygwin emacs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jason Lewis <jason@HIDDEN>; dated Fri, 7 Feb 2014 05:32:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 12 Feb 2014 02:38:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 21:38:32 2014
Received: from localhost ([127.0.0.1]:48099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WDPia-0003xq-0G
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2014 21:38:32 -0500
Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:28884)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jason@HIDDEN>) id 1WDPiW-0003xW-Ux
 for 16679 <at> debbugs.gnu.org; Tue, 11 Feb 2014 21:38:30 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqAEAGXd+lI7p/21/2dsb2JhbABag0S/fYErdIImAQV4ARALIRYPCQMCAQIBRQYNAQcBAYgAyiUXjnkHCYQvBJA+gTKHbIUVi1mBb4FSKA
Received: from ppp167-253-181.static.internode.on.net (HELO
 debian.organictrader.com.au) ([59.167.253.181])
 by ipmail06.adl2.internode.on.net with ESMTP; 12 Feb 2014 13:08:25 +1030
Received: from [10.0.2.240] (unknown [10.0.2.240])
 by debian.organictrader.com.au (Postfix) with ESMTPSA id 15C1D11A0224;
 Wed, 12 Feb 2014 13:38:22 +1100 (EST)
Message-ID: <52FADE9A.4050907@HIDDEN>
Date: Wed, 12 Feb 2014 13:38:18 +1100
From: Jason Lewis <jason@HIDDEN>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
 rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23
 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50; can't create a newly encrypted gpg file with
 easypg in cygwin emacs
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> <52F60161.90707@HIDDEN> <83ha89wuvp.fsf@HIDDEN>
 <52F95B12.4030609@HIDDEN> <83d2iutiov.fsf@HIDDEN>
 <52F9B1DC.9090008@HIDDEN> <83a9dxtz29.fsf@HIDDEN>
 (sfid-20140212_030540_749735_7638EE8E)
In-Reply-To: <83a9dxtz29.fsf@HIDDEN> (sfid-20140212_030540_749735_7638EE8E)
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="uUSpENmUKU5gS2XsnHwmjDhkgqQXA7VEr"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16679
Cc: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--uUSpENmUKU5gS2XsnHwmjDhkgqQXA7VEr
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Eli,



Eli Zaretskii wrote, On 12/02/2014 3:05 AM:
> Thanks. Please show the values of 'string' and '(car lines)' right
> before the while loop indicated below (which is part of
> epg-list-keys): ((equal (aref (car lines) 0) "uid") ;; Decode the UID
> name as a backslash escaped UTF-8 string, ;; generated by GnuPG/GpgSM.
> (setq string (copy-sequence (aref (car lines) 9)) index 0) (while
> (string-match "\"" string index) <<<<<<<<<<<<<<<<<< (setq string
> (replace-match "\\\"" t t string) index (1+ (match-end 0))))=20

I put a (message "(car lines): %S" (car lines)) right before string is
assigned in epg-list-keys, resulting in lots of messages culminating in:

<lots of lines snipped>
(car lines): ["uid" "-" nil nil nil "1330660041" nil
"02F15375A7024F55715364D1E540EADAA09785E5" nil "ssh\\x3a//gnuradical.su"
nil nil nil nil nil]
(car lines): ["uid" "-" nil nil nil "1369245874" nil
"9C1185A5C5E9FC54612808977EE8F548B2258D31" nil nil nil nil nil nil nil]
while: Wrong type argument: stringp, nil


Jason

--=20
Jason Lewis
http://emacstragic.net



--uUSpENmUKU5gS2XsnHwmjDhkgqQXA7VEr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iQIcBAEBCAAGBQJS+t6dAAoJEPpXHsdQXnZOOv8P/0ntCNdz4XpHuc5qgPnkMQ6w
ephVnpz2Ip11Vc+U835PO5651wlj1cYVIcLobrqDThfR3sjnpjRq5v3cdscu9IJy
694dJxlFs8WOLqsY1I/DtJjoSJxY2a78xpJ3lJlSakD7tt0UftJNjJHCF5ifl0BD
p08TMi7f3mmkOH0ld3qPKjqWkEzXcoherMDo7AD5K9ctj8DLsg9vzctY/iCSaL+G
EPmG45mu4uc5qu3FX8yYvFiheR7h5cZUKra09jPpfC7Dln/dlRwz1XT3PtRz1GDt
CHXITAibbXXNJrZUU+dft5QBVT2PC5NhP4RVMfJu8F995qfrkGhAWqUR9VtZNEHP
xQS3ty6WpAhh9lsksFVM8bkhGHFIhfquT5nWP58IdNqnFWfTnVHl+k2E+heZqXUS
fjYi21Xea6IeOMJgYiOAa1pejx2G0uhqhuvgaDQDcVZKUCl8DHk1O6NV2ycf511M
pA/bkwS9WrBoP0LHgCt/9BRLRfxSkc/vr6Brh20Vydqx08x+HvGgylK/Pc/ljqNT
abPS/NmFR/bsOq8kB1PPRV+JgFZUOZl5FVG+CgXsBnzMIw68XRHL6oyjJ2eRyuqz
fO1AOlv/EJQankLNpPhbIK9MZcx8g+3UYWK82hJk3PKQyjNemTwyR3LfUaYbqUe2
z40f2Ih6kbsk+eE/I1+M
=CZUC
-----END PGP SIGNATURE-----

--uUSpENmUKU5gS2XsnHwmjDhkgqQXA7VEr--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 11 Feb 2014 16:05:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 11:05:41 2014
Received: from localhost ([127.0.0.1]:47614 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WDFq8-0005oA-KP
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2014 11:05:41 -0500
Received: from mtaout25.012.net.il ([80.179.55.181]:36816)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1WDFq5-0005nq-6T
 for 16679 <at> debbugs.gnu.org; Tue, 11 Feb 2014 11:05:39 -0500
Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il
 (HyperSendmail v2007.08) id <0N0U00O009Q0JT00@HIDDEN> for
 16679 <at> debbugs.gnu.org; Tue, 11 Feb 2014 18:04:34 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N0U00KNY9ZMT550@HIDDEN>; Tue, 11 Feb 2014 18:04:34 +0200 (IST)
Date: Tue, 11 Feb 2014 18:05:18 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50;
 can't create a newly encrypted gpg file with easypg in cygwin emacs
In-reply-to: <52F9B1DC.9090008@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Jason Lewis <jason@HIDDEN>
Message-id: <83a9dxtz29.fsf@HIDDEN>
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> <52F60161.90707@HIDDEN> <83ha89wuvp.fsf@HIDDEN>
 <52F95B12.4030609@HIDDEN> <83d2iutiov.fsf@HIDDEN>
 <52F9B1DC.9090008@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 16679
Cc: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Tue, 11 Feb 2014 16:15:08 +1100
> From: Jason Lewis <jason@HIDDEN>
> CC: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
> 
> > Please step in Edebug through epa-file-write-region, and tell which
> > part of the condition-case fails with file-error, and why. I see
> > nothing telltale in the backtrace which would suggest any ideas. Thanks. 
> 
> I think it fails on:
> 
> 
> line: 250
>            (epa-select-keys
>             context
>             "Select recipients for encryption.
> If no one is selected, symmetric encryption will be performed.  "
>             recipients)
> 
> 
> That call seems to take quite a few seconds and then execution jumps to
> the error part on line 257.
> 
> Digging deeper with edebug, I have found the error happens in the
> epa-list-keys call and I can make the error happen just by calling
> epa-list-keys directly.
> 
> I stepped through a whole lot but I couldn't work out where it happens
> exactly. it seems to be while its stepping through the gpg keys to
> produce the list.
> 
> Backtrace:
> 
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   string-match("\"" nil 0)
>   (while (string-match "\"" string index) (setq string (replace-match
> "\\\"" t t string) index (1+ (match-end 0))))
>   (cond ((member (aref (car lines) 0) (quote ("pub" "sec" "crt" "crs")))
> (setq cert (member (aref (car lines) 0) (quote ("crt" "crs"))) keys

Thanks.  Please show the values of 'string' and '(car lines)' right
before the while loop indicated below (which is part of epg-list-keys):

       ((equal (aref (car lines) 0) "uid")
	;; Decode the UID name as a backslash escaped UTF-8 string,
	;; generated by GnuPG/GpgSM.
	(setq string (copy-sequence (aref (car lines) 9))
	      index 0)
	(while (string-match "\"" string index) <<<<<<<<<<<<<<<<<<
	  (setq string (replace-match "\\\"" t t string)
		index (1+ (match-end 0))))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 11 Feb 2014 05:15:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 00:15:23 2014
Received: from localhost ([127.0.0.1]:42346 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WD5go-0004z3-6P
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2014 00:15:23 -0500
Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:1177)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jason@HIDDEN>) id 1WD5gj-0004yq-Tl
 for 16679 <at> debbugs.gnu.org; Tue, 11 Feb 2014 00:15:20 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqAEAPqw+VI7p/21/2dsb2JhbABZg0S/O4EmdIImAQV4ARALIRYPCQMCAQIBRQYNAQcBAYgAyXMXjh8BAU8HCYQvBJA+gTKHbIUVi1mBb4FSKIE1
Received: from ppp167-253-181.static.internode.on.net (HELO
 debian.organictrader.com.au) ([59.167.253.181])
 by ipmail06.adl2.internode.on.net with ESMTP; 11 Feb 2014 15:45:13 +1030
Received: from [10.0.2.240] (unknown [10.0.2.240])
 by debian.organictrader.com.au (Postfix) with ESMTPSA id BB18111A0224;
 Tue, 11 Feb 2014 16:15:11 +1100 (EST)
Message-ID: <52F9B1DC.9090008@HIDDEN>
Date: Tue, 11 Feb 2014 16:15:08 +1100
From: Jason Lewis <jason@HIDDEN>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
 rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23
 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50; can't create a newly encrypted gpg file with
 easypg in cygwin emacs
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> <52F60161.90707@HIDDEN> <83ha89wuvp.fsf@HIDDEN>
 <52F95B12.4030609@HIDDEN> <83d2iutiov.fsf@HIDDEN>
 (sfid-20140211_144708_062742_59477625)
In-Reply-To: <83d2iutiov.fsf@HIDDEN> (sfid-20140211_144708_062742_59477625)
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="SPMgJ5OJJIXK6uqFxbcLvSXlepKpdtcSx"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16679
Cc: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--SPMgJ5OJJIXK6uqFxbcLvSXlepKpdtcSx
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



Eli Zaretskii wrote, On 11/02/2014 2:46 PM:
> Please step in Edebug through epa-file-write-region, and tell which
> part of the condition-case fails with file-error, and why. I see
> nothing telltale in the backtrace which would suggest any ideas. Thanks=
=2E=20

I think it fails on:


line: 250
           (epa-select-keys
            context
            "Select recipients for encryption.
If no one is selected, symmetric encryption will be performed.  "
            recipients)


That call seems to take quite a few seconds and then execution jumps to
the error part on line 257.

Digging deeper with edebug, I have found the error happens in the
epa-list-keys call and I can make the error happen just by calling
epa-list-keys directly.

I stepped through a whole lot but I couldn't work out where it happens
exactly. it seems to be while its stepping through the gpg keys to
produce the list.

Backtrace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("\"" nil 0)
  (while (string-match "\"" string index) (setq string (replace-match
"\\\"" t t string) index (1+ (match-end 0))))
  (cond ((member (aref (car lines) 0) (quote ("pub" "sec" "crt" "crs")))
(setq cert (member (aref (car lines) 0) (quote ("crt" "crs"))) keys
(cons (epg-make-key (if (aref (car lines) 8) (cdr (assq ...
epg-key-validity-alist)))) keys)) (epg-key-set-sub-key-list (car keys)
(cons (epg--make-sub-key-1 (car lines)) (epg-key-sub-key-list (car
keys))))) ((member (aref (car lines) 0) (quote ("sub" "ssb")))
(epg-key-set-sub-key-list (car keys) (cons (epg--make-sub-key-1 (car
lines)) (epg-key-sub-key-list (car keys))))) ((equal (aref (car lines)
0) "uid") (setq string (copy-sequence (aref (car lines) 9)) index 0)
(while (string-match "\"" string index) (setq string (replace-match
"\\\"" t t string) index (1+ (match-end 0)))) (condition-case nil (setq
string (epg--decode-coding-string (car (read-from-string (concat "\""
string "\""))) (quote utf-8))) (error (setq string (aref (car lines)
9)))) (epg-key-set-user-id-list (car keys) (cons (epg-make-user-id (if
(aref (car lines) 1) (cdr (assq ... epg-key-validity-alist))) (if cert
(condition-case nil (epg-dn-from-string string) (error string)) string))
(epg-key-user-id-list (car keys))))) ((equal (aref (car lines) 0) "fpr")
(epg-sub-key-set-fingerprint (car (epg-key-sub-key-list (car keys)))
(aref (car lines) 9))) ((equal (aref (car lines) 0) "sig")
(epg-user-id-set-signature-list (car (epg-key-user-id-list (car keys)))
(cons (epg-make-key-signature (if (aref (car lines) 1) (cdr (assq ...
epg-key-validity-alist))) (string-to-number (aref (car lines) 3)) (aref
(car lines) 4) (epg--time-from-seconds (aref (car lines) 5))
(epg--time-from-seconds (aref (car lines) 6)) (aref (car lines) 9)
(string-to-number (aref (car lines) 10) 16) (eq (aref (aref ... 10) 2)
120)) (epg-user-id-signature-list (car (epg-key-user-id-list (car
keys))))))))
  (while lines (cond ((member (aref (car lines) 0) (quote ("pub" "sec"
"crt" "crs"))) (setq cert (member (aref (car lines) 0) (quote ("crt"
"crs"))) keys (cons (epg-make-key (if (aref ... 8) (cdr ...))) keys))
(epg-key-set-sub-key-list (car keys) (cons (epg--make-sub-key-1 (car
lines)) (epg-key-sub-key-list (car keys))))) ((member (aref (car lines)
0) (quote ("sub" "ssb"))) (epg-key-set-sub-key-list (car keys) (cons
(epg--make-sub-key-1 (car lines)) (epg-key-sub-key-list (car keys)))))
((equal (aref (car lines) 0) "uid") (setq string (copy-sequence (aref
(car lines) 9)) index 0) (while (string-match "\"" string index) (setq
string (replace-match "\\\"" t t string) index (1+ (match-end 0))))
(condition-case nil (setq string (epg--decode-coding-string (car
(read-from-string ...)) (quote utf-8))) (error (setq string (aref (car
lines) 9)))) (epg-key-set-user-id-list (car keys) (cons
(epg-make-user-id (if (aref ... 1) (cdr ...)) (if cert (condition-case
nil ... ...) string)) (epg-key-user-id-list (car keys))))) ((equal (aref
(car lines) 0) "fpr") (epg-sub-key-set-fingerprint (car
(epg-key-sub-key-list (car keys))) (aref (car lines) 9))) ((equal (aref
(car lines) 0) "sig") (epg-user-id-set-signature-list (car
(epg-key-user-id-list (car keys))) (cons (epg-make-key-signature (if
(aref ... 1) (cdr ...)) (string-to-number (aref ... 3)) (aref (car
lines) 4) (epg--time-from-seconds (aref ... 5)) (epg--time-from-seconds
(aref ... 6)) (aref (car lines) 9) (string-to-number (aref ... 10) 16)
(eq (aref ... 2) 120)) (epg-user-id-signature-list (car
(epg-key-user-id-list ...))))))) (setq lines (cdr lines)))
  (let ((lines (epg--list-keys-1 context name mode)) keys cert pointer
pointer-1 index string) (while lines (cond ((member (aref (car lines) 0)
(quote ("pub" "sec" "crt" "crs"))) (setq cert (member (aref (car lines)
0) (quote ("crt" "crs"))) keys (cons (epg-make-key (if ... ...)) keys))
(epg-key-set-sub-key-list (car keys) (cons (epg--make-sub-key-1 (car
lines)) (epg-key-sub-key-list (car keys))))) ((member (aref (car lines)
0) (quote ("sub" "ssb"))) (epg-key-set-sub-key-list (car keys) (cons
(epg--make-sub-key-1 (car lines)) (epg-key-sub-key-list (car keys)))))
((equal (aref (car lines) 0) "uid") (setq string (copy-sequence (aref
(car lines) 9)) index 0) (while (string-match "\"" string index) (setq
string (replace-match "\\\"" t t string) index (1+ (match-end 0))))
(condition-case nil (setq string (epg--decode-coding-string (car ...)
(quote utf-8))) (error (setq string (aref ... 9))))
(epg-key-set-user-id-list (car keys) (cons (epg-make-user-id (if ...
=2E..) (if cert ... string)) (epg-key-user-id-list (car keys))))) ((equal=

(aref (car lines) 0) "fpr") (epg-sub-key-set-fingerprint (car
(epg-key-sub-key-list (car keys))) (aref (car lines) 9))) ((equal (aref
(car lines) 0) "sig") (epg-user-id-set-signature-list (car
(epg-key-user-id-list (car keys))) (cons (epg-make-key-signature (if ...
=2E..) (string-to-number ...) (aref ... 4) (epg--time-from-seconds ...)
(epg--time-from-seconds ...) (aref ... 9) (string-to-number ... 16) (eq
=2E.. 120)) (epg-user-id-signature-list (car ...)))))) (setq lines (cdr
lines))) (setq keys (nreverse keys) pointer keys) (while pointer
(epg-key-set-sub-key-list (car pointer) (nreverse (epg-key-sub-key-list
(car pointer)))) (setq pointer-1 (epg-key-set-user-id-list (car pointer)
(nreverse (epg-key-user-id-list (car pointer))))) (while pointer-1
(epg-user-id-set-signature-list (car pointer-1) (nreverse
(epg-user-id-signature-list (car pointer-1)))) (setq pointer-1 (cdr
pointer-1))) (setq pointer (cdr pointer))) keys)
  epg-list-keys((epg-context . [OpenPGP "/usr/bin/gpg" nil nil nil nil
nil nil nil (epg-passphrase-callback-function) nil nil nil nil nil nil
nil nil]) nil nil)
  (epa--insert-keys (epg-list-keys context name secret))
  (let ((inhibit-read-only t) buffer-read-only (point (point-min))
(context (epg-make-context epa-protocol))) (if (get-text-property point
(quote epa-list-keys)) nil (setq point (next-single-property-change
point (quote epa-list-keys)))) (if point (progn (delete-region point (or
(next-single-property-change point (quote epa-list-keys)) (point-max)))
(goto-char point))) (epa--insert-keys (epg-list-keys context name
secret)) (widget-setup) (set-keymap-parent (current-local-map)
widget-keymap))
  epa--list-keys(nil nil)
  epa-list-keys(nil)
  #<subr call-interactively>(epa-list-keys record nil)
  funcall(#<subr call-interactively> epa-list-keys record nil)
  (with-no-warnings (funcall ad--addoit-function function record-flag key=
s))
  (setq ad-return-value (with-no-warnings (funcall ad--addoit-function
function record-flag keys)))
  (let ((ido-ubiquitous-next-override
(ido-ubiquitous-get-command-override function))) (setq ad-return-value
(with-no-warnings (funcall ad--addoit-function function record-flag keys)=
)))
  (ido-ubiquitous-with-override (ido-ubiquitous-get-command-override
function) (setq ad-return-value (with-no-warnings (funcall
ad--addoit-function function record-flag keys))))
  (let (ad-return-value) (ido-ubiquitous-with-override
(ido-ubiquitous-get-command-override function) (setq ad-return-value
(with-no-warnings (funcall ad--addoit-function function record-flag
keys)))) ad-return-value)
  ad-Advice-call-interactively(#<subr call-interactively> epa-list-keys
record nil)
  apply(ad-Advice-call-interactively #<subr call-interactively>
(epa-list-keys record nil))
  call-interactively(epa-list-keys record nil)
  command-execute(epa-list-keys record)
  execute-extended-command(nil "epa-list-keys")
  smex-read-and-run(("eval-buffer" "epa-list-keys" "sp-next-sexp"
"toggle-debug-on-error" "edebug-trace-mode" "package-list-packages"
"load-file" "replace-string" "ttl" "calc" "html-mode" "grep" "dired"
"whitespace-mode" "emacs-version" "org-mode" "orgtbl-mode"
"set-buffer-file-coding-system" "load-library" "indent-region"
"smartparens-mode" "auto-fill-mode" "customize-group"
"customize-variable" "hl-line-mode" "eww" "version" "kill-rectangle"
"sp-cheat-sheet" "auto-revert-tail-mode" "csv-mode" "hexl-mode"
"auto-complete" "eval-expression" "org-beamer-mode" "weechat-connect"
"visual-line-mode" "org-submit-bug-report"
"org-table-create-or-convert-from-region" "mail" "rgrep" "shell"
"sql-mode" "esk-lorem" "zap-to-char" "count-matches" "shell-command"
"moz-minor-mode" "org-indent-item" "org-table-export" ...))
  smex()
  #<subr call-interactively>(smex nil nil)
  funcall(#<subr call-interactively> smex nil nil)
  (with-no-warnings (funcall ad--addoit-function function record-flag key=
s))
  (setq ad-return-value (with-no-warnings (funcall ad--addoit-function
function record-flag keys)))
  (let ((ido-ubiquitous-next-override
(ido-ubiquitous-get-command-override function))) (setq ad-return-value
(with-no-warnings (funcall ad--addoit-function function record-flag keys)=
)))
  (ido-ubiquitous-with-override (ido-ubiquitous-get-command-override
function) (setq ad-return-value (with-no-warnings (funcall
ad--addoit-function function record-flag keys))))
  (let (ad-return-value) (ido-ubiquitous-with-override
(ido-ubiquitous-get-command-override function) (setq ad-return-value
(with-no-warnings (funcall ad--addoit-function function record-flag
keys)))) ad-return-value)
  ad-Advice-call-interactively(#<subr call-interactively> smex nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (smex
nil nil))
  call-interactively(smex nil nil)
  command-execute(smex)






--=20
Jason Lewis
http://emacstragic.net



--SPMgJ5OJJIXK6uqFxbcLvSXlepKpdtcSx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iQIcBAEBCAAGBQJS+bHfAAoJEPpXHsdQXnZOGw0QAMfwIHjsLIy+K4UMpOqS1grp
bxzINI88obNtnLRX8LaiaVPYFOOWtA67x34m1r0j+MV2DJ1Hk0XrAdoHwqzT5J2U
0vLgzPK/HbFFuOzTtEEbZM2LPNwZMaIg77RMhAuyufGezj3zIue5Ln4Q3ZoOZ8QV
69bwWEYUOlumoOqKQh9ygXi7zfsyESYdbwvBEJiiuciIGEgCdYotjV+U/qjCbFji
FV44h2roH7+LqK21CrZGzAkXzCq6XakSjN4obPVSwjS7bOzI8wc0A/KQXszpEbln
dFF+9/++KlNwhE4Dnf8dp8u7Hb7EuQstTJ209yNzAw5AhXQlPU3B2TAOPpZuYBab
a9NmpiRMBP/YMesr4aDunq8M3FfvQW7z/J6XSet+ZWI7nfii7JNt1sgCI4JQXb4s
WY2DpUL/4fPQ7AN1jG/4dtIgvpQXVEeHO91qdSHNe+tQaY+BGkYu1vZqgCnTE6T5
VjTTQer7zq+cLZmUDToI3gheKxkWtcCF7nDijtXNrV0LDFISXPwzcrbTEkkZz91I
nTZgaFD0MkzM6AMTNROKRsYlD/BPcxR8N6/f2d8qFlZKQyabaj1dHnOpAxbiq2J5
TI6+8c13eDwMZJfRZO9yNgI1ukdu5hek+oTxye+yQEAtHqsMkA0b88gb7cE5gKoq
KEiN5rx/YvAmedJisCVF
=QLWn
-----END PGP SIGNATURE-----

--SPMgJ5OJJIXK6uqFxbcLvSXlepKpdtcSx--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 11 Feb 2014 03:47:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 22:47:07 2014
Received: from localhost ([127.0.0.1]:42272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WD4JP-0001g3-2o
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2014 22:47:07 -0500
Received: from mtaout23.012.net.il ([80.179.55.175]:39616)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1WD4JM-0001fT-9s
 for 16679 <at> debbugs.gnu.org; Mon, 10 Feb 2014 22:47:05 -0500
Received: from conversion-daemon.a-mtaout23.012.net.il by
 a-mtaout23.012.net.il (HyperSendmail v2007.08) id
 <0N0T00600BI7K500@HIDDEN> for 16679 <at> debbugs.gnu.org;
 Tue, 11 Feb 2014 05:46:57 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N0T006CEBU5H740@HIDDEN>;
 Tue, 11 Feb 2014 05:46:57 +0200 (IST)
Date: Tue, 11 Feb 2014 05:46:40 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50;
 can't create a newly encrypted gpg file with easypg in cygwin emacs
In-reply-to: <52F95B12.4030609@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Jason Lewis <jason@HIDDEN>
Message-id: <83d2iutiov.fsf@HIDDEN>
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> <52F60161.90707@HIDDEN> <83ha89wuvp.fsf@HIDDEN>
 <52F95B12.4030609@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 16679
Cc: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Tue, 11 Feb 2014 10:04:50 +1100
> From: Jason Lewis <jason@HIDDEN>
> CC: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
> 
> I tested again by trying to creating a file on /cygdrive/c/Temp which is
> not on the junctioned drive and received the same error.

Please step in Edebug through epa-file-write-region, and tell which
part of the condition-case fails with file-error, and why.  I see
nothing telltale in the backtrace which would suggest any ideas.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 10 Feb 2014 23:05:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 18:05:10 2014
Received: from localhost ([127.0.0.1]:42051 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WCzuX-0006ic-Uv
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2014 18:05:10 -0500
Received: from ipmail06.adl2.internode.on.net ([150.101.137.129]:54774)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jason@HIDDEN>) id 1WCzuT-0006iN-HO
 for 16679 <at> debbugs.gnu.org; Mon, 10 Feb 2014 18:05:08 -0500
Received: from ppp167-253-181.static.internode.on.net (HELO
 debian.organictrader.com.au) ([59.167.253.181])
 by ipmail06.adl2.internode.on.net with ESMTP; 11 Feb 2014 09:34:58 +1030
Received: from [10.0.2.240] (unknown [10.0.2.240])
 by debian.organictrader.com.au (Postfix) with ESMTPSA id 47C1D11A0224;
 Tue, 11 Feb 2014 10:04:55 +1100 (EST)
Message-ID: <52F95B12.4030609@HIDDEN>
Date: Tue, 11 Feb 2014 10:04:50 +1100
From: Jason Lewis <jason@HIDDEN>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
 rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23
 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50; can't create a newly encrypted gpg file with
 easypg in cygwin emacs
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> <52F60161.90707@HIDDEN> <83ha89wuvp.fsf@HIDDEN>
 (sfid-20140209_011828_219790_12DDF936)
In-Reply-To: <83ha89wuvp.fsf@HIDDEN> (sfid-20140209_011828_219790_12DDF936)
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="QiPmvCvwC9gu9aCESC2FiNdHlRA3FlEr6"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16679
Cc: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QiPmvCvwC9gu9aCESC2FiNdHlRA3FlEr6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


Eli Zaretskii wrote, On 9/02/2014 1:18 AM:
>> Date: Sat, 08 Feb 2014 21:05:21 +1100
>> From: Jason Lewis <jason@HIDDEN>
>> CC: 16679 <at> debbugs.gnu.org
>>
>> Because I like to live life on the edge, I decided to mount my user
>> directory from my drive D:, following a procedure much like this one:
>>
>> http://caskater4.blogspot.com.au/2007/09/moving-your-data-where-you-wa=
nt-in.html
>>
>> something like this:
>>
>>  1. xcopy /E /H /O /X /Y /I C:\Users D:\Users
>>  2. rmdir /S /Q C:\Users
>>  3. rmdir "C:\Documents and Settings"
>>  4. mklink /J C:\Users D:\Users
>>  5. mklink /J "C:\Documents and Settings" D:\Users
>>
>> I'm not in front of that computer right now but that sounds as though =
it
>> has something to do with it.
> Are you sure every program you use, starting with Emacs, fully
> supports directory junction points created like that?
>

I've not encountered any problems with directory junctions yet. I've
been running it like this for at least 6 months.

I tested again by trying to creating a file on /cygdrive/c/Temp which is
not on the junctioned drive and received the same error.

backtrace:

Debugger entered--Lisp error: (file-error "Opening output file" stringp n=
il)
  signal(file-error ("Opening output file" stringp nil))
  (condition-case error (setq string (epg-encrypt-string context (if
(stringp start) (epa-file--encode-coding-string start coding-system) (if
start nil (setq start (point-min) end (point-max))) (setq buffer
(current-buffer)) (let ((temp-buffer (generate-new-buffer " *temp*")))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...
=2E.. ...) (and ... ...))))) (if (or (eq epa-file-select-keys t) (and
(null epa-file-select-keys) (not (local-variable-p ... ...))))
(epa-select-keys context "Select recipients for encryption.\nIf no one
is selected, symmetric encryption will be performed.  " recipients) (if
epa-file-encrypt-to (epg-list-keys context recipients))))) (error (if
(setq entry (assoc file epa-file-passphrase-alist)) (setcdr entry nil))
(signal (quote file-error) (cons "Opening output file" (cdr error)))))
  (let* ((coding-system (or coding-system-for-write (if (fboundp (quote
select-safe-coding-system)) (let ((buffer-file-name ...))
(select-safe-coding-system (point-min) (point-max)))
buffer-file-coding-system))) (context (epg-make-context))
(coding-system-for-write (quote binary)) string entry (recipients (cond
((listp epa-file-encrypt-to) epa-file-encrypt-to) ((stringp
epa-file-encrypt-to) (list epa-file-encrypt-to)))) buffer)
(epg-context-set-passphrase-callback context (cons (function
epa-file-passphrase-callback-function) file))
(epg-context-set-progress-callback context (cons (function
epa-progress-callback-function) (format "Encrypting %s" file)))
(epg-context-set-armor context epa-armor) (condition-case error (setq
string (epg-encrypt-string context (if (stringp start)
(epa-file--encode-coding-string start coding-system) (if start nil (setq
start (point-min) end (point-max))) (setq buffer (current-buffer)) (let
((temp-buffer ...)) (save-current-buffer (set-buffer temp-buffer)
(unwind-protect ... ...)))) (if (or (eq epa-file-select-keys t) (and
(null epa-file-select-keys) (not ...))) (epa-select-keys context "Select
recipients for encryption.\nIf no one is selected, symmetric encryption
will be performed.  " recipients) (if epa-file-encrypt-to (epg-list-keys
context recipients))))) (error (if (setq entry (assoc file
epa-file-passphrase-alist)) (setcdr entry nil)) (signal (quote
file-error) (cons "Opening output file" (cdr error)))))
(epa-file-run-real-handler (function write-region) (list string nil file
append visit lockname mustbenew)) (if (boundp (quote
last-coding-system-used)) (setq last-coding-system-used coding-system))
(if (eq visit t) (progn (setq buffer-file-name file)
(set-visited-file-modtime)) (if (stringp visit) (progn
(set-visited-file-modtime) (setq buffer-file-name visit)))) (if (or (eq
visit t) (eq visit nil) (stringp visit)) (message "Wrote %s"
buffer-file-name)))
  epa-file-write-region(nil nil "/cygdrive/c/Temp/test.gpg" nil t)
  apply(epa-file-write-region (nil nil "/cygdrive/c/Temp/test.gpg" nil t)=
)
  (if op (apply op args) (epa-file-run-real-handler operation args))
  (let ((op (get operation (quote epa-file)))) (if op (apply op args)
(epa-file-run-real-handler operation args)))
  (progn (let ((op (get operation (quote epa-file)))) (if op (apply op
args) (epa-file-run-real-handler operation args))))
  (unwind-protect (progn (let ((op (get operation (quote epa-file))))
(if op (apply op args) (epa-file-run-real-handler operation args))))
(set-match-data save-match-data-internal (quote evaporate)))
  (let ((save-match-data-internal (match-data))) (unwind-protect (progn
(let ((op (get operation (quote epa-file)))) (if op (apply op args)
(epa-file-run-real-handler operation args)))) (set-match-data
save-match-data-internal (quote evaporate))))
  epa-file-handler(write-region nil nil "/cygdrive/c/Temp/test.gpg" nil t=
)
  write-region(nil nil "/cygdrive/c/Temp/test.gpg" nil t
"/cygdrive/c/Temp/test.gpg")
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer(1)
  #<subr call-interactively>(save-buffer nil nil)
  funcall(#<subr call-interactively> save-buffer nil nil)
  (with-no-warnings (funcall ad--addoit-function function record-flag key=
s))
  (setq ad-return-value (with-no-warnings (funcall ad--addoit-function
function record-flag keys)))
  (let ((ido-ubiquitous-next-override
(ido-ubiquitous-get-command-override function))) (setq ad-return-value
(with-no-warnings (funcall ad--addoit-function function record-flag keys)=
)))
  (ido-ubiquitous-with-override (ido-ubiquitous-get-command-override
function) (setq ad-return-value (with-no-warnings (funcall
ad--addoit-function function record-flag keys))))
  (let (ad-return-value) (ido-ubiquitous-with-override
(ido-ubiquitous-get-command-override function) (setq ad-return-value
(with-no-warnings (funcall ad--addoit-function function record-flag
keys)))) ad-return-value)
  ad-Advice-call-interactively(#<subr call-interactively> save-buffer
nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively>
(save-buffer nil nil))
  call-interactively(save-buffer nil nil)
  command-execute(save-buffer)


--=20
Jason Lewis
http://emacstragic.net



--QiPmvCvwC9gu9aCESC2FiNdHlRA3FlEr6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iQIcBAEBCAAGBQJS+VsWAAoJEPpXHsdQXnZO7hEP/j5FYqt0e8OpwrKQI/7to0vN
IoxiZBwWpjZM75PKirm8HSHGsGjRmvL7ERjM7j8F5hGzi262zoQZgxHX/uzdAadj
MTVdZm61+dUViETaIXdq+qqEUybYNPqUoitnGcb0s9UsY9CUT7RS0hlZS9F/qylC
GkAF8UNwnR0bd7s5xYrahFpJi7k04FjwTkk/+eSduVLftRCuWsK66zmomFNDlSBT
angk0BrckJ3e49N16/65QXnBJyjTDaLPE6GkpAAlfpBvxwkRSurSph2W5MNj0uxZ
nWSNVcnD4uNYeM+iO4Qik0qj8zGEzcwwFoSxu3BMAm/X1suiScs4NZQWxftbTaCm
nzMHjgSb+Z3Nts6OyVhfKvTsK57fuIfuHU9wVnvLS11Qd1hYNSctypZUW6qx6ea3
iAvVAaQ851nAEcApLgRa4fNuIoaaZQH3071gPe01pUcS1TfBMYmq7ANO6lHno3oF
8gPj107uSbtvSEtLFnCajYkgIY+9QYgZLmB6CjcbozD6FbQ4ooLQeWWrHHpsN/46
T3uJ0XMqbC3iSb1QSFaW8gbR/Emtb+dNSobj7SGghXa6bU5QCnZYFkUSFcDkE4s7
a38MHaILdgXpU962QfRdJZZPjP9VLPcc1Al/qrIv52gpO/+tZffU46b0iFtNYABX
9t6BJtsq1deOiV0Vec5A
=NDxu
-----END PGP SIGNATURE-----

--QiPmvCvwC9gu9aCESC2FiNdHlRA3FlEr6--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 8 Feb 2014 14:18:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 09:18:28 2014
Received: from localhost ([127.0.0.1]:56754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WC8jj-0006eK-TH
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2014 09:18:28 -0500
Received: from mtaout20.012.net.il ([80.179.55.166]:41940)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1WC8jd-0006e4-7m
 for 16679 <at> debbugs.gnu.org; Sat, 08 Feb 2014 09:18:25 -0500
Received: from conversion-daemon.a-mtaout20.012.net.il by
 a-mtaout20.012.net.il (HyperSendmail v2007.08) id
 <0N0O00700K7IRN00@HIDDEN> for 16679 <at> debbugs.gnu.org;
 Sat, 08 Feb 2014 16:18:19 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N0O00704L2JBP80@HIDDEN>;
 Sat, 08 Feb 2014 16:18:19 +0200 (IST)
Date: Sat, 08 Feb 2014 16:18:18 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50;
 can't create a newly encrypted gpg file with easypg in cygwin emacs
In-reply-to: <52F60161.90707@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Jason Lewis <jason@HIDDEN>
Message-id: <83ha89wuvp.fsf@HIDDEN>
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> <52F60161.90707@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 16679
Cc: rgm@HIDDEN, 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Sat, 08 Feb 2014 21:05:21 +1100
> From: Jason Lewis <jason@HIDDEN>
> CC: 16679 <at> debbugs.gnu.org
> 
> Because I like to live life on the edge, I decided to mount my user
> directory from my drive D:, following a procedure much like this one:
> 
> http://caskater4.blogspot.com.au/2007/09/moving-your-data-where-you-want-in.html
> 
> something like this:
> 
>  1. xcopy /E /H /O /X /Y /I C:\Users D:\Users
>  2. rmdir /S /Q C:\Users
>  3. rmdir "C:\Documents and Settings"
>  4. mklink /J C:\Users D:\Users
>  5. mklink /J "C:\Documents and Settings" D:\Users
> 
> I'm not in front of that computer right now but that sounds as though it
> has something to do with it.

Are you sure every program you use, starting with Emacs, fully
supports directory junction points created like that?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 8 Feb 2014 10:05:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 05:05:42 2014
Received: from localhost ([127.0.0.1]:56440 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WC4n7-00015T-AQ
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2014 05:05:41 -0500
Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:40650)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jason@HIDDEN>) id 1WC4n1-00015F-Ez
 for 16679 <at> debbugs.gnu.org; Sat, 08 Feb 2014 05:05:37 -0500
Received: from ppp167-253-181.static.internode.on.net (HELO
 debian.organictrader.com.au) ([59.167.253.181])
 by ipmail07.adl2.internode.on.net with ESMTP; 08 Feb 2014 20:35:32 +1030
Received: from tolkien.lan (ppp59-167-140-99.static.internode.on.net
 [59.167.140.99])
 by debian.organictrader.com.au (Postfix) with ESMTPSA id DF60D11A0224;
 Sat,  8 Feb 2014 21:05:30 +1100 (EST)
Message-ID: <52F60161.90707@HIDDEN>
Date: Sat, 08 Feb 2014 21:05:21 +1100
From: Jason Lewis <jason@HIDDEN>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Eli Zaretskii <eliz@HIDDEN>, Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#16679: 24.3.50; can't create a newly encrypted gpg file with
 easypg in cygwin emacs
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
 <8338jux9v9.fsf@HIDDEN> (sfid-20140208_195459_908338_FFFFFFFFE781FA80)
In-Reply-To: <8338jux9v9.fsf@HIDDEN>
 (sfid-20140208_195459_908338_FFFFFFFFE781FA80)
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="quB06buIFH8Rae9dL7IJNiRFKIaWAScb4"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16679
Cc: 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--quB06buIFH8Rae9dL7IJNiRFKIaWAScb4
Content-Type: multipart/alternative;
 boundary="------------020005020204060705030103"

This is a multi-part message in MIME format.
--------------020005020204060705030103
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 8/02/2014 7:54 pm, Eli Zaretskii wrote:
>> From: Glenn Morris <rgm@HIDDEN>
>> Date: Fri, 07 Feb 2014 20:42:25 -0500
>> Cc: 16679 <at> debbugs.gnu.org
>>
>> The fact that the file is actually on drive c but pretends to be on
>> drive d (?) seems odd to me, but may be totally normal for all I know =
of
>> Cygwin:
>>
>>   write-region(nil nil "/cygdrive/c/Users/jason/test.gpg" nil t "/cygd=
rive/d/Users/jason/test.gpg")
> No, it isn't normal.  "cygdrive/x" is the Cygwin incarnation of the
> Windows "x:" reference to a drive letter.  So I guess there's some
> problem somewhere, since I can hardly believe the OP has a d:/Users
> directory.
>
Ah, I didn't notice that in the backtrace, that was well spotted by Glen.=


Because I like to live life on the edge, I decided to mount my user
directory from my drive D:, following a procedure much like this one:

http://caskater4.blogspot.com.au/2007/09/moving-your-data-where-you-want-=
in.html

something like this:

 1. xcopy /E /H /O /X /Y /I C:\Users D:\Users
 2. rmdir /S /Q C:\Users
 3. rmdir "C:\Documents and Settings"
 4. mklink /J C:\Users D:\Users
 5. mklink /J "C:\Documents and Settings" D:\Users

I'm not in front of that computer right now but that sounds as though it
has something to do with it.

could it be that there is two ways the path is expanded in easypg? and
they return different results?

Jason


--=20
Jason Lewis
http://emacstragic.net


--------------020005020204060705030103
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3DISO-8859-1"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <div class=3D"moz-cite-prefix">On 8/02/2014 7:54 pm, Eli Zaretskii
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:8338jux9v9.fsf@HIDDEN%3E%20(sfid-20140208_195459_908338_FFFF=
FFFFE781FA80)"
      type=3D"cite">
      <blockquote type=3D"cite">
        <pre wrap=3D"">From: Glenn Morris <a class=3D"moz-txt-link-rfc239=
6E" href=3D"mailto:rgm@HIDDEN">&lt;rgm@HIDDEN&gt;</a>
Date: Fri, 07 Feb 2014 20:42:25 -0500
Cc: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:16679@HIDDEN=
u.org">16679 <at> debbugs.gnu.org</a>

The fact that the file is actually on drive c but pretends to be on
drive d (?) seems odd to me, but may be totally normal for all I know of
Cygwin:

  write-region(nil nil "/cygdrive/c/Users/jason/test.gpg" nil t "/cygdriv=
e/d/Users/jason/test.gpg")
</pre>
      </blockquote>
      <pre wrap=3D"">
No, it isn't normal.  "cygdrive/x" is the Cygwin incarnation of the
Windows "x:" reference to a drive letter.  So I guess there's some
problem somewhere, since I can hardly believe the OP has a d:/Users
directory.

</pre>
    </blockquote>
    Ah, I didn't notice that in the backtrace, that was well spotted by
    Glen.<br>
    <br>
    Because I like to live life on the edge, I decided to mount my user
    directory from my drive D:, following a procedure much like this
    one:<br>
    <br>
<a class=3D"moz-txt-link-freetext" href=3D"http://caskater4.blogspot.com.=
au/2007/09/moving-your-data-where-you-want-in.html">http://caskater4.blog=
spot.com.au/2007/09/moving-your-data-where-you-want-in.html</a><br>
    <br>
    something like this:<br>
    <br>
    <meta charset=3D"utf-8">
    <ol style=3D"color: rgb(51, 51, 51); font-family: Georgia, serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height:
      20.799999237060547px; orphans: auto; text-align: left;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">
      <li><span style=3D"font-style: italic;">xcopy /E /H /O /X /Y /I
          C:\Users D:\Users</span></li>
      <li><span style=3D"font-style: italic;">rmdir /S /Q C:\Users</span>=
</li>
      <li><span style=3D"font-style: italic;">rmdir "C:\Documents and
          Settings"</span></li>
      <li><span style=3D"font-style: italic;">mklink /J C:\Users D:\Users=
</span></li>
      <li><span style=3D"font-style: italic;">mklink /J "C:\Documents and=

          Settings" D:\Users</span></li>
    </ol>
    <p>I'm not in front of that computer right now but that sounds as
      though it has something to do with it.<br>
    </p>
    <p>could it be that there is two ways the path is expanded in
      easypg? and they return different results?<br>
    </p>
    <p>Jason<br>
    </p>
    <br>
    <pre class=3D"moz-signature" cols=3D"72">--=20
Jason Lewis
<a class=3D"moz-txt-link-freetext" href=3D"http://emacstragic.net">http:/=
/emacstragic.net</a></pre>
  </body>
</html>

--------------020005020204060705030103--

--quB06buIFH8Rae9dL7IJNiRFKIaWAScb4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS9gFqAAoJEPpXHsdQXnZOVVMP/izWlKvZ5vgCts4voNLPdt4o
Cv8aQX5N+shRBtPF9K91KEc/8ybpTO++06VM2fHZou7/2miAmcI9wacfnZNAowNp
iyQXUXdZPmdtaCQp7+PkMFylrPCj8FoSsyBlcCaoNxFY7U+ItxmYAE8ICmUkLrjn
58/woUGcBF+nVbdI/WdVkBJSCq0B6w0zwzagKm/nByUpEo4koEI3VNUwxgP+eD2F
SIqIEEKs5sbTD77yhLThDsvmrgorYgQzEGZibI8eQbzgxszCZHJYiEgnAqR2YmpW
tgp4ZJZB2VSAUN7RymZVaVkpEapeOKYtvuSWP+ghFZzIGnXJCcuQBGi5G5o2eJ8S
SyaYZX1FWjr4vCSYmiWuAdNskpSTZ8XHNkYdq0WL9lCya5X2zRh38hB4ZKSHj1w+
Z7yPAfOFNz+HgZ+kc+roG+xDHNH86hw0FVW74mmeYnAZsSip7d+S85MTPv55G3hN
VvJkHTi5Le0VhF0D1QE3xScihM3IJB2ZDR7V6KFaWiixrDr5pttkh7IlIYybrAOx
5DaP2vc3yf9cWuG90Ciyxo4rHzH2pMWSWowRNPFed6wtDyvpFXF/93pGTp/xutSe
r6VfktBfGN55vc/MdWsTF1En0BXawyZwIK8g5HnkRMV4PEcsx+q2e2hY/1jE0Qd6
yXlm0NVTAyNWWWJrrlgD
=Aqm8
-----END PGP SIGNATURE-----

--quB06buIFH8Rae9dL7IJNiRFKIaWAScb4--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 8 Feb 2014 08:54:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 03:54:57 2014
Received: from localhost ([127.0.0.1]:56386 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WC3ge-0007Th-Ck
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2014 03:54:56 -0500
Received: from mtaout28.012.net.il ([80.179.55.184]:41980)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1WC3gb-0007TU-F3
 for 16679 <at> debbugs.gnu.org; Sat, 08 Feb 2014 03:54:54 -0500
Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il
 (HyperSendmail v2007.08) id <0N0O00F005Y84200@HIDDEN> for
 16679 <at> debbugs.gnu.org; Sat, 08 Feb 2014 10:55:59 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N0O00BKR65B5740@HIDDEN>; Sat, 08 Feb 2014 10:55:59 +0200 (IST)
Date: Sat, 08 Feb 2014 10:54:34 +0200
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#16679: 24.3.50;
 can't create a newly encrypted gpg file with easypg in cygwin emacs
In-reply-to: <0m38juxtvi.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Glenn Morris <rgm@HIDDEN>
Message-id: <8338jux9v9.fsf@HIDDEN>
References: <52F464D1.7070804@HIDDEN> <0m38juxtvi.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 16679
Cc: 16679 <at> debbugs.gnu.org, jason@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: Glenn Morris <rgm@HIDDEN>
> Date: Fri, 07 Feb 2014 20:42:25 -0500
> Cc: 16679 <at> debbugs.gnu.org
> 
> The fact that the file is actually on drive c but pretends to be on
> drive d (?) seems odd to me, but may be totally normal for all I know of
> Cygwin:
> 
>   write-region(nil nil "/cygdrive/c/Users/jason/test.gpg" nil t "/cygdrive/d/Users/jason/test.gpg")

No, it isn't normal.  "cygdrive/x" is the Cygwin incarnation of the
Windows "x:" reference to a drive letter.  So I guess there's some
problem somewhere, since I can hardly believe the OP has a d:/Users
directory.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at 16679 <at> debbugs.gnu.org:


Received: (at 16679) by debbugs.gnu.org; 8 Feb 2014 01:42:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 20:42:32 2014
Received: from localhost ([127.0.0.1]:55579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WBwwB-000775-KA
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 20:42:32 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:53883)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1WBww6-00076o-Jl
 for 16679 <at> debbugs.gnu.org; Fri, 07 Feb 2014 20:42:27 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1WBww5-0004H1-HW; Fri, 07 Feb 2014 20:42:25 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Jason Lewis <jason@HIDDEN>
Subject: Re: bug#16679: 24.3.50;
 can't create a newly encrypted gpg file with easypg in cygwin emacs
References: <52F464D1.7070804@HIDDEN>
X-Spook: propaganda military chameleon man Rule Psix Juiliett
X-Ran: I#aI2i@HIDDEN+Z>"r6,*s&ABpqHwTdW4IepI:nNKO?CJiitjGsA|l5|Z}D19|<"3WaDSK
X-Hue: black
X-Attribution: GM
Date: Fri, 07 Feb 2014 20:42:25 -0500
In-Reply-To: <52F464D1.7070804@HIDDEN> (Jason Lewis's message of "Fri, 07
 Feb 2014 15:45:05 +1100")
Message-ID: <0m38juxtvi.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.6 (-----)
X-Debbugs-Envelope-To: 16679
Cc: 16679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.6 (-----)

Jason Lewis wrote:

> backtrace seems to include some control characters, i presume because
> the el files are compiled to elc
> unfortunately I was unable to determine which files I should change to
> .el files so it would have a proper backtrace

Thanks. Loading the uncompiled version of epa-file first may give a more
informative backtrace:

  M-x load-file path/to/lisp/epa-file.el

The fact that the file is actually on drive c but pretends to be on
drive d (?) seems odd to me, but may be totally normal for all I know of
Cygwin:

  write-region(nil nil "/cygdrive/c/Users/jason/test.gpg" nil t "/cygdrive/d/Users/jason/test.gpg")




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Feb 2014 05:31:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 00:31:47 2014
Received: from localhost ([127.0.0.1]:54075 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WBe2U-0001Ny-Lg
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 00:31:46 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48840)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jason@HIDDEN>) id 1WBe2T-0001No-0R
 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 00:31:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jason@HIDDEN>) id 1WBe2M-0004gE-UI
 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 00:31:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55265)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jason@HIDDEN>) id 1WBe2M-0004gA-Qr
 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2014 00:31:38 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50537)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jason@HIDDEN>) id 1WBe2G-0006eM-VN
 for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2014 00:31:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jason@HIDDEN>) id 1WBe2B-0004eS-5M
 for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2014 00:31:32 -0500
Received: from ipmail07.adl2.internode.on.net
 ([2001:44b8:8060:ff02:300:1:2:7]:27409)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jason@HIDDEN>) id 1WBe2A-0004eG-PJ
 for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2014 00:31:27 -0500
Received: from ppp167-253-181.static.internode.on.net (HELO
 debian.organictrader.com.au) ([59.167.253.181])
 by ipmail07.adl2.internode.on.net with ESMTP; 07 Feb 2014 15:15:14 +1030
Received: from [10.0.2.240] (unknown [10.0.2.240])
 by debian.organictrader.com.au (Postfix) with ESMTPSA id 2C74511A0224
 for <bug-gnu-emacs@HIDDEN>; Fri,  7 Feb 2014 15:45:10 +1100 (EST)
Message-ID: <52F464D1.7070804@HIDDEN>
Date: Fri, 07 Feb 2014 15:45:05 +1100
From: Jason Lewis <jason@HIDDEN>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
 rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23
 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; can't create a newly encrypted gpg file with easypg in cygwin
 emacs
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="LT3aMQEQArc1W7BnlDNFm0V1et6I1uWG5"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--LT3aMQEQArc1W7BnlDNFm0V1et6I1uWG5
Content-Type: multipart/mixed;
 boundary="------------020000070404050601020606"

This is a multi-part message in MIME format.
--------------020000070404050601020606
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Creating a new file that is to be encrypted in emacs with easypg fails
with the error: Opening output file: stringp, nil

Steps to reproduce:

emacs -Q

(require 'epa-file)
(epa-file-enable)

C-x C-f somefile.gpg <enter>

type some text and try and save the file with C-x C-s

observe error: Opening output file: stringp, nil
and file is not saved.

I expect it should ask me which gpg key I want to encrypt the file for
rather than throwing an error.

I tested this with emacs -Q under cygwin and got the error
emacs compiled today from git. version "24.3.50.1"
checkout: fa431ad4a3f3040f6cc4535627c4d6f48ede9a94


I also tested on linux emacs v. 24.3.50.1
where it seems to work as expected.

backtrace seems to include some control characters, i presume because
the el files are compiled to elc
unfortunately I was unable to determine which files I should change to
=2Eel files so it would have a proper backtrace

included here in case that's of use?






Jason Lewis
http://emacstragic.net


--------------020000070404050601020606
Content-Type: application/x-gzip;
 name="easypg-backtrace.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="easypg-backtrace.gz"

H4sICM5h9FIAA2Vhc3lwZy1iYWNrdHJhY2UA3VQ7T8MwEEZi68JfOIXFGUwebanEBoINqVIl
pqaDm15co9SxbKel/55zBCgVReWxMZx89/ke332JfI/LVkq0gNqjxRXnj8oZQGsbewOsUjXy
LoBoalArLaFpvWk9hKsInLeEGdCqjgcATkkt6n4ZO10XCi/n+XgCUTFMM7IhWVrko7zQRUQn
+enw4qy7DegwHdFJfpaSPya7Jpuc396F9HQSwZxFSbmXK6u2mJTJk0PrkmfhGp14dP5KGhnF
wMJ4QCN4x9gI58zaCodc1Mp5oLgpA8e3xeCUHgsY0xK60KzS8DCbTWdxtGBsZxstud8bamxl
uyGxPylQtboUdc3+sxLwLSU+WOys8sgtStXoQLCbf3qbLs2HTsKYes+O9oOfNzzgthZ6VaNl
Bz1/w/FPS/YTV198W5qxFE6V3Ikt8mVbVWh5zo7j2XG8Q/txFoDwv3IVHg5ReqJAWvdy3tXo
MpvNhgTj+IJl67GfFg9eARwzbwmEBAAA
--------------020000070404050601020606--

--LT3aMQEQArc1W7BnlDNFm0V1et6I1uWG5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iQIcBAEBCAAGBQJS9GTUAAoJEPpXHsdQXnZOrS4P/3jRxXuwgIVh3gzQGbIb+D81
l1hwlUh9j6lnobrLPSND0tzLj3nOzm+ozH0yIDguKx9st+hCwo3PdE1RcSXFNmFf
dvVDOcufiaKIM2/HUOraKH7RU7psTNB5dvMTBVdzkuAtgw8qZNcDN8FmlgA6B3/9
x00l+p1I7Looexlrw8pjgp8cO+Jeujwu/CsCTJneLzYAlD4kQm7PcsK//W1GLwxC
HhgQCbYUwwaBBvCkoMEOt6L45Xe19nHVOHvo2npMTHIQqVEeR3zl2V39SqeW5ijn
P2+ZmRCZ5qz8kvpAFxg4+ArnbL/RtfcwxkIGY7Tq5TXOa+2HIMrndRvUE1elyUU2
ulDHQD/gQGPg4H+bu7oVuTuh6nltyEhSXIuxN5uQ48Oe59EJxH1aW0VrrlZK/lQb
5sAk+R9QPsP6SxswAK6MjnaxOGf+LR9t4yV1u403mRMp2FD1lRCPZo7NUIaC7Pj6
6Jnwmcu/QXkPpnylBYBu33xFD9/j7eZEIWQcvk0jPj1BFln8wIlJPFVyGySink/2
kDYZxpeYVRx3846qDo731zgKjI0plY2/1DL72V1PL6nostMPAL1xqP1J7+dDw4s8
0Or/NbZpPwjSK+pNMY1J7p8bHIdBDJCQJ2DQQCAIKJVYxZEMkPILiQojKYZXPvWX
mw7klnO/coRwjS67+dEv
=46iL
-----END PGP SIGNATURE-----

--LT3aMQEQArc1W7BnlDNFm0V1et6I1uWG5--




Acknowledgement sent to Jason Lewis <jason@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#16679; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.