emacs-devel
[Top][All Lists]
Advanced

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

Re: auto-encryption-mode, etc. (Re: patch to include EasyPG to Emacs


From: Dan Nicolaescu
Subject: Re: auto-encryption-mode, etc. (Re: patch to include EasyPG to Emacs
Date: Mon, 18 Feb 2008 11:51:15 -0800

Daiki Ueno <address@hidden> writes:

  > >>>>> In <address@hidden> 
  > >>>>>       "Daiki Ueno" <address@hidden> wrote:
  > > Okay, I'll prepare a patch to do these this weekend.
  > 
  > The attached is a patch which makes the EasyPG integration a bit
  > intrusive.  It does:
  > 
  > - add `auto-encryption-mode' which is an analog to
  >   `auto-compression-mode',
  > - make `auto-encryption-mode' active by default,
  > - remove an entry in etc/TODO, which states "Implement a variant of
  >   uncompress.el or jka-compr.el that works with GNU Privacy Guard for
  >   encryption",
  > - make insert-file-contents-literally inhibit epa-file-handler as well
  >   as jka-compr-handler and image-file-handler,
  > - define "Encryption/Decryption" submenu in the "Tools" menu, and
  > - bind encryption commands in dired-mode-map.
  > 
  > This patch is intended for review.  Comments are welcome.

  > + (when auto-encryption-mode (auto-encryption-mode 1))

Turning on a mode when loading a file does not seem like not a good idea.
Instead, you could add a custom-reevaluate-setting call in startup.el





reply via email to

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