]> code.delx.au - gnu-emacs/commit
epg: Collect output lines sent to stderr
authorDaiki Ueno <ueno@gnu.org>
Wed, 5 Nov 2014 09:38:37 +0000 (18:38 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 5 Nov 2014 09:38:37 +0000 (18:38 +0900)
commit5e28461482115baee4d1f28f514a322a50774b75
treef8ad9ff505c42b017e960887578a27a3c0cdd462
parentb6e66a5cc78e353ff9ae6cdd0807eefcf55b4934
epg: Collect output lines sent to stderr

* epg.el (epg-context): Add new slot ERROR-OUTPUT.
(epg-error-output): New buffer-local variable.
(epg--start): Initialize epg-error-output.
(epg--process-filter): Record output lines sent to stderr, in
epg-error-output.
(epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
slot of context.
* epa-file.el (epa-file-insert-file-contents): On error, display
output sent to stderr.
(epa-file-write-region): Likewise.
lisp/ChangeLog
lisp/epa-file.el
lisp/epg.el