1. 21 Dec, 2017 1 commit
    • Daiki Ueno's avatar
      Remove pinentry.el · 8a73b700
      Daiki Ueno authored
      * lisp/epg.el (epg--start): Remove the use of pinentry.el.
      * lisp/net/pinentry.el: Remove (bug#27445).
      8a73b700
  2. 26 Nov, 2017 1 commit
  3. 22 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Avoid unnecessary rounding errors in timestamps · 3aee7be6
      Paul Eggert authored
      Avoid the rounding errors of float-time when it’s easy.  E.g.,
      replace (< (float-time a) (float-time b)) with (time-less-p a b).
      * lisp/desktop.el (desktop-save):
      * lisp/ecomplete.el (ecomplete-add-item):
      * lisp/epg.el (epg-wait-for-completion):
      * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
      * lisp/image-dired.el (image-dired-get-thumbnail-image)
      (image-dired-create-thumb-1):
      * lisp/info.el (info-insert-file-contents):
      * lisp/ls-lisp.el (ls-lisp-format-time):
      * lisp/net/ange-ftp.el (ange-ftp-file-newer-than-file-p)
      (ange-ftp-verify-visited-file-modtime):
      * lisp/net/rcirc.el (rcirc-ctcp-sender-PING):
      * lisp/textmodes/remember.el (remember-store-in-mailbox):
      * lisp/url/url-cookie.el (url-cookie-expired-p):
      Bypass float-time to avoid rounding errors.
      
      * lisp/files.el (dir-locals-find-file):
      3aee7be6
  4. 02 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to HTTP for gnu.org · 5172fa02
      Paul Eggert authored
      This fixes some URLs I omitted from my previous pass,
      notably those in lists.gnu.org.  Although lists.gnu.org
      does not yet support TLS 1.1, TLS 1.0 is better than nothing.
      * lisp/erc/erc.el (erc-official-location):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Use https:, not http:.
      5172fa02
  5. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  6. 26 Jun, 2017 1 commit
  7. 01 Jan, 2017 1 commit
  8. 09 Jun, 2016 2 commits
  9. 20 Feb, 2016 1 commit
    • Daiki Ueno's avatar
      Naming fix for consistency · d0f3b18f
      Daiki Ueno authored
      * lisp/epg-config.el (epg-find-configuration): Rename from
      `epg-configuration-find' to be consistent with other epg-* functions.
      Change all callers.
      d0f3b18f
  10. 17 Feb, 2016 1 commit
    • Daiki Ueno's avatar
      Make GnuPG version check robuster · e80c2a7b
      Daiki Ueno authored
      We changed the default gpg program to "gpg2" from "gpg" in the commit
      f93d669a.  However, there are two
      maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
      series.  Check the actual version of "gpg2" at run time, and properly
      divert to "gpg" if necessary.
      * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
      (epg-config--program-alist): New variable.
      (epg--configurations): New variable.
      (epg-configuration-find): New function.
      (epg-config--make-gpg-configuration): New function.
      (epg-config--make-gpgsm-configuration): New function.
      (epg-configuration): Mark as obsolete.
      * lisp/epg.el (epg-context): Use `epg-configuration-find'.
      e80c2a7b
  11. 01 Jan, 2016 1 commit
  12. 17 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Fix docstring quoting problems with ‘ '’ · ac16149b
      Paul Eggert authored
      Problem reported by Artur Malabarba in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
      Most of these fixes are to documentation; many involve fixing
      longstanding quoting glitches that are independent of the
      recent substitute-command-keys changes.  The changes to code are:
      * lisp/cedet/mode-local.el (mode-local-augment-function-help)
      (describe-mode-local-overload):
      Substitute docstrings before displaying them.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Quote the generated docstring for later substitution.
      ac16149b
  13. 06 Nov, 2015 1 commit
    • Daiki Ueno's avatar
      Suppress redundant Pinentry startup messages · ddd0eada
      Daiki Ueno authored
      * lisp/net/pinentry.el (pinentry-start): Add optional QUIET
      argument.
      * lisp/epg.el: Declare `pinentry-start'.
      (epg--start): Call `pinentry-start' with QUIET argument set.
      ddd0eada
  14. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  15. 25 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Prefer directed to neutral quotes · 875a5d0e
      Paul Eggert authored
      Prefer directed to neutral quotes in docstings and diagnostics.
      In docstrings, escape apostrophes that would otherwise be translated
      to curved quotes using the newer, simpler rules.
      * admin/unidata/unidata-gen.el (unidata-gen-table):
      * lisp/align.el (align-region):
      * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
      * lisp/bookmark.el (bookmark-default-annotation-text):
      * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
      * lisp/calc/calc-lang.el (math-read-giac-subscr)
      (math-read-math-subscr):
      * lisp/calc/calc-misc.el (report-calc-bug):
      * lisp/calc/calc-prog.el (calc-fix-token-name)
      (calc-read-parse-table-part):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
      * lisp/dabbrev.el (dabbrev-expand):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/elint.el (elint-get-top-forms):
      * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
      * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
      * lisp/erc/erc-button.el (erc-nick-popup):
      * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
      * lisp/eshell/em-dirs.el (eshell/cd):
      * lisp/eshell/em-glob.el (eshell-glob-regexp):
      * lisp/eshell/em-pred.el (eshell-parse-modifiers):
      * lisp/eshell/esh-arg.el (eshell-parse-arguments):
      * lisp/eshell/esh-opt.el (eshell-show-usage):
      * lisp/files-x.el (modify-file-local-variable):
      * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
      (filesets-update-pre010505):
      * lisp/find-cmd.el (find-generic, find-to-string):
      * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
      * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
      (gnus-agent-fetch-headers):
      * lisp/gnus/gnus-int.el (gnus-start-news-server):
      * lisp/gnus/gnus-registry.el:
      (gnus-registry--split-fancy-with-parent-internal):
      * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
      * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
      * lisp/gnus/gnus-topic.el (gnus-topic-rename):
      * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
      * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
      * lisp/gnus/spam.el (spam-check-blackholes):
      * lisp/mail/feedmail.el (feedmail-run-the-queue):
      * lisp/mpc.el (mpc-playlist-rename):
      * lisp/net/ange-ftp.el (ange-ftp-shell-command):
      * lisp/net/mairix.el (mairix-widget-create-query):
      * lisp/net/tramp-cache.el:
      * lisp/obsolete/otodo-mode.el (todo-more-important-p):
      * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
      * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
      * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
      * lisp/org/ob-core.el (org-babel-goto-named-src-block)
      (org-babel-goto-named-result):
      * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
      * lisp/org/ob-ref.el (org-babel-ref-resolve):
      * lisp/org/org-agenda.el (org-agenda-prepare):
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
      (org-clock-resolve):
      * lisp/org/org-feed.el (org-feed-parse-atom-entry):
      * lisp/org/org-habit.el (org-habit-parse-todo):
      * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
      (org-mouse-context-menu):
      * lisp/org/org-table.el (org-table-edit-formulas):
      * lisp/org/ox.el (org-export-async-start):
      * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
      (dun-rooms, dun-endgame-questions):
      * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
      * lisp/progmodes/ada-xref.el (ada-find-executable):
      * lisp/progmodes/antlr-mode.el (antlr-options-alists):
      * lisp/progmodes/flymake.el (flymake-parse-err-lines)
      (flymake-start-syntax-check-process):
      * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
      * lisp/progmodes/sql.el (sql-comint):
      * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
      * lisp/server.el (server-get-auth-key):
      * lisp/subr.el (version-to-list):
      * lisp/textmodes/reftex-ref.el (reftex-label):
      * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
      * lisp/vc/ediff-diff.el (ediff-same-contents):
      * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
      * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
      Use directed rather than neutral quotes in diagnostics.
      875a5d0e
  16. 18 Aug, 2015 1 commit
  17. 18 Jul, 2015 1 commit
  18. 16 Jul, 2015 1 commit
    • Daiki Ueno's avatar
      epg: Automatically start pinentry server · bd8b5ac7
      Daiki Ueno authored
      * epg-config.el (epg-gpgconf-program): New variable.
      * epg.el (epg--start): Call `pinentry-start' if
      allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
      bd8b5ac7
  19. 18 Jun, 2015 1 commit
  20. 11 Apr, 2015 1 commit
    • Daiki Ueno's avatar
      Utilize `make-process' in epg.el · ccade56f
      Daiki Ueno authored
      * lisp/epg.el (epg-error-output): Abolish.
      (epg-context): New slot `error-buffer'.
      (epg--start): Use `make-process' and `make-pipe-process'.
      (epg--process-filter): Remove code separating stderr from stdout.
      (epg-wait-for-completion): Simplify `error-output' handling.
      (epg-reset): Dispose error buffer.
      ccade56f
  21. 24 Mar, 2015 1 commit
  22. 01 Jan, 2015 2 commits
  23. 18 Nov, 2014 2 commits
    • Daiki Ueno's avatar
      epg: Support key editing · 9e8da9d2
      Daiki Ueno authored
      * epg.el (epg-context): New slot EDIT-CALLBACK.
      (epg--process-filter): Call EDIT-CALLBACK when editing a key.
      (epg-reset): Reset EDIT-CALLBACK of the context.
      (epg-start-edit-key): New function.
      (epg-edit-key): New function.
      9e8da9d2
    • Daiki Ueno's avatar
      epg: Fix callback argument type check · 5c249e2a
      Daiki Ueno authored
      * epg.el (epg-context-set-passphrase-callback)
      (epg-context-set-progress-callback): Check if the CALLBACK
      argument is a function, instead of a cons.
      5c249e2a
  24. 07 Nov, 2014 2 commits
  25. 06 Nov, 2014 1 commit
  26. 05 Nov, 2014 1 commit
    • Daiki Ueno's avatar
      epg: Collect output lines sent to stderr · 5e284614
      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.
      5e284614
  27. 23 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/epg.el: Use cl-defstruct. · e77628bd
      Stefan Monnier authored
      (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
      (epg-data-string): Define via cl-defstruct.
      (epg--gv-nreverse): New macro.
      (epg-context--make): New constructor (provided vi cl-defstruct).
      (epg-make-context): Rewrite using it.
      (epg-context-protocol, epg-context-program)
      (epg-context-home-directory, epg-context-armor, epg-context-textmode)
      (epg-context-include-certs, epg-context-cipher-algorithm)
      (epg-context-digest-algorithm, epg-context-compress-algorithm)
      (epg-context-passphrase-callback, epg-context-progress-callback)
      (epg-context-signers, epg-context-sig-notations, epg-context-process)
      (epg-context-output-file, epg-context-result, epg-context-operation)
      (epg-context-pinentry-mode): Define using cl-defstruct.
      (epg-context-set-protocol, epg-context-set-program)
      (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
      (epg-context-set-digest-algorithm)
      (epg-context-set-sig-notations, epg-context-set-process)
      (epg-context-set-output-file, epg-context-set-result)
      (epg-context-set-operation, epg-context-set-pinentry-mode)
      (epg-context-set-compress-algorithm): Remove.  Use setf instead.
      (epg-context-set-armor, epg-context-set-textmode)
      (epg-context-set-signers): Redefine using setf
      and declare as obsolete.
      (epg-context-set-passphrase-callback)
      (epg-context-set-progress-callback): Use setf.
      (epg-signature-notations): Rename from epg-sig-notations.
      (epg-make-signature, epg-signature-status, epg-signature-key-id)
      (epg-signature-validity, epg-signature-fingerprint)
      (epg-signature-creation-time, epg-signature-expiration-time)
      (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
      (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
      (epg-signature-set-status, epg-signature-set-key-id)
      (epg-signature-set-validity, epg-signature-set-fingerprint)
      (epg-signature-set-creation-time, epg-signature-set-expiration-time)
      (epg-signature-set-pubkey-algorithm)
      (epg-signature-set-digest-algorithm, epg-signature-set-class)
      (epg-signature-set-version, epg-signature-set-notations): Remove.
      Use setf instead.
      (epg-make-new-signature, epg-new-signature-type)
      (epg-new-signature-pubkey-algorithm)
      (epg-new-signature-digest-algorithm, epg-new-signature-class)
      (epg-new-signature-creation-time, epg-new-signature-fingerprint):
      Define using cl-defstruct.
      (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
      (epg-key-user-id-list): Define using cl-defstruct.
      (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
      Use setf instead.
      (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
      (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
      (epg-sub-key-id, epg-sub-key-creation-time)
      (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
      cl-defstruct.
      (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
      (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
      (epg-user-id-signature-list): Define using cl-defstruct.
      (epg-user-id-set-signature-list): Remove.  Use setf instead.
      (epg-make-key-signature, epg-key-signature-validity)
      (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
      (epg-key-signature-creation-time, epg-key-signature-expiration-time)
      (epg-key-signature-user-id, epg-key-signature-class)
      (epg-key-signature-exportable-p): Define using cl-defstruct.
      (epg-make-sig-notation, epg-sig-notation-name)
      (epg-sig-notation-value, epg-sig-notation-human-readable)
      (epg-sig-notation-critical): Define using cl-defstruct.
      (epg-sig-notation-set-value): Remove.  Use setf instead.
      (epg-make-import-status, epg-import-status-fingerprint)
      (epg-import-status-reason, epg-import-status-new)
      (epg-import-status-user-id, epg-import-status-signature)
      (epg-import-status-sub-key, epg-import-status-secret): Define using
      cl-defstruct.
      (epg-make-import-result, epg-import-result-considered)
      (epg-import-result-no-user-id, epg-import-result-imported)
      (epg-import-result-imported-rsa, epg-import-result-unchanged)
      (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
      (epg-import-result-new-signatures, epg-import-result-new-revocations)
      (epg-import-result-secret-read, epg-import-result-secret-imported)
      (epg-import-result-secret-unchanged, epg-import-result-not-imported)
      (epg-import-result-imports): Define using cl-defstruct.
      
      * lisp/emacs-lisp/package.el: Require EPG during macroexpansion.
      (package--check-signature, package-import-keyring): Use setf instead of
      epg-context-set-home-directory.
      e77628bd
  28. 14 May, 2014 1 commit
    • Glenn Morris's avatar
      Add with-file-modes macro, and use it · d63d883a
      Glenn Morris authored
      * lisp/subr.el (with-file-modes): New macro.
      
      * lisp/printing.el (pr-save-file-modes):
      * lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
      
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
      Add with-file-modes.
      
      * lisp/doc-view.el (doc-view-make-safe-dir):
      * lisp/epg.el (epg--start):
      * lisp/files.el (locate-user-emacs-file, make-temp-file)
      (backup-buffer-copy, move-file-to-trash):
      * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
      * eshell/esh-util.el (eshell-with-private-file-modes)
      (eshell-make-private-directory):
      * lisp/net/browse-url.el (browse-url-mosaic):
      * lisp/obsolete/mailpost.el (post-mail-send-it):
      * lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region):
      * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
      * lisp/url/url-util.el (url-make-private-file):
      Use with-file-modes.
      
      * doc/lispref/files.texi (Changing Files): Mention with-file-modes.
      
      * etc/NEWS: Mention this.
      d63d883a
  29. 06 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · d5081c1e
      Paul Eggert authored
      * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
      * emacs-lisp/debug.el (cancel-debug-on-entry):
      * epg.el (epg-error-to-string):
      * files.el (recover-file):
      * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
      * mail/emacsbug.el (report-emacs-bug-hook):
      * mail/sendmail.el (mail-recover):
      * ses.el (ses-yank-resize):
      * term/ns-win.el (ns-print-buffer):
      Spelling fixes in diagnostics, mostly for "canceled" with one L.
      * epg.el (epg-key-capability-alist): Rename from misspelled version.
      All uses changed.
      * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
      d5081c1e
  30. 01 Jan, 2014 1 commit
  31. 03 Oct, 2013 1 commit
  32. 06 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/abbrev.el (edit-abbrevs-mode): Use define-derived-mode. · 86cf7329
      Stefan Monnier authored
      (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
      
      * lisp/epa.el (epa--encode-coding-string, epa--decode-coding-string)
      (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
      that it's defined.
      (epa-key-list-mode, epa-key-mode, epa-info-mode):
      Use define-derived-mode.
      
      * lisp/epg.el (epg-start-encrypt): Minor CSE simplification.
      86cf7329
  33. 28 Aug, 2013 1 commit
  34. 09 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (define-error): New function. · 54bd972f
      Stefan Monnier authored
      * doc/lispref/control.texi (Signaling Errors): Refer to define-error.
      (Error Symbols): Add `define-error'.
      * doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'.
      * lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from
      error-file-not-found and define with define-error.
      * lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
      and define with define-error.
      * lisp/userlock.el (file-locked, file-supersession):
      * lisp/simple.el (mark-inactive):
      * lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error):
      * lisp/progmodes/ada-mode.el (ada-mode-errors):
      * lisp/play/life.el (life-extinct):
      * lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
      * lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error):
      * lisp/nxml/rng-util.el (rng-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema):
      * lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
      * lisp/nxml/nxml-rap.el (nxml-scan-error):
      * lisp/nxml/nxml-outln.el (nxml-outline-error):
      * lisp/net/soap-client.el (soap-error):
      * lisp/net/gnutls.el (gnutls-error):
      * lisp/net/ange-ftp.el (ftp-error):
      * lisp/mpc.el (mpc-proc-error):
      * lisp/json.el (json-error, json-readtable-error, json-unknown-keyword)
      (json-number-format, json-string-escape, json-string-format)
      (json-key-format, json-object-format):
      * lisp/jka-compr.el (compression-error):
      * lisp/international/quail.el (quail-error):
      * lisp/international/kkc.el (kkc-error):
      * lisp/emacs-lisp/ert.el (ert-test-failed):
      * lisp/calc/calc.el (calc-error, inexact-result, math-overflow)
      (math-underflow):
      * lisp/bookmark.el (bookmark-error-no-filename):
      * lisp/epg.el (epg-error): Define with define-error.
      54bd972f
  35. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-frame' where it is assumed by default. · 12b4c0ea
      Dmitry Antipov authored
      Affected functions are `raise-frame', `redraw-frame',
      `frame-first-window', `frame-terminal' and `delete-frame'.
      * lisp/calendar/appt.el (appt-disp-window):
      * lisp/epg.el (epg-wait-for-completion):
      * lisp/follow.el (follow-delete-other-windows-and-split)
      (follow-avoid-tail-recenter):
      * lisp/international/mule.el (set-terminal-coding-system):
      * lisp/mail/rmail.el (rmail-mail-return):
      * lisp/net/newst-plainview.el (newsticker--buffer-set-uptodate):
      * lisp/progmodes/f90.el (f90-add-imenu-menu):
      * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
      * lisp/server.el (server-switch-buffer):
      * lisp/simple.el (delete-completion-window):
      * lisp/talk.el (talk):
      * lisp/term/xterm.el (terminal-init-xterm-modify-other-keys)
      (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
      * lisp/vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
      * lisp/vc/ediff.el (ediff-documentation): Related users changed.
      * lisp/frame.el (selected-terminal): Remove the leftover.
      12b4c0ea
  36. 24 Jun, 2013 1 commit
    • Daiki Ueno's avatar
      epg.el: Add context option `home-directory' and `program'. · 18eb4bca
      Daiki Ueno authored
      * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
      file name of gpg executable.
      (epg-context-program): New function.
      (epg-context-home-directory): New function.
      (epg-context-set-program): New function.
      (epg-context-set-home-directory): New function.
      (epg--start): Use `epg-context-program' instead of
      'epg-gpg-program'.
      (epg--list-keys-1): Likewise.
      18eb4bca