Commits

Anonymous committed 1e6e7c0

Second attempt to get the sources imported.

Comments (0)

Files changed (32)

+Bug reports: https://sourceforge.jp/tracker/?atid=8442&group_id=2267&func=browse
+
+Daiki Ueno <ueno@unixuser.org>
+;;; -*- Emacs-Lisp -*-
+
+(defvar epg-modules
+  '(epg-package-info epg-config epg epa epa-dired epa-file epa-mail epa-setup))
+
+(defun epg-compile-modules (modules)
+  (let ((load-path (cons nil load-path))
+	error-modules)
+    (while modules
+      (let ((source (expand-file-name
+		     (concat (symbol-name (car modules)) ".el"))))
+	(if (file-newer-than-file-p source (concat source "c"))
+	    (condition-case error
+		(byte-compile-file source)
+	      (error
+	       (setq error-modules (cons (car modules) error-modules))))))
+      (setq modules (cdr modules)))
+    (if error-modules
+	(princ (concat "\n\
+  WARNING: ---------------------------------------------------------
+  WARNING: Couldn't compile following modules:
+  WARNING: 
+  WARNING:   " (mapconcat #'symbol-name error-modules ", ") "\n\
+  WARNING: 
+  WARNING: You should probably stop here, try \"make distclean\" to clear
+  WARNING: the last build, and then reconfigure.
+  WARNING: ---------------------------------------------------------\n\n")))))
+
+(defun epg-compile-module ()
+  (let ((load-path (cons nil load-path)))
+    (let ((source (expand-file-name
+		   (concat (car command-line-args-left) ".el"))))
+      (if (file-newer-than-file-p source (concat source "c"))
+	  (byte-compile-file source)))))
+
+(defun epg-install-modules (modules dest just-print)
+  (unless (or just-print (file-exists-p dest))
+    (make-directory dest t))
+  (while modules
+    (let ((name (symbol-name (car modules))))
+      (princ (format "%s.el -> %s\n" name dest))
+      (unless just-print
+	(copy-file (expand-file-name (concat name ".el"))
+		   (expand-file-name (concat name ".el") dest)
+		   t t))
+      (princ (format "%s.elc -> %s\n" name dest))
+      (unless just-print
+	(if (file-exists-p (expand-file-name (concat name ".elc")))
+	    (copy-file (expand-file-name (concat name ".elc"))
+		       (expand-file-name (concat name ".elc") dest)
+		       t t)
+	  (princ (format "(%s was not successfully compiled, ignored)\n"
+			 name)))))
+    (setq modules (cdr modules))))
+
+(defun epg-install-just-print-p ()
+  (let ((flag (getenv "MAKEFLAGS"))
+	case-fold-search)
+    (if flag
+	(string-match "^\\(\\(--[^ ]+ \\)+-\\|[^ =-]\\)*n" flag))))
+
+(defun epg-examine ()
+  (princ (mapconcat #'symbol-name epg-modules " ")))
+
+(defun epg-compile ()
+  (epg-compile-modules epg-modules))
+
+(defun epg-install ()
+  (epg-install-modules
+   epg-modules
+   (expand-file-name "epg" (car command-line-args-left))
+   (epg-install-just-print-p)))
+
+(defun epg-compile-package ()
+  (setq autoload-package-name "epg")
+  (add-to-list 'command-line-args-left ".")
+  (batch-update-directory)
+  (add-to-list 'command-line-args-left ".")
+  (Custom-make-dependencies)
+  (epg-compile-modules
+   (append epg-modules
+	   '(auto-autoloads custom-load))))
+
+(defun epg-install-package ()
+  (epg-install-modules
+   (append epg-modules
+	   '(auto-autoloads custom-load))
+   (expand-file-name "lisp/epg" (car command-line-args-left))
+   (epg-install-just-print-p)))
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year  name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.
+2007-09-06  Norbert Koch  <viteno@xemacs.org>
+
+	* Makefile (VERSION): XEmacs package 1.01 released.
+
+2007-09-05  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.15 released.
+	* configure.ac: Bump up version.
+
+2007-09-05  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-validity-face-alist): Fixed misuse of the list
+	widget type.
+	(epa-font-lock-keywords): Define as defvar.
+	(epa--show-key): Don't signal an error even if a time cannot be decoded.
+
+	* epa-file.el (epa-file-auto-mode-alist-entry): New variable.
+	(epa-file-enable): Install a strip-suffix entry in auto-mode-alist.
+	(epa-file-disable): Remove the entry from auto-mode-alist.
+
+2007-08-31  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-verify-region): Decode the plaintext by
+	coding-system-for-read or one saved in epa-coding-system-used.
+
+2007-08-02  Adrian Aichner  <adrian@xemacs.org> (tiny change)
+
+	* epa.el (epa-validity-high): Fix load error by adding missing
+	paren pair.
+
+2007-07-30  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-insert-file-contents): Ignore errors from
+	file-local-copy.
+
+2007-07-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.14 released.
+	* configure.ac: Bump up version.
+
+2007-07-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el: Use :weight or :slant keywords to define faces, if
+	available.
+
+2007-07-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-insert-file-contents): If a file is not
+	directly accessible, use the local copy of the file.
+	Reported by Jaroslav Gresula <jgresula@gmail.com>
+
+2007-07-10  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el: Removed -face suffix from face names;
+	removed face symbol vars.
+
+2007-05-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.13 released.
+	* configure.ac: Bump up version.
+
+2007-05-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Supply the BUFFER argument
+	to local-variable-p.
+	(epa-file-find-file-hook): Mark the current buffer as unmodified.
+	Suggested by Adrian Aichner <adrian@elisp.de>
+
+2007-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Don't use epa-textmode.
+
+2007-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.12 released.
+	* configure.ac: Bump up version.
+
+2007-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Respect epa-armor and
+	epa-textmode.
+
+2007-04-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--prompt-GET_BOOL-untrusted_key.override): Lookup
+	user-id from epg-user-id-alist.
+
+2007-04-22  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-select-keys): New command.
+
+2007-04-21  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Ask recipients only the
+	first time.
+	(epa-file-select-keys): New user option.
+
+2007-04-19  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-mark-key): Renamed from epa-mark; signal an error if
+	no key is on the line.
+	(epa-unmark-key): Renamed from epa-unmark.
+	(epa-toggle-mark): Abolished.
+
+	* epa-file.el (epa-file-insert-file-contents): Guess the value of
+	epa-file-encrypt-to from 'encrypted-to context-result.
+	(epa-file-encrypt-to): Make it permanent local.
+
+	* epg.el (epg--status-ENC_TO): New function.
+
+2007-04-04  Daiki Ueno  <ueno@unixuser.org>
+	    Chris Moore <dooglus@users.sourceforge.jp>
+
+	* epa-file.el (epa-file--file-name-regexp-set): New Custom :set
+	function.
+	(epa-file-name-regexp): Use it.
+	(epa-file-name-regexp-update): New command.
+	(epa-file-name-regexp): Accept backup filenames.
+	Reported by "[ #10192 ] customizing epa-file-name-regexp fails"
+
+2007-04-04  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-find-file-hook): New function.
+	(epa-file-enable): Add epa-file-find-file-hook to find-file-hooks.
+	(epa-file-disable): Remove epa-file-find-file-hook from
+	find-file-hooks.
+
+2007-03-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.11 released.
+	* configure.ac: Bump up version.
+
+2007-03-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa--insert-keys): Changed arglist.  All callers
+	changed.
+	(epa--select-keys): New function.
+	(epa-select-keys): Use it; don't popup menu if keys have elements
+	less than 2.
+
+2007-03-25  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-protocol): defcustom -> defvar.
+	(epa-armor): Ditto.
+	(epa-textmode): Ditto.
+
+2007-03-24  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-select-keys): Simplified; don't select the first
+	matching key.
+	(epa-key-list-mode-map): Bind revert-buffer instead of
+	epa-list-keys.
+	(epa-key-list-mode): Set revert-buffer-function to epa--revert-buffer.
+	(epa--revert-buffer): New function.
+
+	* epg.el (epg--list-keys-1): Accept a list of strings as NAME
+	argument.
+	(epg-list-keys): Ditto.
+
+2007-03-21  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-inhibit-auto-save): New user option.
+	(epa-file-insert-file-contents): Turn off auto-save-mode if
+	epa-file-inhibit-auto-save is non-nil.
+	Reported by "[ #9937] epa-file auto-saves in plain text"
+
+	* epa.el (epa--list-keys): New function.
+	(epa-list-keys): Use it.
+	(epa-list-secret-keys): New command.
+
+2007-03-20  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-display-info): Generate new *Info* buffer if buffer
+	is not alive.
+	(epa-verify-cleartext-in-region): s/armor/cleartext/g.
+
+	* Makefile.am (info_TEXINFOS): Added epa.texi.
+	* epa.texi: New file.
+
+2007-03-19  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--decode-percent-escape): New function.
+
+2007-03-08  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-list-keys): Parse GnuPG's print_string escape.
+
+2007-03-08  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-mail.el (epa-mail-mode-hook): New variable.
+	(epa-mail-mode-on-hook): New variable.
+	(epa-mail-mode-off-hook): New variable.
+
+	* epg.el (epg--start): Make the process-buffer unibyte.
+	(epg--status-USERID_HINT): Decode user-id.
+	(epg--status-IMPORTED): Decode user-id.
+
+2007-03-07  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--start): Don't specify --use-agent if the protocol
+	is CMS; set coding-system-for-read to binary.
+	(epg--status-*SIG): Decode user-id.
+
+2007-02-02  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Set a dummy filename
+	for buffer-file-name when calling select-safe-coding-system.
+
+2007-01-30  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-last-status): New variable.
+	(epg--process-filter): Set epg-last-status after calling a status
+	handler.
+	(epg--prompt-GET_BOOL): New function.
+	(epg--prompt-GET_BOOL-untrusted_key.override): New function.
+	(epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
+	y-or-n-p.
+
+2007-01-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.10 released.
+	* configure.ac: Bump up version.
+
+2007-01-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-config.el: Require epg-package-info.
+	* configure.ac: Generate epg-package-info.el.
+	* Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
+	* COMPILE (epg-modules): Added epg-package-info.
+	* epg-package-info.el.in: New file.
+
+2007-01-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-setup.el (epa-mail-mode): Autoload; setup	mail-mode-hook.
+	* epa.el: Removed epa-*-mail stuff.
+	* Makefile.am (EXTRA_DIST): Added epa-mail.el.
+	* COMPILE (epg-modules): Added epa-mail.
+	* epa-mail.el: New file.
+
+2007-01-05  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-pgp50i.el: Removed.
+
+	* epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
+	(epa-key-list-mode): Renamed from epa-keys-mode.  All callers
+	changed.
+
+	* epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
+	is "0".
+	(epg--make-sub-key-1): Ditto.
+	(epg--decode-hexstring): "\\x" -> "\\\\x".
+	(epg--decode-quotedstring): Ditto.
+
+	* pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
+	recipient whose public key is not available.
+	* epa.el (epa-encrypt-mail): Ask a user whether to skip a
+	recipient whose public key is not available.
+
+2007-01-04  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
+	(epa-verify-mail): Renamed from epa-verify.
+	(epa-sign-mail): Renamed from epa-sign.
+	(epa-encrypt-mail): Renamed from epa-encrypt.
+	(epa-import-mail): Renamed from epa-import.
+
+	* configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
+
+	* epg.el (epg-signature-to-string): Print creation-time and used
+	pubkey-algorithm.
+	(epg-sign-string): If the GnuPG version is earlier than 1.4.3,
+	fallback to use a temp file as an input.
+	(epg-encrypt-string): Ditto.
+
+2006-12-31  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-mail-modes): New user option.
+	(epa--mail-mode-p): New function.
+	(epa-sign): Use it.
+	(epa-encrypt): Use it.
+	(epa--find-coding-system-for-mime-charset): New function.
+	(epa-decrypt-armor-in-region): Use it.
+	(epa-progress-callback-function): Use handback as the prompt.
+	(epa-encrypt-region): Take 4th argument SIGN.
+	(epa-encrypt): Ditto.
+
+2006-12-31  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa--derived-mode-p): New alias.
+	(epa-sign): Use it.
+	(epa-encrypt): Use it.
+
+2006-12-31  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa--read-signature-type): New function.
+	(epa-decrypt): New command.
+	(epa-verify): New command.
+	(epa-sign): New command.
+	(epa-encrypt): New command.
+	(epa-import-armor-in-region): New command.
+	(epa-import): New command.
+	(epa-decrypt-region): Confirm user to replace the region.
+	(epa-display-info): Delete "*Info*" window.
+
+2006-12-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.9 released.
+	* epg-config.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-12-28  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-sign-file): Ask signing key only when a prefix arg
+	is given; ask signature type only when a prefix arg is given.
+	(epa-sign-region): Ditto.
+
+2006-12-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-config.el (epg-passphrase-coding-system): Default to nil.
+
+2006-12-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+	* epa.el (epa--format-fingerprint-1): New function.
+	(epa--format-fingerprint): Ditto.
+	(epa--show-key): Use it.
+
+2006-12-20  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Don't attempt to write the
+	region to "/" to determine safe coding-system.
+
+	* epa.el (epa-list-keys): Abolished PROTOCOL arg.
+	(epa-sign-file): Save the output to *.p7s or *.p7m file if
+	epa-protocol is CMS.
+	(epa-encrypt-file): Ditto.
+	(epa-last-coding-system-specified): New variable.
+	(epa-decrypt-region): Try to decode with the
+	epa-coding-system-used text property.
+	(epa--select-safe-coding-system): New function.
+	(epa-verify-region): Try to decode with the epa-coding-system-used
+	text property.
+	(epa-sign-region): Query user to select coding-system to encode;
+	set the epa-coding-system-used text property on the result.
+	(epa-encrypt-region): Ditto.
+
+2006-12-19  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-export-keys-to-file): Fixed a typo.
+
+	* epa.el (epa-protocol): New user option.
+	(epa-sign-region): --armor & --textmode.
+	(epa-encrypt-region): Ditto.
+	(epa-list-keys): If prefix-arg is specified, use "OpenPGP" as the
+	default protocol.
+	(epa-import-keys-region): New command.
+	(epa-insert-keys): New command.
+	(epa--insert-keys): Renamed from epa-insert-keys.
+
+2006-12-11  Daiki Ueno  <ueno@unixuser.org>
+
+	* pgg-epg.el (pgg-epg-decrypt-region): Don't call
+	decode-coding-string if it is not bound.
+
+	* epa-file.el (epa-file--encode-coding-string): New alias.
+	(epa-file--decode-coding-string): New alias.
+	(epa-file-write-region): Use epa-file--encode-coding-string.
+	(epa-file-decode-and-insert): Use epa-file--decode-coding-string.
+
+	* epa.el (epa--encode-coding-string): New alias.
+	(epa--decode-coding-string): New alias.
+	(epa-verify-region): Use epa--encode-coding-string.
+	(epa-sign-region): Ditto; use epa--decode-coding-string.
+	(epa-encrypt-region): Use epa--encode-coding-string.
+
+	* epg.el (epg--encode-coding-string): New alias.
+	(epg--status-GET_HIDDEN): Use it.
+
+2006-11-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.8 released.
+	* epg-config.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-11-20  Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> (tiny change)
+
+	* epa-file.el (epa-file-encrypt-to): New file local variable.
+	(epa-file-write-region): Specify recipients by epa-file-encrypt-to.
+
+2006-11-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-sign-file): Query signature type at a time.
+	(epa-decrypt-file): Display output file name on completion.
+	(epa-sign-file): Ditto.
+	(epa-encrypt-file): Ditto.
+
+2006-11-25  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-keys-mode): Don't call widget-setup.
+	(epa-list-keys): Call widget-setup here.
+	(epa-select-keys): Ditto.
+
+2006-11-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+	* epg.el (epg-delete-keys): Remove redundant argument for `error'
+	and fix a close parenthesis.
+
+2006-11-24  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
+	Reported by Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>.
+	cf. <emacs-mime-ja:02090>
+
+2006-11-23  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-sign-region): Query signature type at a time.
+
+2006-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+	* epg.el (epg-context-set-passphrase-callback): Add optional
+	argument `handback'.
+	(epg-context-set-progress-callback): Ditto.
+
+2006-11-14  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa--key-widget-value-create): Allow empty user IDs.
+	(epa--show-key): Ditto.
+	Reported by Werner Koch <wk@gnupg.org>.
+
+	* epg.el (epg--start): Don't specify --enable-progress-filter for
+	gpgsm.
+	(epg--status-PROGRESS): Check if progress-callback is set.
+
+2006-11-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-error): New error.
+	(epg--check-error-for-decrypt): New function.
+	(epg-decrypt-file): Use it.
+	(epg-decrypt-string): Use it.
+	(epg--start): Added a very basic test to check whether to specify
+	--use-agent.
+
+	* epa.el (epa-decrypt-file): Expand file name.
+	(epa-verify-file): Ditto.
+	(epa-import-keys): Ditto.
+
+2006-11-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-delete-keys): Decode delete-problem.
+
+	* epa.el (epa-popup-info-window): Turn on by default.
+	(epa-display-info): Split selected window instead of pop-to-buffer.
+
+2006-11-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-display-info): Generalized; renamed from
+	epa-display-verify-result.
+	(epa-decrypt-file): Use it.
+	(epa-verify-file): Use it.
+	(epa-decrypt-region): Use it.
+	(epa-verify-region): Use it.
+	(epa-import-keys): Show import result.
+	(epa-display-verify-result): Make it obsolete.
+
+	* epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
+	out of scope.
+	(epg-sign-keys): Make it obsolete.
+	(epg-make-import-status): New object epg-import-status.
+	(epg-make-import-result): New object epg-import-result.
+	(epg--status-IMPORT_RES): New function.
+	(epg-import-result-to-string): New function.
+
+	* epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
+	(epa-sign-keys): Make it obsolete.
+
+2006-11-11  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start-sign): Don't set --armor nor --textmode if
+	mode is set for a cleartext signature.
+	(epg-make-context): New slot "sig-notations".
+	(epg--args-from-sig-notations): New function.
+	(epg-start-sign): Specify --sig-notation or --sig-policy-url if
+	desired.
+	(epg-start-encrypt): Ditto.
+	(epg-make-signature): New slot "notations".
+	(epg--status-NOTATION_NAME): New function.
+	(epg--status-NOTATION_DATA): New function.
+	(epg--status-POLICY_URL): New function.
+
+2006-10-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.7 released.
+	* epg-config.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-10-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el
+	(epa-file-cache-passphrase-for-symmetric-encryption): New user
+	option.
+
+2006-10-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start-verify): Fixed a clearsign verification bug.
+	Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.
+
+2006-09-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.6 released.
+	* epg.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-09-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-verify-cleartext-in-region): Renamed from
+	epa-verify-armor-in-region.
+
+	* epg.el (epg-passphrase-callback-function): Suggest to use
+	epa-passphrase-callback-function instead.
+	(epg-start-verify): Don't specify --verify if SIGNATURE is a
+	normal or a clear text signature.
+	(epg-verify-file): Mention that the plaintext will be stored into
+	the file PLAIN after successful verification.
+	(epg-verify-string): Mention that the plaintext will be returned
+	after successful verification.
+
+2006-09-27  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-insert-file-contents): Set progress callback.
+	(epa-file-write-region): Ditto.
+
+	* epa.el (epa-decrypt-file): Set callbacks.
+	(epa-sign-file): Ditto.
+	(epa-encrypt-file): Ditto.
+	(epa-decrypt-region): Ditto.
+	(epa-sign-region): Ditto.
+	(epa-encrypt-region): Ditto.
+	(epa-sign-keys): Ditto.
+
+	* epg.el (epg-progress-callback-function): Removed.
+
+2006-09-24  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-passphrase-callback-function): Moved from epg.el.
+	(epa-progress-callback-function): Ditto.
+	* epg.el (epg-passphrase-callback-function): Made it obsolete.
+	(epg-progress-callback-function): Ditto.
+
+2006-09-23  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start-decrypt): Append "--" to the end of options.
+	(epg-start-verify): Ditto.
+	(epg-start-sign): Ditto.
+	(epg-start-encrypt): Ditto.
+	(epg-start-import-keys): Ditto.
+	(epg-start-generate-key): Ditto.
+
+2006-09-23  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-make-context): Don't set progress-callback by
+	default.
+	(epg--start): Don't specify --enable-progress-filter if
+	progress-callback is not set.
+	(epg--status-GET_HIDDEN): Signal an error if passphrase-callback
+	is not set.
+
+2006-09-15  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-progress-callback-function): Show the percentage.
+
+2006-09-15  Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
+
+	* pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.
+
+2006-09-13  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-config.el (epg-passphrase-coding-system): Renamed from
+	epg-locale-coding-system.
+
+2006-09-11  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-decode-and-insert): New function which
+	utilizes decode-coding-inserted-region if available.
+	(epa-file-insert-file-contents): Use it.
+
+	* epg.el (epg--start): Specify --enable-progress-filter in
+	imitation of GPGME.
+	(epg-progress-callback-function): Remove a couple of %%'s.
+
+2006-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+	* epg-config.el (epg-configuration): Fixed the last change;
+	collect configuration other than group and algorithm.
+
+2006-09-05  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-config.el (epg-debug): Moved from epg.el.
+	(epg-configuration): Parse group configuration.
+	(epg-expand-group): New function.
+
+2006-09-04  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.5 released.
+	* epg.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-09-04  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-config.el (epg-locale-coding-system): New user option.
+
+	* epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
+	(epg--clear-string): New function.
+	(epg--status-GET_HIDDEN): Encode passphrase with
+	terminal-coding-system.
+
+	* epg-config.el (epg-gpg-minimum-version): New constant.
+	(epg-config--parse-version): New function.
+	(epg-config--compare-version): New function.
+	(epg-configuration): Respect epg-gpg-home-directory.
+
+2006-09-03  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-config.el: New file; moved GnuPG configuration check from
+	epg.el.
+
+2006-09-02  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-check-configuration): New function.
+	(epg-gpg-home-directory): New user option.
+
+	* pgg-epg.el (pgg-epg-lookup-key): New function.
+
+2006-07-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.4 released.
+	* epg.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-07-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
+
+2006-07-28  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start-encrypt): Extract primary key ID from
+	epg-context-signers.
+	Reported by Steve Youngs <steve@sxemacs.org>
+
+	* pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
+	give CONTEXT to epg-list-keys.
+	Reported by Steve Youngs <steve@sxemacs.org>
+
+2006-07-18  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-pgp50i.el (epg-pgp50i--process-filter): Use
+	epg-process-filter-running instead of epg-pgp50i-status; Don't
+	save-excursion during handler execution.
+	(epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
+	don't allow process input.
+	(epg-pgp50i--parse-time): New function.
+	(epg-pgp50i--status-BAD_SIGNATURE): New function.
+
+	* epg.el (epg--process-filter): Don't save-excursion during
+	handler execution.
+
+2006-07-18  Daiki Ueno  <ueno@unixuser.org>
+
+	* acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
+
+	* epg.el (epg-process-filter-running): New variable.
+	(epg--start): Setup epg-process-filter-running.
+	(epg--process-filter): Allow only one status handler to run at a
+	time; update epg-read-point everytime the point changes.
+
+2006-07-14  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg-pgp50i.el: New file.
+
+2006-07-13  Daiki Ueno  <ueno@unixuser.org>
+
+	* acinclude.m4 (AC_PATH_GPG): New macro.
+	* configure.ac: Check gpg version.
+	Suggested by Max Froumentin <max@lapin-bleu.net>
+
+2006-07-10  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
+	(epg-signature-to-string): Remove a trailing whitespace.
+
+	* epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
+	(epa-toggle-mark): New command.
+
+2006-07-04  Daiki Ueno  <ueno@unixuser.org>
+
+	* pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
+	with pgg-default-user-id.
+	Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
+
+2006-07-01  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-select-keys): If SECRET is specified, select a
+	primary secret key by default.
+
+2006-06-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.3 released.
+	* epg.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-06-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-insert-file-contents): Don't move the
+	point to the end of the inserted region.
+	Reported by doug <douglas.bagley@gmail.com>
+
+2006-06-01  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-insert-file-contents): Support partial read.
+
+2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+	* epa-file.el (epa-file-write-region): Encode the plain text with
+	coding-system-for-write.
+
+2006-05-30  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-insert-file-contents):
+	Decode the decrypted text with coding-system-for-read.
+
+2006-05-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* EasyPG: Version 0.0.2 released.
+	* epg.el (epg-version-number): Bump up.
+	* configure.ac: Bump up version.
+
+2006-05-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--time-from-seconds): New function.
+	(epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
+	(epg--status-VALIDSIG): Ditto.
+	(epg--status-KEYEXPIRED): Ditto.
+
+2006-05-28  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start-import-keys): Don't specify filename if keys
+	is a string data.
+
+2006-05-27  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--process-filter): Pass epg-context instead of
+	process to status handlers.
+	(epg--status-NO_PUBKEY): Check if the previous signature's key-id
+	matches with the given key-id.
+
+2006-05-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
+	status from 'error to 'no-pubkey.
+	(epg--status-ERRSIG): Just add 'error signature to the verify result.
+
+	* epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
+	disable inhibit-quit here; make text-properties nonsticky.
+	(epa-popup-info-window): New user option.
+	(epa-info-window-height): New user option.
+	(epa-display-verify-result): New function.
+	(epa-decrypt-file): Use it.
+	(epa-verify-file): Use it.
+	(epa-decrypt-region): Use it.
+	(epa-verify-region): Use it.
+
+	* epg.el (epg-make-context): New slot "operation".
+	(epg-passphrase-callback-function): Confirm passphrase when
+	performing symmetric encryption.
+
+2006-05-25  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-decrypt-file): Display verify result if the message
+	is signed.
+	(epa-decrypt-region): New command.
+	(epa-verify-region): New command.
+	(epa-decrypt-armor-in-region): New command.
+	(epa-verify-armor-in-region): New command.
+	(epa-sign-region): New command.
+	(epa-encrypt-region): New command.
+
+2006-05-11  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-armor): New user option.
+	(epa-textmode): New user option.
+
+2006-05-02  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-make-key-signature): New object epg-key-signature.
+	(epg-list-keys): Collect key signatures.
+	(epg-make-sub-key): Renamed secret -> secret-p.
+	(epg-list-keys-postprocess-one-key): Abolished.
+	(epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
+	signatures by itself.
+	(epg-no-data-reason-alist): New constant.
+	(epg-unexpected-reason-alist): New constant.
+
+2006-05-01  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-invalid-recipients-reason-alist): Renamed.
+	(epg-delete-problem-reason-alist): Renamed.
+	(epg-import-ok-reason-alist): New constant.
+	(epg-import-problem-reason-alist): New constant.
+	(epg-status-IMPORTED): New function.
+	(epg-status-IMPORT_OK): New function.
+	(epg-status-IMPORT_PROBLEM): New function.
+	(epg-start-import-keys): Don't use a temporary output file.
+	(epg-start-receive-keys): New function.
+	(epg-import-keys-from-server): New function.
+	(epg-receive-keys): Alias to epg-import-keys-from-server.
+
+2006-05-01  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start): Signal an error if the process of CONTEXT is
+	already running for other operations.
+	(epg-flush): Abolished.
+	(epg-start-generate-key): New function.
+	(epg-generate-key-from-file): New function.
+	(epg-generate-key-from-string): New function.
+	(epg-status-KEY_CREATED): New function.
+	(epg-status-KEY_NOT_CREATED): New function.
+	(epg-new-signature-type-alist): New variable.
+	(epg-make-new-signature): New object epg-new-signature.
+	(epg-status-SIG_CREATED): Set epg-new-signature object.
+	(epg-new-signature-to-string): New function.
+	(epg-make-signature): Added slots for signature class and version.
+	(epg-start-sign): Fixed rule of the MODE argument.
+
+2006-04-30  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-delete-keys): Support deletion of secret keys.
+
+	* pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
+	decrypted text.
+
+	* epg.el (epg-read-output): Don't convert line endings of the
+	output file.
+	(epg-cancel): Set 'error result.
+
+2006-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-make-signature): Removed user-id; added
+	creation-time, expiration-time, pubkey-algorithm,
+	digest-algorithm.
+	(epg-process-sentinel): Abolished.
+	(epg-signature-to-string): Decode DN.
+	(epg-list-keys): Cache user-id in epg-user-id-alist.
+	(epg-make-user-id): Renamed name -> string.
+
+2006-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-status-ERRSIG): New function.
+	(epg-verify-file): Signal an error if we encounter ERRSIG status.
+	(epg-verify-string): Ditto.
+
+2006-04-28  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el: Added typecheck to accessors to objects.
+
+2006-04-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
+	argument of passphrase-callback.
+	(epg-status-PROGRESS): Ditto.
+
+2006-04-26  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-select-keys): Don't set inhibit-quit when
+	recursive-edit is called.
+	(epg-cancel): New function.
+
+2006-04-25  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-process-sentinel): New function; set 'error if gpg
+	process exited abnormally, but we have not received an error
+	response from it.
+	(epg-sign-file): Signal an error only when a signature is not
+	created.
+	(epg-sign-string): Ditto.
+	(epg-encrypt-file): Signal an error if SIGN is specified and
+	signature is not created.
+	(epg-encrypt-string): Ditto.
+
+2006-04-22  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-key-widget-value-create): Decode DN.
+	(epa-list-keys): Add the PROTOCOL argument.
+	(epa-select-keys): Require CONTEXT as the first argument.
+
+	* epg.el (epg-gpgsm-program): New user option.
+	(epg-dn-type-alist): New variable.
+	(epg-start): Don't specify --command-fd if protocol is CMS.
+	(epg-list-keys): Require CONTEXT as the first argument.
+	(epg-dn-from-string): New function.
+	(epg-decode-dn): New function.
+
+2006-04-21  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-sign-keys): New command.
+
+	* epg.el (epg-start-sign-keys): New function.
+	(epg-sign-keys): New function.
+	(epg-status-GET_HIDDEN): Enable local quit.
+	(epg-status-GET_BOOL): Ditto.
+	(epg-status-GET_LINE): Ditto.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
+	region.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+	* pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
+	(pgg-epg-passphrase-callback): New function.
+
+	* epa.el (epa-select-keys): Added "Cancel" button.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-signature-to-string): New function.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
+	key objects.
+	* epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
+	key objects.
+
+	* epa.el (epa-select-keys): Added MODE argument.
+	(epa-encrypt-file): RECIPIENTS is now a list of key objects.
+
+	* epg.el (epg-status-SIG_CREATED): New function.
+	(epg-start-sign): epg-context-signers is now a list of key objects.
+	(epg-start-encrypt): RECIPIENTS is now a list of key objects.
+
+2006-04-19  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-verify-file): Show results in minibuffer.
+	* epg.el (epg-debug-buffer): New variable.
+	(epg-flush): New function.
+
+2006-04-18  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-export-keys): New command.
+	* epg.el (epg-start-export-keys): Accept a list of epg-key object
+	instead of a regexp.
+
+2006-04-18  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
+	(epa-import-key): New command.
+
+	* epg.el (epg-delete-problem-alist): New constant.
+	(epg-status-DELETE_PROBLEM): New function.
+	(epg-start-delete-key): New function.
+	(epg-delete-key): New function.
+	(epg-wait-for-completion): Add the NO-EOF argument.
+
+2006-04-18  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-start): Insert the command-line arguments to the
+	debug buffer.
+	(epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
+	(epg-start-delete-key): New function.
+	(epg-delete-key): New function.
+
+	* epa.el (epa-key): New widget.
+	(epa-key-widget-action): New function.
+	(epa-key-widget-value-create): New function.
+	(epa-key-widget-button-face-get): New function.
+	(epa-key-widget-help-echo): New function.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-file-write-region): Check if START is a string.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el: Rewritten with file-name-handler.
+	(epa-file-handler): New variable.
+	(epa-file-enable): New command.
+	(epa-file-disable): New command.
+
+	* epa-setup.el: Call epa-file-enable.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-passphrase): New variable.
+	(epa-file-passphrase-callback-function): New function.
+	(epa-find-file): Reset buffer-undo-list; set
+	buffer-file-coding-system to last-coding-system-used after
+	decoding.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el (epa-write-file): Try to write region to "/" to get
+	last-coding-system-used to be set.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-file.el: New implementation of epf.el.
+
+	* epf.el: Abolished.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-verify-file): Display verify result.
+
+	* epg.el (epg-invalid-recipients-alist): New variable.
+	(epg-status-INV_RECP): New function.
+	(epg-status-NO_RECP): New function.
+
+	* epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
+	epa-verify-file, epa-sign-file, and epa-encrypt-file.
+	(epa-decrypt-file): New function imported from epa-dired.el.
+	(epa-verify-file): New function imported from epa-dired.el.
+	(epa-sign-file): New function imported from epa-dired.el.
+	(epa-encrypt-file): New function imported from epa-dired.el.
+
+2006-04-16  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el (epa-select-keys): Renamed from epa-ask-keys; use
+	recursive-edit.
+	* epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
+
+2006-04-16  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa-setup.el: New file.
+	* epa-dired.el: New file.
+
+	* epg.el (epg-colons-pub-spec): Abolished.
+	(epg-colons-sec-spec): Abolished.
+	(epg-colons-uid-spec): Abolished.
+	(epg-colons-fpr-spec): Abolished.
+	(epg-key-validity-alist): New variable.
+	(epg-key-capablity-alist): New variable.
+	(epg-make-key): New object epg-key.
+	(epg-make-sub-key): New object epg-sub-key.
+	(epg-make-user-id): New object epg-user-id.
+	(epg-list-keys-1): Renamed from epg-list-keys.
+	(epg-list-keys): Rewritten.
+
+2006-04-15  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-list-keys): Make the NAME argument optional.
+
+2006-04-13  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el: Added header.
+
+	* epg.el (epg-list-keys): Specify --with-fingerprint.
+	(epg-colons-fpr-spec): New variable.
+	(epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
+	owner-trust.
+	(epg-colons-sec-spec): Ditto.
+	(epg-colons-uid-spec): Renamed trust -> validity.
+
+2006-04-13  Daiki Ueno  <ueno@unixuser.org>
+
+	* epa.el: New file.
+
+	* epg.el (epg-cipher-algorithm-alist): New constant.
+	(epg-pubkey-algorithm-alist): New constant.
+	(epg-digest-algorithm-alist): New constant.
+	(epg-compress-algorithm-alist): New constant.
+	(epg-configuration): New function.
+	(epg-start): Don't specify --yes.
+
+2006-04-13  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-make-data-from-file): New function.
+	(epg-make-data-from-string): New function.
+	(epg-data-file): New function.
+	(epg-data-string): New function.
+	(epg-start-decrypt): Get a cipher text from a data object.
+	(epg-delete-output-file): New function.
+	(epg-decrypt-file): Add the 3rd argument PLAIN to specify where
+	the output goes.
+	(epg-start-verify): Get a signature and signed-text from a data
+	object.
+	(epg-verify-file): Added the 3rd argument PLAIN to specify where
+	the output goes; return the plain text if PLAIN is nil.
+	(epg-verify-string): Return the plain text.
+	(epg-start-sign): Get a plain text from a data object.
+	(epg-sign-file): Added the 3rd argument SIGNATURE to specify where
+	the output goes.
+	(epg-start-encrypt): Get a plain text from a data object.
+	(epg-encrypt-file): Added the 4th argument CIPHER to specify where
+	the output goes.
+	(epg-start-import-keys): Get keys from a data object.
+	(epg-import-keys-1): New function.
+	(epg-import-keys-from-file): Use it.
+	(epg-import-keys-from-string): Use it.
+
+2006-04-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epf.el: Renamed from epg-file.el.
+
+2006-04-12  Daiki Ueno  <ueno@unixuser.org>
+
+	* epg.el (epg-status-GET_BOOL): New function.
+	(epg-status-GET_LINE): New function.
+	(epg-prompt-alist): New variable, to be filled.
+
+	* pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
+	* epg.el (epg-signature-fingerprint): New function.
+	(epg-signature-set-fingerprint): New function.
+	(epg-status-VALIDSIG): New function.
+
+	* epg.el (epg-reset): Don't reset result.
+	(epg-start-decrypt): Reset result before epg-start.
+	(epg-start-verify): Ditto.
+	(epg-start-sign): Ditto.
+	(epg-start-encrypt): Ditto.
+	(epg-start-export-keys): Ditto.
+	(epg-start-import-keys): Ditto.
+
+	* Makefile.am (EXTRA_DIST): Added pgg-epg.el.
+	* pgg-epg.el: New file.
+
+	* epg.el (epg-start-export-keys): New function.
+	(epg-export-keys): New function.
+	(epg-start-import-keys): New function.
+	(epg-import-keys): New function.
+	(epg-verify-file): New function.
+
+	* epg-file.el (epg-file-write-region): Support public key encryption.
+
+	* epg.el (epg-passphrase-callback-function): Always display key-id.
+
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
+Software Foundation, Inc.
+
+This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+These are generic installation instructions.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+   It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring.  (Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.)
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+   The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'.  You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.  If you're
+     using `csh' on an old version of System V, you might need to type
+     `sh ./configure' instead to prevent `csh' from trying to execute
+     `configure' itself.
+
+     Running `configure' takes awhile.  While running, it prints some
+     messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+Compilers and Options
+=====================
+
+Some systems require unusual options for compilation or linking that the
+`configure' script does not know about.  Run `./configure --help' for
+details on some of the pertinent environment variables.
+
+   You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment.  Here
+is an example:
+
+     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+
+   *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   If you have to use a `make' that does not support the `VPATH'
+variable, you have to compile the package for one architecture at a
+time in the source code directory.  After you have installed the
+package for one architecture, use `make distclean' before reconfiguring
+for another architecture.
+
+Installation Names
+==================
+
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc.  You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+There may be some features `configure' cannot figure out automatically,
+but needs to determine by the type of machine the package will run on.
+Usually, assuming the package is built to be run on the _same_
+architectures, `configure' can figure that out, but if it prints a
+message saying it cannot guess the machine type, give it the
+`--build=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+     CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+     OS KERNEL-OS
+
+   See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+   If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+   If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+If you want to set default values for `configure' scripts to share, you
+can create a site shell script called `config.site' that gives default
+values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+Variables not defined in a site shell script can be set in the
+environment passed to `configure'.  However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost.  In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'.  For example:
+
+     ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).  Here is a another example:
+
+     /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
+configuration-related scripts to be executed by `/bin/bash'.
+
+`configure' Invocation
+======================
+
+`configure' recognizes the following options to control how it operates.
+
+`--help'
+`-h'
+     Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`--cache-file=FILE'
+     Enable the cache: use and save the results of the tests in FILE,
+     traditionally `config.cache'.  FILE defaults to `/dev/null' to
+     disable caching.
+
+`--config-cache'
+`-C'
+     Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options.  Run
+`configure --help' for more details.
+
+# Makefile for EasyPG lisp code
+
+# This file is part of XEmacs.
+
+# XEmacs is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2, or (at your option) any
+# later version.
+
+# XEmacs is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with XEmacs; see the file COPYING.  If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# This XEmacs package contains the EasyPG package
+
+VERSION = 1.01
+AUTHOR_VERSION = 0.0.15
+MAINTAINER = Daiki Ueno <ueno@unixuser.org>
+PACKAGE = easypg
+PKG_TYPE = regular
+REQUIRES = xemacs-base dired mail-lib
+CATEGORY = standard
+
+include ../../Local.rules.inc
+
+ELCS = epg-package-info.elc epg-config.elc epg.elc epa.elc epa-dired.elc epa-file.elc epa-mail.elc epa-setup.elc
+
+DATA_FILES = AUTHORS NEWS README
+DATA_DEST = $(PACKAGE)
+
+include ../../XEmacs.rules
+AUTOMAKE_OPTIONS = no-dependencies
+
+EXTRA_DIST = COMPILE epg-config.el epg.el epa.el epa-dired.el \
+epa-file.el epa-mail.el epa-setup.el
+
+CLEANFILES = auto-autoloads.el* custom-load.el *.elc
+DISTCLEANFILES = epg-package-info.el
+
+info_TEXINFOS = epa.texi
+
+FLAGS ?= -batch -q -no-site-file
+
+all-local: elc
+
+elc:
+	$(EMACS) $(FLAGS) -l COMPILE -f epg-compile
+
+install-data-local: elc
+	$(EMACS) $(FLAGS) -l COMPILE -f epg-install $(lispdir) # $(MAKE)
+
+package:
+	$(XEMACS) $(FLAGS) -l COMPILE -f epg-compile-package
+
+install-package: package
+	$(XEMACS) $(FLAGS) -l COMPILE -f epg-install-package \
+		$(PACKAGEDIR) # $(MAKE)
+	$(MAKE) infodir=$(PACKAGEDIR)/info install
+
+compile-individually:
+	@for i in `$(EMACS) $(FLAGS) -l COMPILE -f epg-examine`; do \
+		echo $(EMACS) $(FLAGS) -l COMPILE \
+			-f epg-compile-module $$i; \
+		$(EMACS) $(FLAGS) -l COMPILE \
+			-f epg-compile-module $$i; \
+	done
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = .
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = .
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(srcdir)/epg-package-info.el.in \
+	$(srcdir)/stamp-vti $(srcdir)/version.texi \
+	$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
+	install-sh mdate-sh missing texinfo.tex
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+	$(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno configure.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES = epg-package-info.el
+depcomp =
+am__depfiles_maybe =
+SOURCES =
+DIST_SOURCES =
+INFO_DEPS = $(srcdir)/epa.info
+am__TEXINFO_TEX_DIR = $(srcdir)
+DVIS = epa.dvi
+PDFS = epa.pdf
+PSS = epa.ps
+HTMLS = epa.html
+TEXINFOS = epa.texi
+TEXI2DVI = texi2dvi
+TEXI2PDF = $(TEXI2DVI) --pdf --batch
+MAKEINFOHTML = $(MAKEINFO) --html
+AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
+DVIPS = dvips
+am__installdirs = "$(DESTDIR)$(infodir)"
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  { test ! -d $(distdir) \
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr $(distdir); }; }
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EMACS = @EMACS@
+GPG = @GPG@
+GPG_PATH = @GPG_PATH@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+PACKAGE = @PACKAGE@
+PACKAGEDIR = @PACKAGEDIR@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RUN_GPG_TESTS_FALSE = @RUN_GPG_TESTS_FALSE@
+RUN_GPG_TESTS_TRUE = @RUN_GPG_TESTS_TRUE@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+XEMACS = @XEMACS@
+XEMACS_FALSE = @XEMACS_FALSE@
+XEMACS_TRUE = @XEMACS_TRUE@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+lispdir = @lispdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+AUTOMAKE_OPTIONS = no-dependencies
+EXTRA_DIST = COMPILE epg-config.el epg.el epa.el epa-dired.el \
+epa-file.el epa-mail.el epa-setup.el
+
+CLEANFILES = auto-autoloads.el* custom-load.el *.elc
+DISTCLEANFILES = epg-package-info.el
+info_TEXINFOS = epa.texi
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .dvi .html .info .pdf .ps .texi
+am--refresh:
+	@:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
+	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    echo ' $(SHELL) ./config.status'; \
+	    $(SHELL) ./config.status;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	$(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+epg-package-info.el: $(top_builddir)/config.status $(srcdir)/epg-package-info.el.in
+	cd $(top_builddir) && $(SHELL) ./config.status $@
+
+.texi.info:
+	restore=: && backupdir="$(am__leading_dot)am$$$$" && \
+	am__cwd=`pwd` && cd $(srcdir) && \
+	rm -rf $$backupdir && mkdir $$backupdir && \
+	if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
+	  for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
+	    if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
+	  done; \
+	else :; fi && \
+	cd "$$am__cwd"; \
+	if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
+	 -o $@ $<; \
+	then \
+	  rc=0; \
+	  cd $(srcdir); \
+	else \
+	  rc=$$?; \
+	  cd $(srcdir) && \
+	  $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
+	fi; \
+	rm -rf $$backupdir; exit $$rc
+
+.texi.dvi:
+	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
+	$(TEXI2DVI) $<
+
+.texi.pdf:
+	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
+	$(TEXI2PDF) $<
+
+.texi.html:
+	rm -rf $(@:.html=.htp)
+	if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
+	 -o $(@:.html=.htp) $<; \
+	then \
+	  rm -rf $@; \
+	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
+	    mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
+	else \
+	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
+	    rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
+	  exit 1; \
+	fi
+$(srcdir)/epa.info: epa.texi $(srcdir)/version.texi
+epa.dvi: epa.texi $(srcdir)/version.texi
+epa.pdf: epa.texi $(srcdir)/version.texi
+epa.html: epa.texi $(srcdir)/version.texi
+$(srcdir)/version.texi:  $(srcdir)/stamp-vti
+$(srcdir)/stamp-vti: epa.texi $(top_srcdir)/configure
+	@(dir=.; test -f ./epa.texi || dir=$(srcdir); \
+	set `$(SHELL) $(srcdir)/mdate-sh $$dir/epa.texi`; \
+	echo "@set UPDATED $$1 $$2 $$3"; \
+	echo "@set UPDATED-MONTH $$2 $$3"; \
+	echo "@set EDITION $(VERSION)"; \
+	echo "@set VERSION $(VERSION)") > vti.tmp
+	@cmp -s vti.tmp $(srcdir)/version.texi \
+	  || (echo "Updating $(srcdir)/version.texi"; \
+	      cp vti.tmp $(srcdir)/version.texi)
+	-@rm -f vti.tmp
+	@cp $(srcdir)/version.texi $@
+
+mostlyclean-vti:
+	-rm -f vti.tmp
+
+maintainer-clean-vti:
+	-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
+.dvi.ps:
+	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+	$(DVIPS) -o $@ $<
+
+uninstall-info-am:
+	@$(PRE_UNINSTALL)
+	@if (install-info --version && \
+	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
+	  list='$(INFO_DEPS)'; \
+	  for file in $$list; do \
+	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
+	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
+	    install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
+	  done; \
+	else :; fi
+	@$(NORMAL_UNINSTALL)
+	@list='$(INFO_DEPS)'; \
+	for file in $$list; do \
+	  relfile=`echo "$$file" | sed 's|^.*/||'`; \
+	  relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
+	  (if cd "$(DESTDIR)$(infodir)"; then \
+	     echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
+	     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
+	   else :; fi); \
+	done
+
+dist-info: $(INFO_DEPS)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	list='$(INFO_DEPS)'; \
+	for base in $$list; do \
+	  case $$base in \
+	    $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
+	  esac; \
+	  if test -f $$base; then d=.; else d=$(srcdir); fi; \
+	  base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
+	  for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
+	    if test -f $$file; then \
+	      relfile=`expr "$$file" : "$$d/\(.*\)"`; \
+	      test -f $(distdir)/$$relfile || \
+		cp -p $$file $(distdir)/$$relfile; \
+	    else :; fi; \
+	  done; \
+	done
+
+mostlyclean-aminfo:
+	-rm -rf epa.aux epa.cp epa.cps epa.fn epa.fns epa.ky epa.kys epa.log epa.pg \
+	  epa.pgs epa.tmp epa.toc epa.tp epa.tps epa.vr epa.vrs \
+	  epa.dvi epa.pdf epa.ps epa.html
+
+maintainer-clean-aminfo:
+	@list='$(INFO_DEPS)'; for i in $$list; do \
+	  i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
+	  echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
+	  rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
+	done
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+	$(am__remove_distdir)
+	mkdir $(distdir)
+	$(mkdir_p) $(distdir)/.
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	$(MAKE) $(AM_MAKEFLAGS) \
+	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
+	  dist-info
+	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+	|| chmod -R a+r $(distdir)
+dist-gzip: distdir