From: Chong Yidong <cyd@stupidchicken.com>
To: Daiki Ueno <ueno@unixuser.org>
Cc: Memnon Anon <gegendosenfleisch@googlemail.com>,
2629@emacsbugs.donarmstrong.com
Subject: bug#2629: 23.0.91; emacs-snapshot20090308: epa can not save .gpg buffer
Date: Thu, 12 Mar 2009 10:09:57 -0400 [thread overview]
Message-ID: <877i2uq1ca.fsf@cyd.mit.edu> (raw)
In-Reply-To: <49b8bd03.0305560a.6790.2cfe@mx.google.com> (Memnon Anon's message of "Thu, 12 Mar 2009 08:41:33 +0100")
Hi Daiki,
Could you take a look at Bug#2629? Thanks.
Memnon Anon <gegendosenfleisch@googlemail.com> writes:
> Chong Yidong <cyd@stupidchicken.com> writes:
> [...]
>>
>> I can't reproduce this bug.
>>
>> Could you please go to epa-file.el, and do M-x eval buffer RET, then
>> trigger the bug again? That might provide a more informative Lisp
>> backtrace. Thanks.
>
> Did so. This is from my running emacs, but I verified the problem is
> also when emacs-snapshot is started -Q.
> I would love to do more, but I can't. :(
>
> Output of toggle-debug-on-error:
>
> Debugger entered--Lisp error: (file-error "Opening output file" integer-or-marker-p nil)
> signal(file-error ("Opening output file" integer-or-marker-p nil))
> (condition-case error (setq string (epg-encrypt-string context ... ...)) (error (if ... ...) (signal ... ...)))
> (let* ((coding-system ...) (context ...) (coding-system-for-write ...) string entry (recipients ...)) (epg-context-set-passphrase-callback context (cons ... file)) (epg-context-set-progress-callback context (function epa-progress-callback-function)) (epg-context-set-armor context epa-armor) (condition-case error (setq string ...) (error ... ...)) (epa-file-run-real-handler (function write-region) (list string nil file append visit lockname mustbenew)) (if (boundp ...) (setq last-coding-system-used coding-system)) (if (eq visit t) (progn ... ...) (if ... ...)) (if (or ... ... ...) (message "Wrote %s" buffer-file-name)))
> epa-file-write-region(nil nil "/home/username/testing.gpg" nil t)
> apply(epa-file-write-region (nil nil "/home/username/testing.gpg" nil t))
> (if op (apply op args) (epa-file-run-real-handler operation args))
> (let ((op ...)) (if op (apply op args) (epa-file-run-real-handler operation args)))
> (progn (let (...) (if op ... ...)))
> (unwind-protect (progn (let ... ...)) (set-match-data save-match-data-internal (quote evaporate)))
> (let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-match-data save-match-data-internal ...)))
> (save-match-data (let (...) (if op ... ...)))
> epa-file-handler(write-region nil nil "/home/username/testing.gpg" nil t)
> write-region(nil nil "/home/username/testing.gpg" nil t "~/testing.gpg")
> basic-save-buffer-2()
> basic-save-buffer-1()
> basic-save-buffer()
> save-buffer(1)
> call-interactively(save-buffer nil nil)
next prev parent reply other threads:[~2009-03-12 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 4:16 bug#2629: 23.0.91; emacs-snapshot20090308: epa can not save .gpg buffer Chong Yidong
2009-03-12 7:41 ` Memnon Anon
2009-03-12 14:09 ` Chong Yidong [this message]
2009-03-12 20:55 ` Daiki Ueno
-- strict thread matches above, loose matches on Subject: below --
2009-03-10 20:43 gegendosenfleisch
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877i2uq1ca.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=2629@emacsbugs.donarmstrong.com \
--cc=gegendosenfleisch@googlemail.com \
--cc=ueno@unixuser.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.