• Daiki Ueno's avatar
    epg: Collect output lines sent to stderr · 5e284614
    Daiki Ueno authored
    * 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.
    5e284614
epa-file.el 11.1 KB