1. 17 May, 2020 1 commit
    • Paul Eggert's avatar
      Don’t attempt to modify constant strings · 00be23c2
      Paul Eggert authored
      These attempts were found by ‘make compile-always’.
      * lisp/language/tibet-util.el (tibetan-obsolete-glyphs):
      * lisp/org/org-agenda.el (org-agenda-get-restriction-and-command):
      Don’t try to modify string constants.
      00be23c2
  2. 17 Apr, 2020 1 commit
  3. 16 Apr, 2020 3 commits
    • Mattias Engdegård's avatar
      Improve regexp in org-table-finish-edit-field · 6a60701b
      Mattias Engdegård authored
      * lisp/org/org-table.el (org-table-finish-edit-field):
      Further improvement of regexp, as suggested by Paul Eggert.
      6a60701b
    • Mattias Engdegård's avatar
      Use directory-files-no-dot-files-regexp wherever possible · d5a7df8c
      Mattias Engdegård authored
      Suggested by Paul Eggert.
      
      * lisp/files.el (directory-files-no-dot-files-regexp):
      Clarify semantics and purpose.
      * lisp/dired.el (dired-re-no-dot):
      Define as obsolete alias of directory-files-no-dot-files-regexp.
      (dired-delete-file):
      * lisp/gnus/gnus-util.el (gnus-delete-directory):
      * lisp/net/ange-ftp.el (ange-ftp-delete-directory):
      * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib):
      * lisp/org/ob-core.el (org-babel-remove-temporary-directory):
      * lisp/vc/vc-rcs.el (vc-rcs-unregister):
      Use directory-files-no-dot-files-regexp.
      d5a7df8c
    • Mattias Engdegård's avatar
      Fix bugs, inefficiencies and bad style in regexps · 905c0a13
      Mattias Engdegård authored
      Found by relint.  See discussion at
      https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html
      
      * lisp/org/org-table.el (org-table-finish-edit-field):
      * lisp/arc-mode.el (archive-rar-summarize):
      Avoid wrapped subsumption in repeated sequences.
      * lisp/erc/erc-dcc.el (erc-dcc-ctcp-query-send-regexp): Replace
      inefficient repeated empty-matching expression with a plain greedy
      form.
      (erc-dcc-handle-ctcp-send): Adjust group numbers.
      * lisp/net/puny.el (puny-encode-domain): Fix fast-path shortcut
      pattern so that it actually works as intended.
      * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp):
      * lisp/vc/diff-mode.el (diff-imenu-generic-expression):
      Remove superfluous backslashes.
      * lisp/progmodes/scheme.el (scheme-imenu-generic-expression):
      Correct confused definition-matching pattern which would match more
      than intended.
      * lisp/textmodes/sgml-mode.el (sgml-tag-name-re): Avoid inefficient
      matching by using the fact that the first character cannot match the
      last char of sgml-name-re.
      905c0a13
  4. 14 Apr, 2020 1 commit
    • Mattias Engdegård's avatar
      Fix edge case errors in filename-matching regexps · 4acdd7fe
      Mattias Engdegård authored
      These changes fix actual or latent bugs in regexps that match
      file names, such as PATTERN arguments to 'directory-files'.  See
      https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html
      
      * admin/authors.el (authors-obsolete-files-regexps)
      (authors-renamed-files-regexps):
      * lisp/auth-source-pass.el (auth-source-pass-entries):
      * lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file)
      (todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string)
      (todo-reset-comment-string, todo-reset-highlight-item):
      * lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches):
      * lisp/cedet/semantic/texi.el (semantic-texi-associated-files):
      * lisp/cedet/srecode/map.el (srecode-map-update-map):
      * lisp/dired.el (dired-re-no-dot):
      * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-find):
      * lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp):
      * lisp/finder.el (finder-compile-keywords):
      * lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode)
      (resolve-conf-generic-mode, etc-modules-conf-generic-mode):
      * lisp/gnus/gnus-agent.el (gnus-agent-read-agentview)
      (gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group):
      * lisp/gnus/gnus-score.el (gnus-score-search-global-directories):
      * lisp/gnus/gnus-util.el (gnus-delete-directory):
      * lisp/gnus/gnus-uu.el (gnus-uu-dir-files):
      * lisp/gnus/nndraft.el (nndraft-request-group):
      * lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group):
      (nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads):
      * lisp/gnus/nnspool.el (nnspool-request-group):
      * lisp/gnus/spam-stat.el (spam-stat-process-directory)
      (spam-stat-test-directory):
      * lisp/help-fns.el (help-fns--first-release):
      * lisp/help.el (view-emacs-news):
      * lisp/international/quail.el (quail-update-leim-list-file):
      * lisp/international/titdic-cnv.el (batch-titdic-convert):
      * lisp/mail/mspools.el (mspools-set-vm-spool-files)
      (mspools-get-spool-files):
      * lisp/mail/rmail.el (rmail-secondary-file-regexp)
      (rmail-speedbar-match-folder-regexp):
      * lisp/net/ange-ftp.el (ange-ftp-delete-directory):
      * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names):
      * lisp/obsolete/gulp.el (gulp-send-requests):
      * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib):
      * lisp/org/ob-core.el (org-babel-remove-temporary-directory):
      * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database):
      * lisp/progmodes/executable.el (executable-command-find-posix-p):
      * lisp/startup.el (command-line):
      * lisp/textmodes/refer.el (refer-get-bib-files):
      * lisp/url/url-about.el (url-probe-protocols):
      * lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister):
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test19-directory-files-and-attributes):
      * test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes):
      Replace ^ and $ with \` and \', respectively.
      Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.",
      to match anything but "." and "..", instead of several incorrect
      regexps.
      4acdd7fe
  5. 25 Feb, 2020 1 commit
  6. 20 Feb, 2020 1 commit
    • Mattias Engdegård's avatar
      Remove subsumed repetitions in regexps · 770f76f0
      Mattias Engdegård authored
      Make regexps smaller and faster by removing terms that are superfluous
      by virtue of standing next to another term that matches more.  See
      https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00949.html
      for details.
      
      * lisp/bs.el (bs--make-header-match-string):
      * lisp/gnus/deuglify.el (gnus-outlook-repair-attribution-block):
      * lisp/gnus/message.el (message-subject-trailing-was-ask-regexp)
      (message-subject-trailing-was-regexp):
      * lisp/informat.el (Info-validate):
      * lisp/net/browse-url.el (browse-url-button-regexp):
      * lisp/net/rcirc.el (rcirc-url-regexp):
      * lisp/org/ob-core.el (org-babel-remove-result):
      * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-table.el (org-table-expand-lhs-ranges):
      * lisp/org/org.el (org-maybe-keyword-time-regexp, org-ts-regexp)
      (org-ts-regexp-inactive, org-ts-regexp-both):
      * lisp/play/gametree.el (gametree-hack-file-layout):
      * lisp/progmodes/cc-mode.el (c-Java-defun-prompt-regexp):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-halting-error):
      * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
      * lisp/progmodes/verilog-mode.el (verilog-error-font-lock-keywords)
      (verilog-verilint-off, verilog-case-indent-level)
      (verilog-within-translate-off, verilog-start-translate-off)
      (verilog-back-to-start-translate-off, verilog-end-translate-off)
      (verilog-expand-dirnames):
      * lisp/term.el (term-control-seq-regexp):
      * lisp/textmodes/reftex-vars.el (featurep):
      * lisp/url/url-gw.el (url-open-telnet):
      * lisp/vc/ediff-ptch.el (ediff-context-diff-label-regexp):
      * lisp/vc/pcvs-parse.el (cvs-parse-status):
      * test/src/regex-emacs-tests.el (regex-tests-PCRE):
      Remove subsumed repetitions.
      * lisp/progmodes/sh-script.el (sh-syntax-propertize-function):
      Simplify repetition of a repetition.
      770f76f0
  7. 09 Feb, 2020 1 commit
    • Alan Mackenzie's avatar
      Correct "different than" to "different from" where appropriate · 53006746
      Alan Mackenzie authored
      (doc/emacs/screen.texi)
      (doc/lispintro/emacs-lisp-intro.texi)
      (doc/misc/calc.texi)
      (doc/misc/gnus.texi)
      (doc/misc/sc.texi)
      (lisp/align.el)
      (lisp/allout-widgets.el)
      (lisp/allout.el)
      (lisp/emacs-lisp/gv.el)
      (lisp/font-lock.el)
      (lisp/gnus/mm-util.el)
      (lisp/mail/feedmail.el)
      (lisp/mail/sendmail.el)
      (lisp/mail/supercite.el)
      (lisp/org/org-attach.el)
      (lisp/progmodes/cc-langs.el)
      (lisp/progmodes/idlw-shell.el)
      (lisp/ps-print.el)
      (lisp/simple.el)
      (src/cmds.c)
      (src/editfns.c)
      (src/frame.h)
      (src/regex-emacs.c)
      (src/xfaces.c): Replace "different than" by "different from".
      53006746
  8. 01 Feb, 2020 1 commit
    • Mattias Engdegård's avatar
      Replace add-to-list to lexical variable with push (bug#39373) · 32763dac
      Mattias Engdegård authored
      Since 'add-to-list', being a plain function, cannot access lexical
      variables, such use must be rewritten for correctness.
      (Some instances actually do work thanks to a compiler macro,
      but it's not something code should rely on.)
      
      * lisp/autoinsert.el (auto-insert-alist):
      * lisp/cedet/mode-local.el (mode-local-print-bindings):
      * lisp/net/tramp-cache.el (tramp-flush-connection-properties)
      (tramp-list-connections):
      * lisp/net/zeroconf.el (zeroconf-list-service-names)
      (zeroconf-list-service-types, zeroconf-list-services):
      * lisp/org/org.el (org-reload):
      * lisp/whitespace.el (whitespace-report-region):
      * test/lisp/emacs-lisp/map-tests.el (test-map-do):
      Replace add-to-list with push.
      32763dac
  9. 24 Jan, 2020 1 commit
    • Mattias Engdegård's avatar
      Remove (or double) redundant backslashes in string literals · 0c6c8aa0
      Mattias Engdegård authored
      See discussion at
      https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00749.html .
      
      * lisp/obsolete/iswitchb.el (iswitchb-summaries-to-end):
      * test/src/regex-emacs-tests.el (regex-tests-BOOST-frob-escapes):
      * test/lisp/help-fns-tests.el (help-fns-test-lisp-macro)
      (help-fns-test-lisp-defun, help-fns-test-lisp-defsubst)
      (help-fns-test-alias-to-defun, help-fns-test-bug23887):
      Double backslashes for desired effect.
      * lisp/org/ol.el (org-link-escape):
      * lisp/net/nsm.el (nsm-protocol-check--rsa-kx)
      (nsm-protocol-check--anon-kx, nsm-protocol-check--sha1-sig):
      * lisp/obsolete/old-whitespace.el (whitespace-buffer):
      * lisp/obsolete/rcompile.el (remote-compile-run-before):
      * lisp/obsolete/vi.el (vi-end-of-blank-delimited-word):
      * lisp/obsolete/vip.el (vip-current-major-mode)
      (vip-paren-match, vip-switch-to-buffer)
      (vip-switch-to-buffer-other-window, vip-kill-buffer)
      (vip-get-ex-token, ex-edit):
      * lisp/org/org-element.el (org-element--cache-sync-requests):
      * lisp/org/org.el (org-sparse-tree):
      * lisp/textmodes/reftex.el (reftex-report-bug):
      * test/lisp/ibuffer-tests.el (ibuffer-save-filters):
      * test/lisp/international/ucs-normalize-tests.el
      (ucs-normalize-tests--insert-failing-lines):
      * test/lisp/simple-tests.el (undo-test-kill-c-a-then-undo):
      * test/lisp/textmodes/conf-mode-tests.el (conf-test-toml-mode):
      * test/src/regex-emacs-tests.el (regex-tests-compare):
      Remove redundant backslashes.
      0c6c8aa0
  10. 05 Jan, 2020 1 commit
  11. 04 Jan, 2020 1 commit
    • Paul Eggert's avatar
      Fix some broken conditional forms · f95a2b83
      Paul Eggert authored
      Problem reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2020-01/msg00088.html
      * lisp/cedet/ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
      Remove this quick hack, which didn’t do anything anyway.
      * lisp/cedet/ede/pconf.el (ede-proj-configure-test-required-file):
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-col):
      * lisp/net/nsm.el (nsm-check-tls-connection):
      Use ‘when’ rather than bypassing it.  This doesn’t affect behavior
      and is better style.
      * lisp/cedet/srecode/semantic.el (srecode-semantic-handle-:tag):
      Fix typo that suppressed an error.
      * lisp/filesets.el (filesets-run-cmd): Fix typo that mishandled spacing.
      * lisp/gnus/gnus-cloud.el (gnus-cloud-update-newsrc-data):
      Fix typo that caused “GROUP has older different info in the cloud
      as of DATE, update it here?” prompt result to always be treated as
      “yes”.
      * lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Simplify,
      since smime-encrypt-buffer signals error on failure.
      * lisp/international/titdic-cnv.el (tsang-quick-converter): Simplify.
      The conversion of this file to utf-8-emacs in
      2019-01-08T02:18:40Z!monnier@iro.umontreal.ca removed the
      distinction between Big5 and CNS fulltitles in the generated docstring.
      * lisp/org/org-agenda.el (org-agenda-show-and-scroll-up):
      * lisp/textmodes/table.el (table--generate-source-cell-contents):
      Simplify by removing useless code.
      * lisp/org/ox-odt.el (org-odt--format-timestamp): Fix typo that
      always output time-of-day even when the timestamp lacked it.
      f95a2b83
  12. 01 Jan, 2020 2 commits
  13. 26 Dec, 2019 1 commit
    • Mattias Engdegård's avatar
      Use regexp type for regexps in defcustom declarations · af085ef4
      Mattias Engdegård authored
      * lisp/calendar/diary-lib.el (diary-face-attrs):
      * lisp/cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-file-match):
      * lisp/cedet/srecode/document.el
      (srecode-document-autocomment-common-nouns-abbrevs)
      (srecode-document-autocomment-function-alist)
      (srecode-document-autocomment-return-first-alist)
      (srecode-document-autocomment-return-last-alist)
      (srecode-document-autocomment-param-alist)
      (srecode-document-autocomment-param-type-alist):
      * lisp/desktop.el (desktop-clear-preserve-buffers):
      * lisp/elide-head.el (elide-head-headers-to-hide):
      * lisp/erc/erc-backend.el (erc-encoding-coding-alist):
      * lisp/erc/erc-ezbounce.el (erc-ezb-regexp):
      * lisp/files.el (auto-save-file-name-transforms):
      * lisp/gnus/deuglify.el (gnus-outlook-deuglify-attrib-cut-regexp)
      (gnus-outlook-deuglify-attrib-verb-regexp)
      (gnus-outlook-deuglify-attrib-end-regexp):
      * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
      * lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header):
      * lisp/htmlfontify.el (hfy-src-doc-link-unstyle):
      * lisp/info-look.el (info-lookup-file-name-alist):
      * lisp/international/rfc1843.el (rfc1843-newsgroups-regexp):
      * lisp/mail/feedmail.el (feedmail-queue-slug-suspect-regexp):
      * lisp/mail/rmail-spam-filter.el (rsf-white-list, rsf-definitions-alist):
      * lisp/man.el (Man-name-local-regexp):
      * lisp/net/ange-ftp.el (ange-ftp-dumb-unix-host-regexp):
      * lisp/net/newst-backend.el (newsticker-auto-mark-filter-list):
      * lisp/net/rcirc.el (rcirc-authinfo, rcirc-coding-system-alist):
      * lisp/net/tramp-adb.el (tramp-adb-prompt):
      * lisp/org/org-agenda.el (org-agenda-hide-tags-regexp)
      (org-agenda-category-icon-alist):
      * lisp/org/org-protocol.el (org-protocol-data-separator):
      * lisp/org/org-table.el (org-table-number-regexp):
      * lisp/org/ox-latex.el (org-latex-known-warnings):
      * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
      * lisp/progmodes/hideif.el (hide-ifdef-header-regexp):
      * lisp/progmodes/idlw-help.el (idlwave-help-doclib-name)
      (idlwave-help-doclib-keyword):
      * lisp/progmodes/idlwave.el (idlwave-no-change-comment):
      * lisp/progmodes/python.el (python-shell-prompt-input-regexps)
      (python-shell-prompt-output-regexps, python-shell-prompt-regexp)
      (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
      (python-shell-prompt-pdb-regexp, python-shell-compilation-regexp-alist)
      (python-pdbtrack-stacktrace-info-regexp):
      * lisp/progmodes/sql.el (sql-send-terminator, sql-ansi-statement-starters):
      * lisp/speedbar.el (speedbar-directory-unshown-regexp)
      (speedbar-file-unshown-regexp):
      * lisp/textmodes/flyspell.el (flyspell-mark-duplications-exceptions)
      (flyspell-tex-command-regexp):
      * lisp/textmodes/paragraphs.el (sentence-end-base):
      * lisp/textmodes/tildify.el (tildify-pattern, tildify-space-pattern):
      * lisp/vc/ediff-init.el (ediff-metachars):
      * lisp/vc/vc-git.el (vc-git-root-log-format):
      * lisp/vc/vc-hg.el (vc-hg-root-log-format):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      (whitespace-space-after-tab-regexp):
      * lisp/woman.el (woman-manpath-man-regexp)
      (woman-imenu-generic-expression):
      Use 'regexp' instead of 'string' as type for values that are regexps
      in defcustom declarations.
      af085ef4
  14. 11 Dec, 2019 1 commit
  15. 10 Dec, 2019 1 commit
  16. 06 Dec, 2019 1 commit
  17. 05 Dec, 2019 1 commit
    • Paul Eggert's avatar
      Fix regex repetition of repetitions · ab612302
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-12/msg00066.html
      * lisp/gnus/gnus-util.el (gnus-emacs-version):
      * lisp/mail/rfc2368.el (rfc2368-mailto-regexp):
      * lisp/net/tramp-sh.el (tramp-sh-inotifywait-process-filter):
      * lisp/obsolete/terminal.el (te-parse-program-and-args):
      * lisp/org/org-table.el (org-table-wrap-region):
      * lisp/progmodes/verilog-mode.el (verilog-inject-inst):
      Avoid repetition-of-repetition in regexp.
      ab612302
  18. 04 Dec, 2019 2 commits
  19. 03 Dec, 2019 1 commit
  20. 18 Nov, 2019 1 commit
  21. 11 Nov, 2019 1 commit
  22. 20 Oct, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos and improve some docstrings · 41ba8231
      Juanma Barranquero authored
      * lisp/auth-source.el (auth-source-backend-parse-parameters)
      (auth-source-search-collection)
      (auth-source-secrets-listify-pattern)
      (auth-source--decode-octal-string, auth-source-plstore-search):
      * lisp/registry.el (registry-lookup)
      (registry-lookup-breaks-before-lexbind)
      (registry-lookup-secondary, registry-lookup-secondary-value)
      (registry-search, registry-delete, registry-size, registry-full)
      (registry-insert, registry-reindex, registry-prune)
      (registry-collect-prune-candidates):
      * lisp/subr.el (nbutlast, process-live-p):
      * lisp/tab-bar.el (tab-bar-list):
      * lisp/cedet/ede/linux.el (ede-linux--get-archs)
      (ede-linux--include-path, ede-linux-load):
      * lisp/erc/erc-log.el (erc-log-all-but-server-buffers):
      * lisp/erc/erc-pcomplete.el (pcomplete-erc-commands)
      (pcomplete-erc-ops, pcomplete-erc-not-ops, pcomplete-erc-nicks)
      (pcomplete-erc-all-nicks, pcomplete-erc-channels)
      (pcomplete-erc-command-name, pcomplete-erc-parse-arguments):
      * lisp/eshell/em-term.el (eshell-visual-command-p):
      * lisp/gnus/gnus-cache.el (gnus-cache-fully-p):
      * lisp/gnus/nnmail.el (nnmail-get-active)
      (nnmail-fancy-expiry-target):
      * lisp/mail/mail-utils.el (mail-string-delete):
      * lisp/mail/supercite.el (sc-hdr, sc-valid-index-p):
      * lisp/net/ange-ftp.el (ange-ftp-use-smart-gateway-p):
      * lisp/net/nsm.el (nsm-save-fingerprint-maybe)
      (nsm-network-same-subnet, nsm-should-check):
      * lisp/net/rcirc.el (rcirc-looking-at-input):
      * lisp/net/tramp-cache.el (tramp-get-hash-table):
      * lisp/net/tramp-compat.el (tramp-compat-process-running-p):
      * lisp/net/tramp-smb.el (tramp-smb-get-share)
      (tramp-smb-get-localname, tramp-smb-read-file-entry)
      (tramp-smb-get-cifs-capabilities, tramp-smb-get-stat-capability):
      * lisp/net/zeroconf.el (zeroconf-list-service-names)
      (zeroconf-list-service-types, zeroconf-list-services)
      (zeroconf-get-host, zeroconf-get-domain)
      (zeroconf-get-host-domain):
      * lisp/nxml/rng-xsd.el (rng-xsd-compile)
      (rng-xsd-make-date-time-regexp, rng-xsd-convert-date-time):
      * lisp/obsolete/erc-hecomplete.el (erc-hecomplete)
      (erc-command-list, erc-complete-at-prompt):
      * lisp/org/ob-scheme.el (org-babel-scheme-get-buffer-impl):
      * lisp/org/ob-shell.el (org-babel--variable-assignments:sh-generic)
      (org-babel--variable-assignments:bash_array)
      (org-babel--variable-assignments:bash_assoc)
      (org-babel--variable-assignments:bash):
      * lisp/org/org-clock.el (org-day-of-week):
      * lisp/progmodes/cperl-mode.el (cperl-char-ends-sub-keyword-p):
      * lisp/progmodes/gud.el (gud-find-c-expr, gud-innermost-expr)
      (gud-prev-expr, gud-next-expr):
      * lisp/textmodes/table.el (table--at-cell-p, table--probe-cell)
      (table--get-cell-justify-property)
      (table--get-cell-valign-property)
      (table--put-cell-justify-property)
      (table--put-cell-valign-property): Fix typos.
      
      * lisp/so-long.el (fboundp): Doc fix.
      (so-long-mode-line-info, so-long-mode)
      (so-long--check-header-modes): Fix typos.
      
      * lisp/emulation/viper-mous.el (viper-surrounding-word)
      (viper-mouse-click-get-word): Fix typos.
      (viper-mouse-click-search-word): Doc fix.
      
      * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
      (erc-bounds-of-word-at-point): Fix typos.
      (erc-decode-string-from-target, define-erc-response-handler):
      Refill docstring.
      
      * lisp/erc/erc-dcc.el (pcomplete/erc-mode/DCC): Fix typo.
      (erc-dcc-get-host, erc-dcc-auto-mask-p, erc-dcc-get-file):
      Doc fixes.
      
      * lisp/erc/erc-networks.el (erc-network-name): Fix typo.
      (erc-determine-network): Refill docstring.
      
      * lisp/net/dbus.el (dbus-list-hash-table)
      (dbus-string-to-byte-array, dbus-byte-array-to-string)
      (dbus-check-event): Fix typos.
      (dbus-introspect-get-property): Doc fix.
      
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler):
      Rename ARGS to ARGUMENTS.  Doc fix.
      (tramp-adb-sh-fix-ls-output, tramp-adb-execute-adb-command)
      (tramp-adb-find-test-command): Fix typos.
      
      * lisp/net/tramp.el (tramp-set-completion-function)
      (tramp-get-completion-function)
      (tramp-completion-dissect-file-name)
      (tramp-completion-dissect-file-name1)
      (tramp-get-completion-methods, tramp-get-completion-user-host)
      (tramp-get-inode, tramp-get-device, tramp-mode-string-to-int)
      (tramp-call-process, tramp-call-process-region)
      (tramp-process-lines): Fix typos.
      (tramp-interrupt-process): Doc fix.
      
      * lisp/org/ob-core.el (org-babel-named-src-block-regexp-for-name)
      (org-babel-named-data-regexp-for-name): Doc fix.
      (org-babel-src-block-names, org-babel-result-names): Fix typos.
      
      * lisp/progmodes/inf-lisp.el (lisp-input-filter): Doc fix.
      (lisp-fn-called-at-pt): Fix typo.
      
      * lisp/progmodes/xref.el (xref-backend-identifier-at-point):
      Doc fix.
      (xref-backend-identifier-completion-table): Fix typo.
      41ba8231
  23. 23 Sep, 2019 1 commit
    • Paul Eggert's avatar
      Update some URLs · 946a56a1
      Paul Eggert authored
      This mostly changes http: to https: in URLs.  It also updates
      some URLs that have moved, removes some URLs that no longer
      work, recommends against using procmail (procmail.org no
      longer works), and removes some mentions of the
      no-longer-existing Gmane, LPF and VTW.
      It doesn't update all URLs, just the ones I had time for.
      * GNUmakefile (help):
      * admin/admin.el (manual-doctype-string):
      * admin/charsets/Makefile.in (${charsetdir}/ALTERNATIVNYJ.map):
      * admin/charsets/mapconv:
      * lisp/net/soap-client.el (soap-create-envelope):
      * lisp/org/org.el (org-doi-server-url):
      * lisp/textmodes/bibtex.el (bibtex-generate-url-list):
      Prefer https: to http: un URLs.
      946a56a1
  24. 20 Sep, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos and other trivial doc fixes · 11432322
      Juanma Barranquero authored
      * lisp/allout-widgets.el (allout-widgets-auto-activation)
      (allout-current-decorated-p):
      * lisp/auth-source.el (auth-source-protocols):
      * lisp/autorevert.el (auto-revert-set-timer):
      * lisp/battery.el (battery-mode-line-limit):
      * lisp/calc/calcalg3.el (math-map-binop):
      * lisp/calendar/cal-dst.el (calendar-dst-find-startend):
      * lisp/calendar/cal-mayan.el (calendar-mayan-long-count-to-absolute):
      * lisp/calendar/calendar.el (calendar-date-echo-text)
      (calendar-generate-month, calendar-string-spread)
      (calendar-cursor-to-date, calendar-read, calendar-read-date)
      (calendar-mark-visible-date, calendar-dayname-on-or-before):
      * lisp/calendar/diary-lib.el (diary-ordinal-suffix):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-new-program)
      (autoconf-find-last-macro, autoconf-parameter-strip):
      * lisp/cedet/ede/config.el (ede-target-with-config-build):
      * lisp/cedet/ede/linux.el (ede-linux--detect-architecture)
      (ede-linux--get-architecture):
      * lisp/cedet/semantic/complete.el (semantic-collector-calculate-cache)
      (semantic-displayer-abstract, semantic-displayer-point-position):
      * lisp/cedet/semantic/format.el (semantic-format-face-alist)
      (semantic-format-tag-short-doc):
      * lisp/cedet/semantic/fw.el (semantic-find-file-noselect):
      * lisp/cedet/semantic/idle.el (semantic-idle-scheduler-work-idle-time)
      (semantic-idle-breadcrumbs-display-function)
      (semantic-idle-breadcrumbs-format-tag-list-function):
      * lisp/cedet/semantic/lex.el (semantic-lex-map-types)
      (define-lex, define-lex-block-type-analyzer):
      * lisp/cedet/semantic/senator.el (senator-search-default-tag-filter):
      * lisp/cedet/semantic/symref.el (semantic-symref-result)
      (semantic-symref-hit-to-tag-via-db):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-new-variable)
      (semantic-tag-new-include, semantic-tag-new-package)
      (semantic-tag-set-faux, semantic-create-tag-proxy)
      (semantic-tag-function-parent)
      (semantic-tag-components-with-overlays):
      * lisp/cedet/srecode/cpp.el (srecode-cpp-namespaces)
      (srecode-semantic-handle-:c, srecode-semantic-apply-tag-to-dict):
      * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary)
      (srecode-dictionary-add-entries, srecode-dictionary-lookup-name)
      (srecode-create-dictionaries-from-tags):
      * lisp/cmuscheme.el (scheme-compile-region):
      * lisp/color.el (color-lab-to-lch):
      * lisp/doc-view.el (doc-view-image-width)
      (doc-view-set-up-single-converter):
      * lisp/dynamic-setting.el (font-setting-change-default-font)
      (dynamic-setting-handle-config-changed-event):
      * lisp/elec-pair.el (electric-pair-text-pairs)
      (electric-pair-skip-whitespace-function)
      (electric-pair-string-bound-function):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance)
      (avl-tree-member, avl-tree-mapcar, avl-tree-iter):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-generate-call-tree):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-autofix-flag)
      (checkdoc-spellcheck-documentation-flag, checkdoc-ispell)
      (checkdoc-ispell-current-buffer, checkdoc-ispell-interactive)
      (checkdoc-ispell-message-interactive)
      (checkdoc-ispell-message-text, checkdoc-ispell-start)
      (checkdoc-ispell-continue, checkdoc-ispell-comments)
      (checkdoc-ispell-defun):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
      * lisp/emacs-lisp/eieio-custom.el (eieio-read-customization-group):
      * lisp/emacs-lisp/lisp.el (forward-sexp, up-list):
      * lisp/emacs-lisp/package-x.el (package--archive-contents-from-file):
      * lisp/emacs-lisp/package.el (package-desc)
      (package--make-autoloads-and-stuff, package-hidden-regexps):
      * lisp/emacs-lisp/tcover-ses.el (ses-exercise-startup):
      * lisp/emacs-lisp/testcover.el (testcover-nohits)
      (testcover-1value):
      * lisp/epg.el (epg-receive-keys, epg-start-edit-key):
      * lisp/erc/erc-backend.el (erc-server-processing-p)
      (erc-split-line-length, erc-server-coding-system)
      (erc-server-send, erc-message):
      * lisp/erc/erc-button.el (erc-button-face, erc-button-alist)
      (erc-browse-emacswiki):
      * lisp/erc/erc-ezbounce.el (erc-ezbounce, erc-ezb-get-login):
      * lisp/erc/erc-fill.el (erc-fill-variable-maximum-indentation):
      * lisp/erc/erc-log.el (erc-current-logfile):
      * lisp/erc/erc-match.el (erc-log-match-format)
      (erc-text-matched-hook):
      * lisp/erc/erc-netsplit.el (erc-netsplit, erc-netsplit-debug):
      * lisp/erc/erc-networks.el (erc-server-alist)
      (erc-networks-alist, erc-current-network):
      * lisp/erc/erc-ring.el (erc-input-ring-index):
      * lisp/erc/erc-speedbar.el (erc-speedbar)
      (erc-speedbar-update-channel):
      * lisp/erc/erc-stamp.el (erc-timestamp-only-if-changed-flag):
      * lisp/erc/erc-track.el (erc-track-position-in-mode-line)
      (erc-track-remove-from-mode-line, erc-modified-channels-update)
      (erc-track-last-non-erc-buffer, erc-track-sort-by-importance)
      (erc-track-get-active-buffer):
      * lisp/erc/erc.el (erc-get-channel-user-list)
      (erc-echo-notice-hook, erc-echo-notice-always-hook)
      (erc-wash-quit-reason, erc-format-@nick):
      * lisp/ffap.el (ffap-latex-mode):
      * lisp/files.el (abort-if-file-too-large)
      (dir-locals--get-sort-score, buffer-stale--default-function):
      * lisp/filesets.el (filesets-tree-max-level, filesets-data)
      (filesets-update-pre010505):
      * lisp/gnus/gnus-agent.el (gnus-agent-flush-cache):
      * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
      (gnus-button-prefer-mid-or-mail):
      * lisp/gnus/gnus-cus.el (gnus-group-parameters):
      * lisp/gnus/gnus-demon.el (gnus-demon-handlers)
      (gnus-demon-run-callback):
      * lisp/gnus/gnus-dired.el (gnus-dired-print):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-buffer):
      * lisp/gnus/gnus-range.el (gnus-range-normalize):
      * lisp/gnus/gnus-spec.el (gnus-pad-form):
      * lisp/gnus/gnus-srvr.el (gnus-server-agent, gnus-server-cloud)
      (gnus-server-opened, gnus-server-closed, gnus-server-denied)
      (gnus-server-offline):
      * lisp/gnus/gnus-sum.el (gnus-refer-thread-use-nnir)
      (gnus-refer-thread-limit-to-thread)
      (gnus-summary-limit-include-thread, gnus-summary-refer-thread)
      (gnus-summary-find-matching):
      * lisp/gnus/gnus-util.el (gnus-rescale-image):
      * lisp/gnus/gnus.el (gnus-summary-line-format, gnus-no-server):
      * lisp/gnus/mail-source.el (mail-source-incoming-file-prefix):
      * lisp/gnus/message.el (message-cite-reply-position)
      (message-cite-style-outlook, message-cite-style-thunderbird)
      (message-cite-style-gmail, message--send-mail-maybe-partially):
      * lisp/gnus/mm-extern.el (mm-inline-external-body):
      * lisp/gnus/mm-partial.el (mm-inline-partial):
      * lisp/gnus/mml-sec.el (mml-secure-message-sign)
      (mml-secure-message-sign-encrypt, mml-secure-message-encrypt):
      * lisp/gnus/mml2015.el (mml2015-epg-key-image)
      (mml2015-epg-key-image-to-string):
      * lisp/gnus/nndiary.el (nndiary-reminders, nndiary-get-new-mail):
      * lisp/gnus/nnheader.el (nnheader-directory-files-is-safe):
      * lisp/gnus/nnir.el (nnir-search-history)
      (nnir-imap-search-other, nnir-artlist-length)
      (nnir-artlist-article, nnir-artitem-group, nnir-artitem-number)
      (nnir-artitem-rsv, nnir-article-group, nnir-article-number)
      (nnir-article-rsv, nnir-article-ids, nnir-categorize)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-hyrex-additional-switches)
      (gnus-group-make-nnir-group, nnir-run-namazu, nnir-read-parms)
      (nnir-read-parm, nnir-read-server-parm, nnir-search-thread):
      * lisp/gnus/nnmairix.el (nnmairix-default-group)
      (nnmairix-propagate-marks):
      * lisp/gnus/smime.el (smime-keys, smime-crl-check)
      (smime-verify-buffer, smime-noverify-buffer):
      * lisp/gnus/spam-report.el (spam-report-url-ping-mm-url):
      * lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header)
      (spam-spamassassin-spam-status-header, spam-sa-learn-rebuild)
      (spam-classifications, spam-check-stat, spam-spamassassin-score):
      * lisp/help.el (describe-minor-mode-from-symbol):
      * lisp/hippie-exp.el (hippie-expand-ignore-buffers):
      * lisp/htmlfontify.el (hfy-optimizations, hfy-face-resolve-face)
      (hfy-begin-span):
      * lisp/ibuf-ext.el (ibuffer-update-saved-filters-format)
      (ibuffer-saved-filters, ibuffer-old-saved-filters-warning)
      (ibuffer-filtering-qualifiers, ibuffer-repair-saved-filters)
      (eval, ibuffer-unary-operand, file-extension, directory):
      * lisp/image-dired.el (image-dired-cmd-pngcrush-options):
      * lisp/image-mode.el (image-toggle-display):
      * lisp/international/ccl.el (ccl-compile-read-multibyte-character)
      (ccl-compile-write-multibyte-character):
      * lisp/international/kkc.el (kkc-save-init-file):
      * lisp/international/latin1-disp.el (latin1-display):
      * lisp/international/ogonek.el (ogonek-name-encoding-alist)
      (ogonek-information, ogonek-lookup-encoding)
      (ogonek-deprefixify-region):
      * lisp/isearch.el (isearch-filter-predicate)
      (isearch--momentary-message):
      * lisp/jsonrpc.el (jsonrpc-connection-send)
      (jsonrpc-process-connection, jsonrpc-shutdown)
      (jsonrpc--async-request-1):
      * lisp/language/tibet-util.el (tibetan-char-p):
      * lisp/mail/feedmail.el (feedmail-queue-use-send-time-for-date)
      (feedmail-last-chance-hook, feedmail-before-fcc-hook)
      (feedmail-send-it-immediately-wrapper, feedmail-find-eoh):
      * lisp/mail/hashcash.el (hashcash-generate-payment)
      (hashcash-generate-payment-async, hashcash-insert-payment)
      (hashcash-verify-payment):
      * lisp/mail/rmail.el (rmail-movemail-variant-in-use)
      (rmail-get-attr-value):
      * lisp/mail/rmailmm.el (rmail-mime-prefer-html, rmail-mime):
      * lisp/mail/rmailsum.el (rmail-summary-show-message):
      * lisp/mail/supercite.el (sc-raw-mode-toggle):
      * lisp/man.el (Man-start-calling):
      * lisp/mh-e/mh-acros.el (mh-do-at-event-location)
      (mh-iterate-on-messages-in-region, mh-iterate-on-range):
      * lisp/mh-e/mh-alias.el (mh-alias-system-aliases)
      (mh-alias-reload, mh-alias-ali)
      (mh-alias-canonicalize-suggestion, mh-alias-add-alias-to-file)
      (mh-alias-add-alias):
      * lisp/mouse.el (mouse-save-then-kill):
      * lisp/net/browse-url.el (browse-url-default-macosx-browser):
      * lisp/net/eudc.el (eudc-set, eudc-variable-protocol-value)
      (eudc-variable-server-value, eudc-update-variable)
      (eudc-expand-inline):
      * lisp/net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
      * lisp/net/eudcb-ldap.el (eudc-ldap-get-field-list):
      * lisp/net/pop3.el (pop3-list):
      * lisp/net/soap-client.el (soap-namespace-put)
      (soap-xs-parse-sequence, soap-parse-envelope):
      * lisp/net/soap-inspect.el (soap-inspect-xs-complex-type):
      * lisp/nxml/rng-xsd.el (rng-xsd-date-to-days):
      * lisp/org/ob-C.el (org-babel-prep-session:C)
      (org-babel-load-session:C):
      * lisp/org/ob-J.el (org-babel-execute:J):
      * lisp/org/ob-asymptote.el (org-babel-prep-session:asymptote):
      * lisp/org/ob-awk.el (org-babel-execute:awk):
      * lisp/org/ob-core.el (org-babel-process-file-name):
      * lisp/org/ob-ebnf.el (org-babel-execute:ebnf):
      * lisp/org/ob-forth.el (org-babel-execute:forth):
      * lisp/org/ob-fortran.el (org-babel-execute:fortran)
      (org-babel-prep-session:fortran, org-babel-load-session:fortran):
      * lisp/org/ob-groovy.el (org-babel-execute:groovy):
      * lisp/org/ob-io.el (org-babel-execute:io):
      * lisp/org/ob-js.el (org-babel-execute:js):
      * lisp/org/ob-lilypond.el (org-babel-default-header-args:lilypond)
      (org-babel-lilypond-compile-post-tangle)
      (org-babel-lilypond-display-pdf-post-tangle)
      (org-babel-lilypond-tangle)
      (org-babel-lilypond-execute-tangled-ly)
      (org-babel-lilypond-compile-lilyfile)
      (org-babel-lilypond-check-for-compile-error)
      (org-babel-lilypond-process-compile-error)
      (org-babel-lilypond-mark-error-line)
      (org-babel-lilypond-parse-error-line)
      (org-babel-lilypond-attempt-to-open-pdf)
      (org-babel-lilypond-attempt-to-play-midi)
      (org-babel-lilypond-switch-extension)
      (org-babel-lilypond-set-header-args):
      * lisp/org/ob-lua.el (org-babel-prep-session:lua):
      * lisp/org/ob-picolisp.el (org-babel-execute:picolisp):
      * lisp/org/ob-processing.el (org-babel-prep-session:processing):
      * lisp/org/ob-python.el (org-babel-prep-session:python):
      * lisp/org/ob-scheme.el (org-babel-scheme-capture-current-message)
      (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
      * lisp/org/ob-shen.el (org-babel-execute:shen):
      * lisp/org/org-agenda.el (org-agenda-entry-types)
      (org-agenda-move-date-from-past-immediately-to-today)
      (org-agenda-time-grid, org-agenda-sorting-strategy)
      (org-agenda-filter-by-category, org-agenda-forward-block):
      * lisp/org/org-colview.el (org-columns--overlay-text):
      * lisp/org/org-faces.el (org-verbatim, org-cycle-level-faces):
      * lisp/org/org-indent.el (org-indent-set-line-properties):
      * lisp/org/org-macs.el (org-get-limited-outline-regexp):
      * lisp/org/org-mobile.el (org-mobile-files):
      * lisp/org/org.el (org-use-fast-todo-selection)
      (org-extend-today-until, org-use-property-inheritance)
      (org-refresh-effort-properties, org-open-at-point-global)
      (org-track-ordered-property-with-tag, org-shiftright):
      * lisp/org/ox-html.el (org-html-checkbox-type):
      * lisp/org/ox-man.el (org-man-source-highlight)
      (org-man-verse-block):
      * lisp/org/ox-publish.el (org-publish-sitemap-default):
      * lisp/outline.el (outline-head-from-level):
      * lisp/progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-calc-command-indent, dcl-indent-to):
      * lisp/progmodes/flymake.el (flymake-make-diagnostic)
      (flymake--overlays, flymake-diagnostic-functions)
      (flymake-diagnostic-types-alist, flymake--backend-state)
      (flymake-is-running, flymake--collect, flymake-mode):
      * lisp/progmodes/gdb-mi.el (gdb-threads-list, gdb, gdb-non-stop)
      (gdb-buffers, gdb-gud-context-call, gdb-jsonify-buffer):
      * lisp/progmodes/grep.el (grep-error-screen-columns):
      * lisp/progmodes/gud.el (gud-prev-expr):
      * lisp/progmodes/ps-mode.el (ps-mode, ps-mode-target-column)
      (ps-run-goto-error):
      * lisp/progmodes/python.el (python-eldoc-get-doc)
      (python-eldoc-function-timeout-permanent, python-eldoc-function):
      * lisp/shadowfile.el (shadow-make-group):
      * lisp/speedbar.el (speedbar-obj-do-check):
      * lisp/textmodes/flyspell.el (flyspell-auto-correct-previous-hook):
      * lisp/textmodes/reftex-cite.el (reftex-bib-or-thebib):
      * lisp/textmodes/reftex-index.el (reftex-index-goto-entry)
      (reftex-index-kill, reftex-index-undo):
      * lisp/textmodes/reftex-parse.el (reftex-context-substring):
      * lisp/textmodes/reftex.el (reftex-TeX-master-file):
      * lisp/textmodes/rst.el (rst-next-hdr, rst-toc)
      (rst-uncomment-region, rst-font-lock-extend-region-internal):
      * lisp/thumbs.el (thumbs-mode):
      * lisp/vc/ediff-util.el (ediff-restore-diff):
      * lisp/vc/pcvs-defs.el (cvs-cvsroot, cvs-force-dir-tag):
      * lisp/vc/vc-hg.el (vc-hg--ignore-patterns-valid-p):
      * lisp/wid-edit.el (widget-field-value-set, string):
      * lisp/x-dnd.el (x-dnd-version-from-flags)
      (x-dnd-more-than-3-from-flags): Assorted docfixes.
      11432322
  25. 19 Sep, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el, src/*.c: Fix typos in docstrings · 79a01866
      Juanma Barranquero authored
      * lisp/apropos.el (apropos-do-all):
      * lisp/auth-source-pass.el (auth-source-pass--select-from-entries):
      * lisp/auth-source.el (auth-source-user-or-password):
      * lisp/calc/calc-forms.el (math-tzone-names):
      * lisp/calendar/diary-lib.el (diary-face-attrs)
      (diary-mark-entries-1):
      * lisp/cedet/cedet-files.el (cedet-files-list-recursively):
      * lisp/cedet/ede.el (ede-constructing, ede-deep-rescan):
      * lisp/cedet/ede/cpp-root.el (ede-cpp-root-header-file-p):
      * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
      * lisp/cedet/inversion.el (inversion-check-version)
      (inversion-test):
      * lisp/cedet/mode-local.el (mode-local-map-file-buffers):
      * lisp/cedet/semantic/complete.el (semantic-displayer-ghost):
      * lisp/cedet/semantic/db-find.el (semanticdb-find-translate-path-default):
      * lisp/cedet/semantic/db.el (semanticdb-table)
      (semanticdb-search-system-databases):
      * lisp/cedet/semantic/imenu.el (semantic-imenu-index-directory):
      * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map):
      * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-use-headers-flag):
      * lisp/cedet/semantic/lex.el (semantic-lex-make-keyword-table)
      (semantic-lex-make-type-table, semantic-lex-debug-analyzers):
      * lisp/cedet/semantic/tag-ls.el (semantic-tag-abstract-p)
      (semantic-tag-leaf-p, semantic-tag-static-p)
      (semantic-tag-prototype-p):
      * lisp/dnd.el (dnd-open-remote-file-function, dnd-open-local-file):
      * lisp/emacs-lisp/eieio-opt.el (eieio-build-class-alist)
      (eieio-read-class, eieio-read-subclass):
      * lisp/emacs-lisp/generator.el (cps--replace-variable-references)
      (cps--handle-loop-for):
      * lisp/erc/erc-dcc.el (erc-dcc-list, erc-dcc-member, erc-dcc-server)
      (erc-dcc-auto-mask-p, erc-dcc-get-file, erc-dcc-chat-accept):
      * lisp/eshell/em-pred.el (eshell-pred-file-type):
      * lisp/faces.el (defined-colors-with-face-attributes):
      * lisp/font-core.el (font-lock-mode):
      * lisp/frame.el (frame-restack):
      * lisp/net/shr.el (shr-image-animate):
      * lisp/org/org-agenda.el (org-agenda-change-all-lines)
      (org-agenda-today-p):
      * lisp/org/org-id.el (org-id-get):
      * lisp/org/org.el (org-highlight-latex-and-related)
      (org--valid-property-p):
      * lisp/org/ox-beamer.el (org-beamer--get-label):
      * lisp/org/ox-latex.el (org-latex--caption-above-p):
      * lisp/org/ox-odt.el (org-odt--copy-image-file)
      (org-odt--copy-formula-file):
      * lisp/org/ox.el (org-export-with-timestamps):
      * lisp/progmodes/verilog-mode.el (verilog-indent-declaration-macros):
      * lisp/ses.el (ses-file-format-extend-parameter-list):
      * lisp/term.el (ansi-term):
      * lisp/textmodes/bibtex.el (bibtex-no-opt-remove-re)
      (bibtex-beginning-of-first-entry, bibtex-autokey-get-title)
      (bibtex-read-key, bibtex-initialize):
      * lisp/textmodes/flyspell.el (flyspell-word):
      * lisp/view.el (view-mode-exit):
      * src/composite.c:
      * src/floatfns.c (Fisnan): Fix typos in docstrings.
      79a01866
  26. 20 Aug, 2019 1 commit
    • Paul Eggert's avatar
      Fix org-table 65536-second bug · 221a3272
      Paul Eggert authored
      * lisp/org/org-table.el (org-table-message-once-per-second):
      Fix bug when clock difference goes past a 65536-second boundary.
      Don’t assume particular format for current-time result.
      221a3272
  27. 18 Aug, 2019 1 commit
    • Paul Eggert's avatar
      Fix org-timer-show-remaining-time > 1 hour · 3d1c9a77
      Paul Eggert authored
      * lisp/org/org-timer.el (org-timer-show-remaining-time):
      Don’t assume the remaining time is less than one hour.
      Simplify.  The simplification removes the need for a
      decode-time, and fixes a typo I introduced recently.
      3d1c9a77
  28. 17 Aug, 2019 2 commits
    • Paul Eggert's avatar
      Add FIXMEs for subsecond support · c90a4207
      Paul Eggert authored
      This adds FIXMEs to areas where Lisp code should support
      subsecond information in broken-down timestamps.
      It also fixes some unnecessary truncation of timestamps, and
      ports the code to a hypothetical future Emacs version where
      (decode-time) returns subsecond timestamps by default.
      * lisp/calc/calc-forms.el (calc-time, math-iso-dt-to-date)
      (calcFunc-now):
      * lisp/calendar/icalendar.el (icalendar--add-decoded-times):
      * lisp/calendar/iso8601.el (iso8601-parse-interval):
      Truncate seconds to an integer, and add a FIXME about
      subseconds support.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime)
      (icalendar--decode-isoduration):
      Add a FIXME about subseconds support.
      * lisp/gnus/gnus-delay.el (gnus-delay-article):
      Don’t truncate seconds to an integer, as there’s no need
      to do that here.
      * lisp/gnus/gnus-util.el (gnus-seconds-today)
      (gnus-seconds-month, gnus-seconds-year):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/org/org-timer.el (org-timer-show-remaining-time):
      * lisp/vc/ediff-mult.el (ediff-format-date):
      Truncate seconds to an integer, as that’s what’s wanted here.
      * lisp/midnight.el (midnight-next):
      Ceiling seconds to an integer, as that’s what wanted here.
      c90a4207
    • Paul Eggert's avatar
      More-compatible subsecond calendrical timestamps · 37257d6a
      Paul Eggert authored
      Instead of appending a subseconds member to the result of
      ‘decode-time’, this keeps the format unchanged unless you give
      a new optional argument to ‘decode-time’.  Also, the augmented
      format now puts the subsecond info in the SECONDS element, so
      the total number of elements is unchanged; this is more
      compatible with code that expects the traditional 9 elements,
      such as ‘(pcase decoded-time (`(,SEC ,MIN ,HOUR ,DAY ,MON
      ,YEAR ,DOW ,DST ,ZONE) ...) ...)’.
      * doc/lispref/os.texi, doc/misc/emacs-mime.texi, etc/NEWS:
      * lisp/net/soap-client.el (soap-decode-date-time):
      * lisp/simple.el (decoded-time):
      Document the new behavior.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      * lisp/calendar/iso8601.el (iso8601-parse)
      (iso8601-parse-time, iso8601-parse-duration)
      (iso8601--decoded-time):
      * lisp/calendar/parse-time.el (parse-time-string):
      * lisp/calendar/time-date.el (decoded-time-add)
      (decoded-time--alter-second):
      * lisp/org/org.el (org-parse-time-string):
      * lisp/simple.el (decoded-time):
      * src/timefns.c (Fdecode_time, Fencode_time):
      * test/lisp/calendar/icalendar-tests.el:
      (icalendar--decode-isodatetime):
      * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years)
      (test-iso8601-date-dates, test-iso8601-date-obsolete)
      (test-iso8601-date-weeks, test-iso8601-date-ordinals)
      (test-iso8601-time, test-iso8601-combined)
      (test-iso8601-duration, test-iso8601-intervals)
      (standard-test-dates, standard-test-time-of-day-fractions)
      (standard-test-time-of-day-beginning-of-day)
      (standard-test-time-of-day-utc)
      (standard-test-time-of-day-zone)
      (standard-test-date-and-time-of-day, standard-test-interval):
      * test/lisp/calendar/parse-time-tests.el (parse-time-tests):
      * test/src/timefns-tests.el (format-time-string-with-zone)
      (encode-time-dst-numeric-zone):
      Revert recent changes that added a SUBSECS member to
      calendrical timestamps, since that component is no longer
      present (the info, if any, is now in the SECONDS member).
      * lisp/calendar/time-date.el (decoded-time-add)
      (decoded-time--alter-second):
      Support fractional seconds in the new form.  Simplify.
      * src/timefns.c (Fdecode_time): Support new arg FORM.
      (Fencode_time): Support subsecond resolution.
      * test/src/timefns-tests.el (format-time-string-with-zone)
      (decode-then-encode-time): Test subsecond calendrical timestamps.
      37257d6a
  29. 06 Aug, 2019 4 commits
    • Mattias Engdegård's avatar
      Add conditional operator xor to subr.el · c676444a
      Mattias Engdegård authored
      Suggested by Oleh Krehel and implemented by Basil Contovounesios in
      the following thread:
      https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00547.html
      
      * lisp/array.el (xor): Move unused function from here...
      * lisp/subr.el: ...to here, and improve.
      * lisp/gnus/spam.el (spam-xor):
      * lisp/play/5x5.el (5x5-xor):
      * lisp/proced.el (proced-xor):
      * lisp/progmodes/idlwave.el (idlwave-xor):
      * lisp/vc/diff-mode.el (diff-xor): Define as obsolete aliases of,
      and replace all uses with, xor.
      * lisp/jsonrpc.el: Remove unused dependency on array.el.
      * lisp/org/org.el (org-xor): Move from here...
      * lisp/org/org-compat.el (org-xor): ...to here, as a compatibility
      shim for xor.
      * lisp/progmodes/idlw-shell.el (idlwave-shell-enable-all-bp):
      * lisp/simple.el (exchange-point-and-mark):
      * lisp/windmove.el (windmove-display-in-direction): Use xor.
      * lisp/strokes.el (strokes-xor): Remove commented-out xor
      implementation.
      
      * doc/lispref/control.texi (Control Structures): Extend menu entry
      for new combining condition.
      (Combining Conditions):
      * etc/NEWS (Lisp Changes): Document xor.
      
      * test/lisp/subr-tests.el (subr-test-xor): New test.
      c676444a
    • Paul Eggert's avatar
      decode-time now returns subsec too · b06917a4
      Paul Eggert authored
      The list that decode-time returns now contains an extra
      trailing component that counts the subseconds part of the
      original timestamp (Bug#36549).
      This builds on a suggestion by Lars Ingebrigtsen in:
      https://lists.gnu.org/r/emacs-devel/2019-07/msg00734.html
      * doc/lispref/os.texi (Time Conversion):
      * doc/misc/emacs-mime.texi (time-date):
      * etc/NEWS: Document this.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      * lisp/calendar/iso8601.el (iso8601-parse)
      (iso8601-parse-time, iso8601-parse-duration)
      (iso8601--decoded-time):
      * lisp/calendar/parse-time.el (parse-time-string):
      * lisp/calendar/time-date.el (make-decoded-time)
      (decoded-time-set-defaults):
      * lisp/org/org.el (org-fix-decoded-time)
      (org-parse-time-string):
      * src/timefns.c (Fdecode_time):
      Generate subsec member for decoded time.
      * lisp/calendar/time-date.el (decoded-time-add)
      Add the decoded subsec too.
      * lisp/simple.el (decoded-time): New subsec member.
      * src/data.c (Frem): Simplify zero-check to match that of new Fmod.
      (integer_mod): New function, with most of the guts of the old Fmod.
      Remove redundant zero-check.
      (Fmod): Use it.
      * src/timefns.c (Fencode_time): Handle new subsec member
      or (with the obsolescent calling convention) subsec arg.
      It defaults to 0.
      * test/lisp/calendar/icalendar-tests.el:
      (icalendar--decode-isodatetime):
      * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years)
      (test-iso8601-date-dates, test-iso8601-date-obsolete)
      (test-iso8601-date-weeks, test-iso8601-date-ordinals)
      (test-iso8601-time, test-iso8601-combined)
      (test-iso8601-duration, test-iso8601-intervals)
      (standard-test-dates, standard-test-time-of-day-fractions)
      (standard-test-time-of-day-beginning-of-day)
      (standard-test-time-of-day-utc)
      (standard-test-time-of-day-zone)
      (standard-test-date-and-time-of-day, standard-test-interval):
      * test/lisp/calendar/parse-time-tests.el (parse-time-tests):
      * test/src/timefns-tests.el (format-time-string-with-zone)
      (encode-time-dst-numeric-zone):
      Adjust to match new behavior.
      b06917a4
    • Paul Eggert's avatar
      New function time-convert · 89c63b35
      Paul Eggert authored
      This replaces the awkward reuse of encode-time to both convert
      calendrical timestamps to Lisp timestamps, and to convert Lisp
      timestamps to other forms.  Now, encode-time does just the
      former and the new function does just the latter.
      The new function builds on a suggestion by Lars Ingebrigtsen in:
      https://lists.gnu.org/r/emacs-devel/2019-07/msg00801.html
      and refined by Stefan Monnier in:
      https://lists.gnu.org/r/emacs-devel/2019-07/msg00803.html
      * doc/lispref/os.texi (Time of Day, Time Conversion):
      * doc/misc/emacs-mime.texi (time-date):
      * etc/NEWS: Update documentation.
      * lisp/calendar/cal-dst.el (calendar-next-time-zone-transition):
      * lisp/calendar/time-date.el (seconds-to-time, days-to-time):
      * lisp/calendar/timeclock.el (timeclock-seconds-to-time):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/ecomplete.el (ecomplete-add-item):
      * lisp/emacs-lisp/cl-extra.el (cl--random-time):
      * lisp/emacs-lisp/timer.el (timer--time-setter)
      (timer-next-integral-multiple-of-time):
      * lisp/find-lisp.el (find-lisp-format-time):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      * lisp/gnus/gnus-group.el (gnus-group-set-timestamp):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-show-org-agenda):
      * lisp/gnus/nnrss.el (nnrss-normalize-date):
      * lisp/gnus/nnspool.el (nnspool-request-newgroups):
      * lisp/net/ntlm.el (ntlm-compute-timestamp):
      * lisp/net/pop3.el (pop3-uidl-dele):
      * lisp/obsolete/vc-arch.el (vc-arch-add-tagline):
      * lisp/org/org-clock.el (org-clock-get-clocked-time)
      (org-clock-resolve, org-resolve-clocks, org-clock-in)
      (org-clock-out, org-clock-sum):
      * lisp/org/org-id.el (org-id-uuid, org-id-time-to-b36):
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      * lisp/proced.el (proced-format-time):
      * lisp/progmodes/cc-cmds.el (c-progress-init)
      (c-progress-update):
      * lisp/progmodes/cperl-mode.el (cperl-time-fontification):
      * lisp/progmodes/flymake.el (flymake--schedule-timer-maybe):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-fix-case-region-1):
      * lisp/tar-mode.el (tar-octal-time):
      * lisp/time.el (emacs-uptime):
      * lisp/url/url-auth.el (url-digest-auth-make-cnonce):
      * lisp/url/url-util.el (url-lazy-message):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-entry):
      * lisp/vc/vc-hg.el (vc-hg-state-fast):
      * lisp/xt-mouse.el (xterm-mouse-event):
      * test/lisp/emacs-lisp/timer-tests.el:
      (timer-next-integral-multiple-of-time-2):
      Use time-convert, not encode-time.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      Don’t use now-removed FORM argument for encode-time.
      It wasn’t crucial anyway.
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add time-convert.
      * lisp/emacs-lisp/elint.el (elint-unknown-builtin-args):
      Update encode-time signature to match current arg set.
      * lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
      Use timer-convert with t rather than doing it by hand.
      * src/timefns.c (time_hz_ticks, time_form_stamp, lisp_time_form_stamp):
      Remove; no longer needed.
      (decode_lisp_time): Rturn the form instead of having a *PFORM arg.
      All uses changed.
      (time_arith): Just return TICKS if HZ is 1.
      (Fencode_time): Remove argument FORM.  All callers changed.
      Do not attempt to encode time values; just encode
      decoded (calendrical) times.
      Unless CURRENT_TIME_LIST, just return VALUE since HZ is 1.
      (Ftime_convert): New function, which does the time value
      conversion that bleeding-edge encode-time formerly did.
      Return TIME if it is easy to see that it is already
      of the correct form.
      (Fcurrent_time): Mention in doc that the form is planned to change.
      * test/src/timefns-tests.el (decode-then-encode-time):
      Don’t use (encode-time nil).
      89c63b35
    • Paul Eggert's avatar
      Fix minor Org timestamp inefficiencies · c6ba8100
      Paul Eggert authored
      * lisp/org/org-id.el (org-id-time-to-b36):
      Remove unnecessary ‘or’.
      * lisp/org/org.el (org-parse-time-string):
      Remove unnecessary ‘encode-time’.
      c6ba8100
  30. 04 Aug, 2019 2 commits
    • Paul Eggert's avatar
      Fix 2019-08-04 regex lint · a5b796a8
      Paul Eggert authored
      Problem reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-08/msg00085.html
      * lisp/calendar/diary-lib.el (diary-glob-file-regexp-prefix):
      Omit unnecessary ‘\’ before ordinary char.
      * lisp/cedet/inversion.el (inversion-decoders):
      * lisp/org/ob-haskell.el (org-babel-haskell-export-to-lhs):
      Omit unnecessary ‘?’ after nullable pattern.
      * lisp/org/org-capture.el (org-capture-fill-template):
      Match upper-case as well as lower-case letters.
      * lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings)
      (c-after-change-mark-abnormal-strings):
      Simplify ‘.|\r’ to ‘.’.
      * lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer):
      Put ‘-’ at end of bracket expression.
      a5b796a8
    • Paul Eggert's avatar
      Improve time function doc · 5f3f3884
      Paul Eggert authored
      * doc/misc/emacs-mime.texi (time-date): Don’t give
      parse-iso8601-time-string in the example, as the function is
      not autoloaded.
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      No need to call encode-time or use floating point here.
      5f3f3884
  31. 01 Aug, 2019 1 commit
    • Basil L. Contovounesios's avatar
      Fix usage of remove-text-properties · 2267110b
      Basil L. Contovounesios authored
      * lisp/allout-widgets.el (allout-decorate-item-icon):
      * lisp/emacs-lisp/chart.el (chart-goto-xy):
      * lisp/forms.el (forms--make-format)
      (forms--make-format-elt-using-text-properties):
      * lisp/htmlfontify.el (hfy-unmark-trailing-whitespace):
      * lisp/net/newst-plainview.el (newsticker-hide-entry)
      (newsticker-show-entry):
      * lisp/nxml/nxml-mode.el (nxml-cleanup):
      * lisp/obsolete/longlines.el (longlines-unshow-hard-newlines)
      (longlines-encode-region):
      * lisp/org/ob-exp.el (org-babel-exp-process-buffer):
      * lisp/org/org-agenda.el (org-agenda-show-new-time):
      * lisp/progmodes/cc-defs.el
      (c-clear-char-property-with-value-function)
      (c-clear-char-property-with-value-on-char-function):
      * lisp/progmodes/ebrowse.el (ebrowse--hide):
      * lisp/progmodes/gdb-mi.el (gdb-send):
      * lisp/progmodes/idlw-shell.el
      (idlwave-retrieve-expression-from-level):
      * lisp/progmodes/make-mode.el (makefile-fill-paragraph):
      * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
      * lisp/tmm.el (tmm-remove-inactive-mouse-face):
      Always pass an explicit plist to remove-text-properties.
      
      * lisp/dired.el (dired--unhide):
      * lisp/facemenu.el (facemenu-add-face):
      * lisp/htmlfontify.el (hfy-fontify-buffer):
      * lisp/iimage.el (iimage-mode-buffer):
      * lisp/image-file.el (image-file-yank-handler):
      * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
      * lisp/textmodes/tex-mode.el (latex-env-before-change):
      * test/src/undo-tests.el (undo-test0):
      Use remove-list-of-text-properties in place of
      remove-text-properties where appropriate.
      2267110b