- 07 Apr, 2017 2 commits
-
-
Noam Postavsky authored
The previous patch for Bug#354 incorrectly assumed that START would always be an integer. * lisp/epa-file.el (epa-file-write-region): * lisp/jka-compr.el (jka-compr-write-region): * lisp/net/ange-ftp.el (ange-ftp-write-region): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region): * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): * src/fileio.c (write_region): Handle nil and string values of START.
-
Jeff Clough authored
* fileio.c (write_region): * epa-file.el (epa-file-write-region): * jka-compr.el (jka-compr-write-region): * ange-ftp.el (ange-ftp-write-region): * tramp-gvfs.el (tramp-gvfs-handle-write-region): * tramp-sh.el (tramp-sh-handle-write-region): * mm-util.el (mm-append-to-file): Functions now output characters written in addition to file name. * files.texi: Added documentation to write-region and append-to-file describing their output.
-
- 01 Jan, 2017 1 commit
-
-
Paul Eggert authored
Run admin/update-copyright.
-
- 06 Dec, 2016 1 commit
-
-
Paul Eggert authored
Problem with visiting nonexistent .gpg file reported by Herbert J Skuhra. * lisp/epa-file.el (epa-file--find-file-not-found-function): (epa-file-insert-file-contents, epa-file-write-region): Signal file-missing or file-error instead of epa-error.
-
- 21 Oct, 2016 1 commit
-
-
Paul Eggert authored
This fixes a recently-introduced bug in delete-directory, where the code assumes the C locale when determining whether a file-error corresponds to a missing file (Bug#24714). * doc/lispref/errors.texi (Standard Errors): * doc/lispref/files.texi (Changing Files): * etc/NEWS: Document this. * doc/lispref/loading.texi (How Programs Do Loading): Say "a file-error" rather than "the error file-error" since it might be a file-missing now. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): * lisp/epa-file.el (epa-file--find-file-not-found-function): (epa-file-insert-file-contents, epa-file-write-region): * lisp/ffap.el (find-file-at-point, dired-at-point): * lisp/jka-compr.el (jka-compr-insert-file-contents) (jka-compr-insert-file-contents): * lisp/net/ange-ftp.el (ange-ftp-barf-if-not-directory) (ange-ftp-insert-file-contents, ange-ftp-copy-file-internal): * lisp/progmodes/etags.el (visit-tags-table): * lisp/url/url-handlers.el (url-copy-file): * src/fileio.c (report_file_errno): Signal file-missing if appropriate. * lisp/epa-file.el (epa-file-insert-file-contents): * lisp/jka-compr.el (jka-compr-insert-file-contents): Don't assume file-error is a leaf in the error hierarchy. * lisp/files.el (files--force): * lisp/gnus/nnmaildir.el (nnmaildir--enoent-p): * lisp/jka-compr.el (jka-compr-insert-file-contents): Use file-missing to detect whether the file is missing. * lisp/url/url-handlers.el (url-copy-file): Signal file-already-exists if appropriate. * src/fileio.c (syms_of_fileio): Define file-missing. 2016-10-18 Paul Eggert <eggert@cs.ucla.edu>
-
- 01 Jan, 2016 1 commit
-
-
Paul Eggert authored
Run admin/update-copyright.
-
- 12 Aug, 2015 1 commit
-
-
Richard Stallman authored
* lisp/epa-file.el (epa-inhibit): New variable. (epa-file-handler): Check epa-inhibit.
-
- 01 Jan, 2015 2 commits
-
-
Paul Eggert authored
Run admin/update-copyright.
-
Paul Eggert authored
Run admin/update-copyright.
-
- 18 Nov, 2014 2 commits
-
-
Daiki Ueno authored
* epa-file.el (epa-file-insert-file-contents) (epa-file-write-region): Remove redundant check of epa-pinentry-mode. * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region) (epa-sign-region, epa-encrypt-region): Remove redundant check of epa-pinentry-mode.
-
Daiki Ueno authored
* epa-file.el (epa-file-insert-file-contents): Don't show "*Error*" buffer if input file does not exist. Reported by Herbert J. Skuhra.
-
- 07 Nov, 2014 1 commit
-
-
Daiki Ueno authored
* epa.el (epa-pinentry-mode): New user option. (epa-sign-file, epa-encrypt-file, epa-decrypt-region) (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode. * epa-file.el (epa-file-insert-file-contents) (epa-file-write-region): Respect epa-pinentry-mode.
-
- 06 Nov, 2014 1 commit
-
-
Daiki Ueno authored
* epa.el (epa-error-buffer): New variable. (epa-display-error): New function. (epa-decrypt-file, epa-verify-file, epa-verify-region) (epa-delete-keys, epa-import-keys): Display output sent to stderr. (epa-sign-file, epa-sign-region, epa-encrypt-region) (epa-export-keys, epa-insert-keys): Display output sent to stderr. Use setf instead of epg-context-set-*. * epa-file.el (epa-file-insert-file-contents): Use epa-display-error instead of epa-display-info. Mimic the behavior of jka-compr when decryption program is not found. (epa-file-write-region): Use epa-display-error instead of epa-display-info.
-
- 05 Nov, 2014 1 commit
-
-
Daiki Ueno authored
* epg.el (epg-context): Add new slot ERROR-OUTPUT. (epg-error-output): New buffer-local variable. (epg--start): Initialize epg-error-output. (epg--process-filter): Record output lines sent to stderr, in epg-error-output. (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT slot of context. * epa-file.el (epa-file-insert-file-contents): On error, display output sent to stderr. (epa-file-write-region): Likewise.
-
- 14 Jan, 2014 1 commit
-
-
Daiki Ueno authored
* 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>.
-
- 01 Jan, 2014 1 commit
-
-
Paul Eggert authored
-
- 02 Dec, 2013 1 commit
-
-
Stefan Monnier authored
in current-buffer. Fixes: debbugs:16029
-
- 28 Oct, 2013 1 commit
-
-
Daiki Ueno authored
-
- 01 Jan, 2013 1 commit
-
-
Paul Eggert authored
-
- 11 Jan, 2012 1 commit
-
-
Glenn Morris authored
-
- 05 Jan, 2012 1 commit
-
-
Glenn Morris authored
-
- 12 Dec, 2011 1 commit
-
-
Paul Eggert authored
-
- 12 Aug, 2011 2 commits
-
-
Stefan Monnier authored
Fixes: debbugs:9280
-
Daiki Ueno authored
* 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.
-
- 04 Apr, 2011 1 commit
-
-
Daiki Ueno authored
* epa-dired.el: * epa-mail.el: * epa-hook.el: * epa-file.el: * epa.el: * epg.el: Use lexical binding.
-
- 12 Feb, 2011 1 commit
-
-
Chong Yidong authored
This should not be merged into the trunk. * epa-file.el (epa-file-insert-file-contents): Likewise. * epg.el (epg-delete-output-file, epg-decrypt-string) (epg-verify-string, epg-sign-string, epg-encrypt-string): Bind delete-by-moving-to-trash to nil.
-
- 25 Jan, 2011 1 commit
-
-
Glenn Morris authored
-
- 15 Jan, 2011 1 commit
-
-
Glenn Morris authored
-
- 02 Jan, 2011 1 commit
-
-
Glenn Morris authored
-
- 16 Dec, 2010 1 commit
-
-
Daiki Ueno authored
* epa-file.el (epa-file-select-keys): Accept 'silent to inhibit key selection prompt; make 'silent as default (Bug#7487).
-
- 10 Oct, 2010 1 commit
-
-
Daiki Ueno authored
* 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.
-
- 13 Sep, 2010 1 commit
-
-
Daiki Ueno authored
* epa-file.el (epa-file-insert-file-contents): If visiting, bind buffer-file-name to avoid file-locking. (Bug#7026)
-
- 29 Aug, 2010 1 commit
-
-
Chong Yidong authored
-
- 25 Jul, 2010 2 commits
-
-
Daiki Ueno authored
-
Daiki Ueno authored
* 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).
-
- 08 Jul, 2010 1 commit
-
-
Daiki Ueno authored
* 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).
-
- 13 Jan, 2010 1 commit
-
-
Glenn Morris authored
-
- 24 Sep, 2009 1 commit
-
-
Juanma Barranquero authored
* 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
-
- 20 Sep, 2009 2 commits
-
-
Daiki Ueno authored
-
Daiki Ueno authored
Document that this option is not recommended to use.
-