Gnus development mailing list
 help / color / mirror / Atom feed
From: Daiki Ueno <ueno@unixuser.org>
To: Adrian Aichner <adrian@xemacs.org>
Cc: ding@gnus.org
Subject: Re: EasyPG 0.0.12
Date: Wed, 30 May 2007 17:30:27 +0900	[thread overview]
Message-ID: <aa421bbf-1180-46db-850f-143c8e89580f@well-done.deisui.org> (raw)
In-Reply-To: <loom.20070530T090846-624@post.gmane.org> (Adrian Aichner's message of "Wed, 30 May 2007 07:24:09 +0000 (UTC)")

>>>>> In <loom.20070530T090846-624@post.gmane.org> 
>>>>>	Adrian Aichner <adrian@xemacs.org> wrote:
> Hi Daiki!

> ah, inhibiting file-name-handlers might be an option, even though I
> don't know whether it will break existing cusomizations out there.

I just tried the following setting.  It seems to work as you expected.

(setq epa-file-name-regexp "\\.gpg\\(~\\|\\.~[.0-9]+~\\)?\\'")

(defadvice vc-version-other-window
  (around inhibit-epa-file-handler)
  (let ((inhibit-file-name-handlers '(epa-file-handler))
	(inhibit-file-name-operation 'write-region)
	(coding-system-for-write 'binary)
	(coding-system-for-read 'binary))
    ad-do-it))

> > text, it has to be written into files since ediff calls the external
> > program to compute diffs.  Which may cause a security problem unless
> > Emacs warns about it.

> But epg does this already for
> epg-decrypt-file
> epg-decrypt-string
> and the the encrypt and verify functions as well.

These are library functions, not user commands.

Regards,
-- 
Daiki Ueno



      reply	other threads:[~2007-05-30  8:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29  4:42 Daiki Ueno
2007-05-28 15:34 ` Adrian Aichner
2007-05-29  7:15   ` Daiki Ueno
2007-05-29 10:50     ` Adrian Aichner
2007-05-30  3:50       ` Daiki Ueno
2007-05-30  7:24         ` Adrian Aichner
2007-05-30  8:30           ` Daiki Ueno [this message]

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

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

  git send-email \
    --in-reply-to=aa421bbf-1180-46db-850f-143c8e89580f@well-done.deisui.org \
    --to=ueno@unixuser.org \
    --cc=adrian@xemacs.org \
    --cc=ding@gnus.org \
    /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.
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 NNTP newsgroup(s).