From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.help Subject: Re: Setting file extensions to be handled by gpg encryption problem Date: Sat, 6 Nov 2010 17:11:59 -0400 Message-ID: <20101106211159.GB8911@srevilak.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HnQK338I3UIa/qiP" X-Trace: dough.gmane.org 1289077954 31822 80.91.229.12 (6 Nov 2010 21:12:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 6 Nov 2010 21:12:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 06 22:12:30 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PEq3q-00065m-Ll for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Nov 2010 22:12:30 +0100 Original-Received: from localhost ([127.0.0.1]:46185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEq3q-0000zF-2S for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Nov 2010 17:12:30 -0400 Original-Received: from [140.186.70.92] (port=60382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEq3S-0000xp-E0 for help-gnu-emacs@gnu.org; Sat, 06 Nov 2010 17:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEq3R-0003LM-0N for help-gnu-emacs@gnu.org; Sat, 06 Nov 2010 17:12:06 -0400 Original-Received: from mail1.sea5.speakeasy.net ([69.17.117.39]:36507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEq3Q-0003L0-Pt for help-gnu-emacs@gnu.org; Sat, 06 Nov 2010 17:12:04 -0400 Original-Received: (qmail 9823 invoked from network); 6 Nov 2010 21:12:02 -0000 Original-Received: from pool-98-110-168-144.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[98.110.168.144]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 6 Nov 2010 21:12:02 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75308 Archived-At: --HnQK338I3UIa/qiP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >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=20 '(epa-file-name-regexp "\\.\\(txt\\|gpg\\)$")) may be what you're looking for. Steve --HnQK338I3UIa/qiP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkzVxJ8ACgkQX7YJI4BuyDSppQCfSlxnGBbpZSEbD8fvZbcVIlze fZAAnimeNMAgHB5GS5S8ENbn+sQzGxjV =Ztp+ -----END PGP SIGNATURE----- --HnQK338I3UIa/qiP--