From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Lewis Newsgroups: gmane.emacs.bugs Subject: bug#16679: 24.3.50; can't create a newly encrypted gpg file with easypg in cygwin emacs Date: Sat, 08 Feb 2014 21:05:21 +1100 Message-ID: <52F60161.90707@dickson.st> References: <52F464D1.7070804@dickson.st> <0m38juxtvi.fsf@fencepost.gnu.org> <8338jux9v9.fsf@gnu.org> (sfid-20140208_195459_908338_FFFFFFFFE781FA80) NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="quB06buIFH8Rae9dL7IJNiRFKIaWAScb4" X-Trace: ger.gmane.org 1391854049 14975 80.91.229.3 (8 Feb 2014 10:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 10:07:29 +0000 (UTC) Cc: 16679@debbugs.gnu.org To: Eli Zaretskii , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 11:07:36 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WC4oy-0007Cc-Co for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 11:07:36 +0100 Original-Received: from localhost ([::1]:45932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC4ox-0006km-Tt for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 05:07:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC4nZ-0004nB-Lv for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC4nT-0005h6-CK for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC4nT-0005h0-7c for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WC4nS-00016A-OI for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jason Lewis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 10:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16679 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16679-submit@debbugs.gnu.org id=B16679.13918539424187 (code B ref 16679); Sat, 08 Feb 2014 10:06:02 +0000 Original-Received: (at 16679) by debbugs.gnu.org; 8 Feb 2014 10:05:42 +0000 Original-Received: from localhost ([127.0.0.1]:56440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC4n7-00015T-AQ for submit@debbugs.gnu.org; Sat, 08 Feb 2014 05:05:41 -0500 Original-Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:40650) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC4n1-00015F-Ez for 16679@debbugs.gnu.org; Sat, 08 Feb 2014 05:05:37 -0500 Original-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 Original-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) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <8338jux9v9.fsf@gnu.org> (sfid-20140208_195459_908338_FFFFFFFFE781FA80) X-Enigmail-Version: 1.6 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84926 Archived-At: 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 >> Date: Fri, 07 Feb 2014 20:42:25 -0500 >> Cc: 16679@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
On 8/02/2014 7:54 pm, Eli Zaretskii wrote:
From: Glenn Morris <rgm@gnu.org>
Date: Fri, 07 Feb 2014 20:42:25 -0500
Cc: 16679@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 "/cygdriv=
e/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.blog= spot.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-- --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--