help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting file extensions to be handled by gpg encryption problem


From: Steve Revilak
Subject: Re: Setting file extensions to be handled by gpg encryption problem
Date: Sat, 6 Nov 2010 17:11:59 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

From: bar tomas

Many thanks for your help, but the regular expression you suggest
doesn't seem to capture file names with extension txt or gpg.
I've tried to test it in an emacs buffer and tried both
(\\.txt$)|(\\.gpg$) and (\.txt$)|(\.gpg$) but it doesn't seem to work
either.

Tomas,

I believe that

(custom-set-variables '(epa-file-name-regexp "\\.\\(txt\\|gpg\\)$"))

may be what you're looking for.

Steve

Attachment: pgpqq9oQqG7XG.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]