unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Nick Helm <nick@tenpoint.co.nz>
Cc: 20621@debbugs.gnu.org
Subject: bug#20621: Encrypted files auto-saved in plain text during remote edit
Date: Tue, 26 May 2015 09:42:47 +0200	[thread overview]
Message-ID: <878ucb3hu0.fsf@gmx.de> (raw)
In-Reply-To: <D6D6D226-5100-48E2-9C94-9495CFB5573D@tenpoint.co.nz> (Nick Helm's message of "Wed, 20 May 2015 23:57:35 +0000")

Nick Helm <nick@tenpoint.co.nz> writes:

Hi Nick,

> 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?

Thanks for the report, and best regards, Michael.





  reply	other threads:[~2015-05-26  7:42 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 [this message]
2015-05-27  4:06   ` Nick Helm
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ucb3hu0.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=20621@debbugs.gnu.org \
    --cc=nick@tenpoint.co.nz \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).