unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setting file extensions to be handled by gpg encryption problem
@ 2010-11-04 10:36 bar tomas
  2010-11-04 11:45 ` Bruno Tavernier
  0 siblings, 1 reply; 11+ messages in thread
From: bar tomas @ 2010-11-04 10:36 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I'm using gpg to encrypt files and I would like that files with 'txt'
extension be treated like 'gpg' files.
I read in the doc that this can be controlled with the variable
epa-file-name-regexp
So I added the following line at the end of my .emacs file

(setq epa-file-name-regexp "\\.txt$")

But this has absolutely no effect. I mean, if I create a txt file with
emacs, when I save it I would like for emacs to ask for an encryption
paraphrase, but it does not.

I have very little knowledge of the .emacs file, so maybe the line I
added is wrong?
Many thanks for any help



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-11-08  9:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04 10:36 Setting file extensions to be handled by gpg encryption problem bar tomas
2010-11-04 11:45 ` Bruno Tavernier
2010-11-04 12:24   ` bar tomas
2010-11-04 15:39     ` bar tomas
2010-11-05  5:01       ` PJ Weisberg
2010-11-06 14:15         ` bar tomas
2010-11-06 17:20           ` Suvayu Ali
2010-11-06 18:03           ` Thierry Volpiatto
2010-11-06 21:11           ` Steve Revilak
2010-11-08  9:40             ` bar tomas
     [not found]     ` <mailman.2.1288886101.27623.help-gnu-emacs@gnu.org>
2010-11-04 19:42       ` Stefan Monnier

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).