all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
To: emacs-pretest-bug@gnu.org
Cc: bug-gnu-emacs@gnu.org
Subject: bug#545: 23.0.60; epg - cannot save changes on encrypted files
Date: Sat, 12 Jul 2008 06:05:37 -0700	[thread overview]
Message-ID: <87lk079rry.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: 87lk09299j.fsf@literaturlatenight.de

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







  reply	other threads:[~2008-07-12 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
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

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=87lk079rry.fsf@offby1.atm01.sea.blarg.net \
    --to=offby1@blarg.net \
    --cc=545@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=emacs-pretest-bug@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 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.