* bug#545: 23.0.60; epg - cannot save changes on encrypted files @ 2008-07-10 12:50 ` henry atting 2008-07-12 13:05 ` Eric Hanchrow 2008-07-14 19:25 ` bug#545: marked as done (23.0.60; epg - cannot save changes on encrypted files) Emacs bug Tracking System 0 siblings, 2 replies; 4+ messages in thread From: henry atting @ 2008-07-10 12:50 UTC (permalink / raw) To: emacs-pretest-bug [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 5288 bytes --] Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I can encrypt/decrypt files with epa, but saving changes on those files does not work. 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)) byte-code("Ä\b \"\x12\r\0\nÅ¡ÆÇÈ\vAB\"" [file epa-file-passphrase-alist entry error assoc nil signal file-error "Opening output file"] 4) epa-file-write-region(nil nil "/home/atting/secret.nry.gpg" nil t) apply(epa-file-write-region (nil nil "/home/atting/secret.nry.gpg" nil t)) epa-file-handler(write-region nil nil "/home/atting/secret.nry.gpg" nil t) write-region(nil nil "/home/atting/secret.nry.gpg" nil t "~/secret.nry.gpg") basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer() save-buffer(1) call-interactively(save-buffer nil nil) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/atting/emacs_current/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10) of 2008-07-03 on ylenn Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit=gtk' '--with-xft' '--prefix=/home/atting/emacs_current'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Summary Minor modes in effect: shell-dirtrack-mode: t desktop-save-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <down> <right> <right> <right> <right> <right> <right> <right> <return> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <left> <left> <left> <left> <right> <right> <right> <return> <switch-frame> <switch-frame> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <up> <return> <down> <return> n <down> <return> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <return> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> <up> <return> <up> <up> <return> <up> <return> <up> <return> <up> <return> <up> <return> <up> <return> q <up> <up> <down> <return> <return> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> q <up> m <f4> <return> 2 <return> a <f4> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <escape> x e m a <tab> r e <tab> <backspace> <backspace> b u <tab> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> r e <tab> p <tab> o <tab> r <tab> b <tab> <return> Recent messages: Scoring...done Generating summary...done Exiting summary buffer and applying spam rules Parsing /home/atting/.mailrc... done Retrieving newsgroup: nntp+news.gmane.org:gmane.emacs.pretest.bugs... Fetching headers for nntp+news.gmane.org:gmane.emacs.pretest.bugs...done Scoring...done Generating summary...done No more unread articles Making completion list... [3 times] ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#545: 23.0.60; epg - cannot save changes on encrypted files 2008-07-10 12:50 ` bug#545: 23.0.60; epg - cannot save changes on encrypted files henry atting @ 2008-07-12 13:05 ` Eric Hanchrow 2008-07-13 6:57 ` henry atting 2008-07-14 19:25 ` bug#545: marked as done (23.0.60; epg - cannot save changes on encrypted files) Emacs bug Tracking System 1 sibling, 1 reply; 4+ messages in thread From: Eric Hanchrow @ 2008-07-12 13:05 UTC (permalink / raw) To: emacs-pretest-bug; +Cc: bug-gnu-emacs Try this: diff --git a/lisp/epa-file.el b/lisp/epa-file.el index 25edba5..f621a53 100644 --- a/lisp/epa-file.el +++ b/lisp/epa-file.el @@ -182,6 +182,9 @@ context (if (stringp start) (epa-file--encode-coding-string start coding-system) + (unless start + (setq start (point-min) + end (point-max))) (epa-file--encode-coding-string (buffer-substring start end) coding-system)) (if (or epa-file-select-keys (This patch has already been checked in) -- A DRE voting system is one of the simplest computer applications you could imagine. It just adds by one. -- Brit Williams, emeritus professor of computer science ^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#545: 23.0.60; epg - cannot save changes on encrypted files 2008-07-12 13:05 ` Eric Hanchrow @ 2008-07-13 6:57 ` henry atting 0 siblings, 0 replies; 4+ messages in thread From: henry atting @ 2008-07-13 6:57 UTC (permalink / raw) To: emacs-pretest-bug Eric Hanchrow wrote: > Try this: > > diff --git a/lisp/epa-file.el b/lisp/epa-file.el > index 25edba5..f621a53 100644 > --- a/lisp/epa-file.el > +++ b/lisp/epa-file.el > @@ -182,6 +182,9 @@ > context > (if (stringp start) > (epa-file--encode-coding-string start coding-system) > + (unless start > + (setq start (point-min) > + end (point-max))) > (epa-file--encode-coding-string (buffer-substring start end) > coding-system)) > (if (or epa-file-select-keys > > (This patch has already been checked in) Thanks, works fine. henry ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#545: marked as done (23.0.60; epg - cannot save changes on encrypted files) 2008-07-10 12:50 ` bug#545: 23.0.60; epg - cannot save changes on encrypted files henry atting 2008-07-12 13:05 ` Eric Hanchrow @ 2008-07-14 19:25 ` Emacs bug Tracking System 1 sibling, 0 replies; 4+ messages in thread From: Emacs bug Tracking System @ 2008-07-14 19:25 UTC (permalink / raw) To: Glenn Morris [-- Attachment #1: Type: text/plain, Size: 880 bytes --] Your message dated Mon, 14 Jul 2008 15:19:10 -0400 with message-id <gjod50p93l.fsf@fencepost.gnu.org> and subject line Re: bug#545: 23.0.60; epg - cannot save changes on encrypted files has caused the Emacs bug report #545, regarding 23.0.60; epg - cannot save changes on encrypted files to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) -- 545: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=545 Emacs Bug Tracking System Contact don@donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 7446 bytes --] From: henry atting <atting@literaturlatenight.de> To: emacs-pretest-bug@gnu.org Subject: 23.0.60; epg - cannot save changes on encrypted files Date: Thu, 10 Jul 2008 14:50:32 +0200 Message-ID: <87lk09299j.fsf@literaturlatenight.de> [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2.1: Type: text/plain; charset=us-ascii, Size: 5282 bytes --] From: henry atting <atting@literaturlatenight.de> To: emacs-pretest-bug@gnu.org Subject: 23.0.60; epg - cannot save changes on encrypted files Date: Thu, 10 Jul 2008 14:50:32 +0200 Message-ID: <87lk09299j.fsf@literaturlatenight.de> Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I can encrypt/decrypt files with epa, but saving changes on those files does not work. 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)) byte-code("Ä\b \"\x12\r\0\nÅ¡ÆÇÈ\vAB\"" [file epa-file-passphrase-alist entry error assoc nil signal file-error "Opening output file"] 4) epa-file-write-region(nil nil "/home/atting/secret.nry.gpg" nil t) apply(epa-file-write-region (nil nil "/home/atting/secret.nry.gpg" nil t)) epa-file-handler(write-region nil nil "/home/atting/secret.nry.gpg" nil t) write-region(nil nil "/home/atting/secret.nry.gpg" nil t "~/secret.nry.gpg") basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer() save-buffer(1) call-interactively(save-buffer nil nil) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/atting/emacs_current/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.10) of 2008-07-03 on ylenn Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit=gtk' '--with-xft' '--prefix=/home/atting/emacs_current'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Summary Minor modes in effect: shell-dirtrack-mode: t desktop-save-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <down> <right> <right> <right> <right> <right> <right> <right> <return> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <left> <left> <left> <left> <right> <right> <right> <return> <switch-frame> <switch-frame> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <up> <return> <down> <return> n <down> <return> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <return> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> <up> <return> <up> <up> <return> <up> <return> <up> <return> <up> <return> <up> <return> <up> <return> q <up> <up> <down> <return> <return> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> q <up> m <f4> <return> 2 <return> a <f4> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <escape> x e m a <tab> r e <tab> <backspace> <backspace> b u <tab> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> r e <tab> p <tab> o <tab> r <tab> b <tab> <return> Recent messages: Scoring...done Generating summary...done Exiting summary buffer and applying spam rules Parsing /home/atting/.mailrc... done Retrieving newsgroup: nntp+news.gmane.org:gmane.emacs.pretest.bugs... Fetching headers for nntp+news.gmane.org:gmane.emacs.pretest.bugs...done Scoring...done Generating summary...done No more unread articles Making completion list... [3 times] [-- Attachment #3: Type: message/rfc822, Size: 1731 bytes --] From: Glenn Morris <rgm@gnu.org> To: 545-done@emacsbugs.donarmstrong.com Subject: Re: bug#545: 23.0.60; epg - cannot save changes on encrypted files Date: Mon, 14 Jul 2008 15:19:10 -0400 Message-ID: <gjod50p93l.fsf@fencepost.gnu.org> henry atting wrote: > Eric Hanchrow wrote: > >> Try this: [...] >> (This patch has already been checked in) > > Thanks, works fine. Hence closing this bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-14 19:25 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <gjod50p93l.fsf@fencepost.gnu.org> 2008-07-10 12:50 ` bug#545: 23.0.60; epg - cannot save changes on encrypted files henry atting 2008-07-12 13:05 ` Eric Hanchrow 2008-07-13 6:57 ` henry atting 2008-07-14 19:25 ` bug#545: marked as done (23.0.60; epg - cannot save changes on encrypted files) Emacs bug Tracking System
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.