all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Helm <nick@tenpoint.co.nz>
To: "20621@debbugs.gnu.org" <20621@debbugs.gnu.org>
Cc: Michael Albinus <michael.albinus@gmx.de>
Subject: bug#20621: Encrypted files auto-saved in plain text during remote edit
Date: Wed, 27 May 2015 04:06:45 +0000	[thread overview]
Message-ID: <7972580E-0136-4143-9A80-3E188C1114AF@tenpoint.co.nz> (raw)
In-Reply-To: <878ucb3hu0.fsf@gmx.de>


> On 26/05/2015, at 7:42 pm, Michael Albinus <michael.albinus@gmx.de> wrote:
> 
>> When using Tramp and EPA to edit an encrypted file on a remote machine, Emacs
>> auto-saves the file in unencrypted plain text.
> 
> Yes, indeed. Tramp sets unconditionally auto-save-mode to 1, overwriting
> existing values. OTOH, epa sets this by default to nil.
> 
> This Tramp behaviour is 15 years old; I cannot see why it was
> needed. Maybe in some older Emacsen, or XEmacs, only? Anyway, I have
> removed it from Tramp. Let's see whether somebody will complain.
> 
> I have submitted the patch to both Emacs and Tramp repositories; could
> you, please, check?

Yep, that's fixed it here. I see the same auto-save behaviour as editing an epa file
in a local-buffer now. 

Thanks!






  reply	other threads:[~2015-05-27  4:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 23:57 bug#20621: Encrypted files auto-saved in plain text during remote edit Nick Helm
2015-05-26  7:42 ` Michael Albinus
2015-05-27  4:06   ` Nick Helm [this message]
2015-05-27  7:23     ` Michael Albinus

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=7972580E-0136-4143-9A80-3E188C1114AF@tenpoint.co.nz \
    --to=nick@tenpoint.co.nz \
    --cc=20621@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.