From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bar tomas Newsgroups: gmane.emacs.help Subject: Re: Setting file extensions to be handled by gpg encryption problem Date: Mon, 8 Nov 2010 09:40:19 +0000 Message-ID: References: <20101106211159.GB8911@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289209258 10942 80.91.229.12 (8 Nov 2010 09:40:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2010 09:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 08 10:40:54 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 1PFODb-0007Zx-Ls for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Nov 2010 10:40:51 +0100 Original-Received: from localhost ([127.0.0.1]:43436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFODb-0003ym-6l for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Nov 2010 04:40:51 -0500 Original-Received: from [140.186.70.92] (port=55958 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFOD8-0003ye-SS for help-gnu-emacs@gnu.org; Mon, 08 Nov 2010 04:40:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFOD7-0001cP-Lw for help-gnu-emacs@gnu.org; Mon, 08 Nov 2010 04:40:22 -0500 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:42917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFOD7-0001c7-IU for help-gnu-emacs@gnu.org; Mon, 08 Nov 2010 04:40:21 -0500 Original-Received: by yxm34 with SMTP id 34so3970092yxm.0 for ; Mon, 08 Nov 2010 01:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=3Hg37CqpoTJEw96zqYlKy/lqTiX6dii5EbvkyWlYk9s=; b=RYDMbw9md73UQWMhEvTtKC6rORns8ROwWuK/1d2uY9ZF8M0iMyUNUjmCuS+jsemvMg HTlsLvHlTuZFRPRPJEtTZv/jt13/4TljDvsMNMDvlpTfVTDT3QpHQgoVeYuqRDiYMObj o7nyyeFrVH4iNXdMIvRz32nIiUQlC7xNaiukQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=puNn2fQmWeQvRHMidzVWLE6T1FgutCpWPkcpUOAtBXcIo84nOK/3W2F+BfWPgssqrT gEVwOiaDgpXp3EHt4R94LnAaL3CXe/XMU9ans/1WBXkdZwErzP3qVyxPT9c8nlz3DQUA 3+5zWLllO30fTstfSc47Ax8i+wAAth0lw0C0Y= Original-Received: by 10.42.174.137 with SMTP id v9mr169519icz.287.1289209220016; Mon, 08 Nov 2010 01:40:20 -0800 (PST) Original-Received: by 10.42.171.136 with HTTP; Mon, 8 Nov 2010 01:40:19 -0800 (PST) In-Reply-To: <20101106211159.GB8911@srevilak.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:75312 Archived-At: Many thanks for all the replies. It works now. On Sat, Nov 6, 2010 at 9:11 PM, Steve Revilak wrote: >> 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 > > =A0(custom-set-variables =A0 =A0'(epa-file-name-regexp "\\.\\(txt\\|gpg\\= )$")) > > may be what you're looking for. > > Steve >