1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Daiki Ueno
02bf443d2e * epa-file.el: Respect buffer-file-format when writing
* epa-file.el (epa-file-write-region): Encode the region according
to `buffer-file-format'.  Problem reported at:
<http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2014-01-14 17:41:09 +09:00
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Stefan Monnier
0962f37640 * lisp/epa-file.el (epa-file-insert-file-contents): Ensure we insert text
in current-buffer.

Fixes: debbugs:16029
2013-12-02 14:05:47 -05:00
Daiki Ueno
ed42a87759 Document insecure elisp password caching is not usable with GnuPG 2.0. 2013-10-28 17:04:48 +09:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
333f9019e2 Spelling fixes. 2011-12-11 21:32:49 -08:00
Stefan Monnier
a3dae87a1b * lisp/epa-file.el (epa-file-select-keys): Revert to nil default.
Fixes: debbugs:9280
2011-08-12 09:49:45 -04:00
Daiki Ueno
9d5cb6312b Make epa-file progress message user-friendly.
* epa.el (epa-progress-callback-function): Fix the logic of
displaying progress.
* epa-file.el (epa-file-insert-file-contents): Make progress
display more user-friendly.
(epa-file-write-region): Ditto.
2011-08-12 12:30:18 +09:00
Daiki Ueno
74f5069555 Use lexical binding in ep[ga]*.el.
* epa-dired.el:
* epa-mail.el:
* epa-hook.el:
* epa-file.el:
* epa.el:
* epg.el: Use lexical binding.
2011-04-04 15:16:23 +09:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Daiki Ueno
33088bedf3 Extend epa-file-select-keys to allow users to inhibit key selection.
* epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
key selection prompt; make 'silent as default (Bug#7487).
2010-12-16 11:35:56 +09:00
Daiki Ueno
446b12da60 Simplify 2010-10-09T13:27:24Z!larsi@gnus.org.
* epa.el (epa-passphrase-callback-function): Display filename
passed as the 3rd arg.
* epa-file.el (epa-file-passphrase-callback-function): Pass
filename to epa-passphrase-callback-function.
2010-10-10 10:45:45 +09:00
Daiki Ueno
c5fe4acb5f epa-file: suppress file-locking question on M-x revert-buffer
* epa-file.el (epa-file-insert-file-contents): If visiting, bind
buffer-file-name to avoid file-locking.  (Bug#7026)
2010-09-13 19:44:07 +09:00
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
Daiki Ueno
192cfe779a Fix typo and comment. 2010-07-25 20:50:51 +09:00
Daiki Ueno
4f195cf704 Fix *.gpg file creation (bug#6723).
* epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
exists before passing an error to find-file-not-found-functions (bug#6723).
2010-07-25 20:23:43 +09:00
Daiki Ueno
c0397930d0 Prevent find-file from opening empty buffer when decryptin failed (bug#6568).
* epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
(epa-file-insert-file-contents): Hack to prevent
find-file from opening empty buffer when decryptin failed
(bug#6568).
2010-07-08 10:02:24 +09:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Juanma Barranquero
5a0c3f568d Fix typos.
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Daiki Ueno
0d19d15134 Fix the last commit. 2009-09-20 02:16:52 +00:00
Daiki Ueno
b0f5fd2efd (epa-file-cache-passphrase-for-symmetric-encryption):
Document that this option is not recommended to use.
2009-09-20 02:01:09 +00:00
Daiki Ueno
68a0d89231 epa-file: fix garble with decode-coding-inserted-region
* epa-file.el (epa-file-decode-and-insert): Use string-to-multibyte
instead of set-buffer-multibyte.
2009-04-18 04:55:50 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Daiki Ueno
2cb35a563b * epa-file.el (epa-file-insert-file-contents): Set
buffer-file-name before decrypting a file.
2008-12-17 02:33:12 +00:00
Daiki Ueno
8e3efc87f3 * epa-hook.el (epa-file-find-file-hook): Don't mark the current
buffer unmodified.  (Bug#1509)
* epa-file.el (epa-file-insert-file-contents): Set buffer's
modification time if visiting a file and the content is
successfully decrypted.
2008-12-10 01:35:39 +00:00
Daiki Ueno
6ea97db8f3 (epa-file-insert-file-contents): Fix typo. 2008-09-30 07:41:49 +00:00
Daiki Ueno
437eedba09 Simplify the last change. 2008-06-02 05:26:26 +00:00
Daiki Ueno
6843296d5b (epa-file-write-region): Write the entire buffer
content if START is nil.
2008-06-02 05:09:36 +00:00
Eli Zaretskii
3fe6872886 Provide/require epa-hook, not epa-file-hook. 2008-05-08 11:24:15 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Daiki Ueno
6f8a419044 * epa-file-hook.el: New file split from epa-file.el.
* epa-file.el: Require 'epa-file-hook.
(epa-file-handler): Add autoload cookie.
* loadup.el: Load epa-file-hook.
* startup.el (command-line): Eval the body of auto-encryption-mode.
2008-05-01 07:17:08 +00:00
Glenn Morris
dbc9f96d82 Daiki Ueno <ueno at unixuser.org>
(epa-file-handler): Restore 2008-03-16T04:04:15Z!mwolson@gnu.org version; previous change was buggy
patch.
2008-04-28 07:16:36 +00:00
Dan Nicolaescu
dc062440cc (epa-file-handler): Comment out, does not compile. 2008-04-27 20:53:34 +00:00
Dan Nicolaescu
bfeee9d151 * epa-file.el (auto-encryption-mode): Rename from epa-file-mode.
(epa-file-handler): Put 'safe-magic and 'operations properties.

* epa.el (epa-global-minor-modes, epa-mode, epa-menu)
(epa-menu-items): Remove.

* epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
(epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
(epa-dired-mode, epa-global-dired-mode): Remove.

* dired.el (dired-mode-map): Bind encryption/decryption commands.

* menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.

* files.el (insert-file-contents-literally): Inhibit epa-file-handler.
2008-04-27 19:49:15 +00:00
Michael Olson
fef7aa9ec6 EasyPG: Fix bug with C-x C-s after M-x epa-file-select-keys. 2008-03-16 04:04:15 +00:00
Michael Olson
f1914c4078 EasyPG: Implement some suggestions from emacs-devel. 2008-02-10 20:57:47 +00:00
Dan Nicolaescu
0bd4f3175d * epa.el (epa-faces, epa):
* epa-file.el (epa-file):
* epg-config.el (epg): Add :version.
2008-02-09 21:59:34 +00:00
Miles Bader
37b77401a1 Add arch tagline 2008-02-09 02:29:02 +00:00
Michael Olson
c154c0be04 EasyPG: Initial check-in. 2008-02-08 06:54:27 +00:00