unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Lewis <jason@dickson.st>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 16679@debbugs.gnu.org
Subject: bug#16679: 24.3.50; can't create a newly encrypted gpg file with easypg in cygwin emacs
Date: Wed, 12 Feb 2014 13:38:18 +1100	[thread overview]
Message-ID: <52FADE9A.4050907@dickson.st> (raw)
In-Reply-To: <83a9dxtz29.fsf@gnu.org> (sfid-20140212_030540_749735_7638EE8E)

[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

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)))) 

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

-- 
Jason Lewis
http://emacstragic.net



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]

  reply	other threads:[~2014-02-12  2:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07  4:45 bug#16679: 24.3.50; can't create a newly encrypted gpg file with easypg in cygwin emacs Jason Lewis
2014-02-08  1:42 ` Glenn Morris
2014-02-08  8:54   ` Eli Zaretskii
2014-02-08 10:05     ` Jason Lewis
2014-02-08 14:18       ` Eli Zaretskii
2014-02-10 23:04         ` Jason Lewis
2014-02-11  3:46           ` Eli Zaretskii
2014-02-11  5:15             ` Jason Lewis
2014-02-11 16:05               ` Eli Zaretskii
2014-02-12  2:38                 ` Jason Lewis [this message]
2019-08-30 10:59                   ` Lars Ingebrigtsen
2019-08-30 11:44                     ` Jason Lewis
2019-09-04 13:00                       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52FADE9A.4050907@dickson.st \
    --to=jason@dickson.st \
    --cc=16679@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).