1. 28 Feb, 2020 1 commit
  2. 22 Feb, 2020 1 commit
    • Wolfgang Scherer's avatar
      Don't write absolute filenames and duplicate strings to CVS ignore files · 0273f261
      Wolfgang Scherer authored
      * lisp/vc/vc-cvs.el (vc-cvs-ignore): Expand filename correctly
      and pass on only the basename as the pattern.
      (vc-cvs-append-to-ignore) Do not write duplicate strings to
      .cvsignore.  New optional parameter SORT to more explicitly
      control sorting of the ignore entries.  (Bug#37215)
      * lisp/vc/pcvs.el (cvs-mode-ignore): Call 'vc-cvs-append-to-ignore'
      with SORT argument.
      0273f261
  3. 01 Jan, 2020 1 commit
  4. 17 Sep, 2019 1 commit
    • Paul Eggert's avatar
      vc-cvs-revert: fix off-by-one file mode · b124cb8f
      Paul Eggert authored
      * lisp/vc/vc-cvs.el (vc-cvs-revert): 3950 (#o7556) is wrong as
      it keeps other-write but disables other-execute permissions.
      3949 (#o7555) was intended here.  Use octal notation for clarity.
      b124cb8f
  5. 06 Aug, 2019 1 commit
    • 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
  6. 01 Aug, 2019 1 commit
  7. 26 May, 2019 1 commit
  8. 20 May, 2019 1 commit
  9. 02 Apr, 2019 1 commit
    • Paul Eggert's avatar
      Improve regexp advice again, and unchain ranges · f9ff60e0
      Paul Eggert authored
      * doc/lispref/searching.texi (Regexp Special):
      Mention char classes earlier, in a more-logical place.
      Advise sticking to ASCII letters and digits in ranges.
      Reword negative advice to make it clearer that it’s negative.
      * lisp/files.el (make-auto-save-file-name):
      * lisp/gnus/message.el (message-mailer-swallows-blank-line):
      * lisp/gnus/nndoc.el (nndoc-lanl-gov-announce-type-p)
      (nndoc-generate-lanl-gov-head):
      * lisp/org/org-eshell.el (org-eshell-open):
      * lisp/org/org.el (org-deadline-time-hour-regexp)
      (org-scheduled-time-hour-regexp):
      * lisp/progmodes/bat-mode.el (bat-font-lock-keywords):
      * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
      * lisp/textmodes/less-css-mode.el (less-css-font-lock-keywords):
      * lisp/vc/vc-cvs.el (vc-cvs-valid-symbolic-tag-name-p):
      * lisp/vc/vc-svn.el (vc-svn-valid-symbolic-tag-name-p):
      Avoid attempts to chain ranges, as this can be confusing.
      For example, instead of [0-9-_.], use [0-9_.-].
      f9ff60e0
  10. 05 Mar, 2019 1 commit
    • Paul Eggert's avatar
      Fix regular-expression glitches and typos · 3c94c7bc
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg00085.html
      * admin/admin.el (set-version):
      * lisp/allout.el (allout-latexify-one-item):
      * lisp/arc-mode.el (archive-arc-rename-entry)
      (archive-rar-summarize):
      * lisp/calc/calc-graph.el (calc-graph-set-styles)
      (calc-graph-hide):
      * lisp/calc/calc-help.el (calc-describe-key):
      * lisp/calc/calc-lang.el (math-compose-tex-func, eqn):
      * lisp/calc/calc.el (calcDigit-key):
      * lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
      * lisp/cedet/ede/speedbar.el (ede-tag-expand):
      * lisp/cedet/semantic/sb.el (semantic-sb-show-extra)
      (semantic-sb-expand-group):
      * lisp/comint.el (comint-substitute-in-file-name):
      * lisp/dired.el (dired-actual-switches):
      * lisp/emacs-lisp/chart.el (chart-rmail-from):
      * lisp/emacs-lisp/eieio-opt.el (eieio-sb-expand):
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-object-expand):
      * lisp/emacs-lisp/rx.el (rx-not, rx-atomic-p):
      * lisp/emulation/viper-ex.el (viper-get-ex-token)
      (viper-get-ex-pat, ex-set-read-variable):
      * lisp/epg.el (epg--status-SIG_CREATED):
      * lisp/erc/erc-speedbar.el (erc-speedbar-expand-user):
      (erc-speedbar-expand-channel, erc-speedbar-expand-server)
      * lisp/erc/erc.el (erc-is-message-ctcp-and-not-action-p)
      (erc-banlist-update):
      * lisp/eshell/em-dirs.el (eshell-parse-drive-letter, eshell/pwd):
      * lisp/find-dired.el (find-dired):
      * lisp/frame.el (frame-set-background-mode):
      * lisp/generic-x.el (apache-log-generic-mode):
      * lisp/gnus/gnus-art.el (gnus-button-valid-localpart-regexp):
      * lisp/gnus/gnus.el (gnus-short-group-name):
      * lisp/gnus/message.el (message-mailer-swallows-blank-line):
      * lisp/ibuffer.el (ibuffer-fontification-alist):
      * lisp/ido.el (ido-set-matches-1):
      * lisp/info-xref.el (info-xref-lock-file-p):
      * lisp/info.el (Info-dir-remove-duplicates)
      (Info-unescape-quotes, Info-split-parameter-string)
      (Info-speedbar-expand-node):
      * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
      * lisp/isearch.el (isearch-pre-command-hook):
      * lisp/language/ethio-util.el (ethio-fidel-to-tex-buffer):
      * lisp/mail/rmail.el (rmail-collect-deleted):
      * lisp/mh-e/mh-alias.el (mh-alias-suggest-alias):
      * lisp/mh-e/mh-comp.el (mh-forward):
      * lisp/mh-e/mh-search.el (mh-index-next-folder)
      (mh-index-create-imenu-index):
      * lisp/mh-e/mh-xface.el (mh-picon-get-image):
      * lisp/minibuffer.el (completion--embedded-envvar-re):
      * lisp/net/ange-ftp.el (ange-ftp-ls-parser):
      * lisp/net/goto-addr.el (goto-address-mail-regexp)
      (goto-address-find-address-at-point):
      * lisp/net/pop3.el (pop3-read-response, pop3-user)
      (pop3-pass, pop3-apop):
      * lisp/net/tramp.el (tramp-ipv6-regexp)
      (tramp-replace-environment-variables):
      * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * lisp/nxml/rng-uri.el (rng-uri-escape-multibyte):
      * lisp/nxml/rng-xsd.el (rng-xsd-convert-any-uri):
      * lisp/obsolete/pgg.el (pgg-fetch-key):
      * lisp/obsolete/vip.el (vip-get-ex-token):
      * lisp/org/ob-core.el (org-babel-string-read):
      * lisp/org/org-agenda.el:
      (org-agenda-add-entry-to-org-agenda-diary-file):
      * lisp/org/org-element.el (org-element-keyword-parser):
      * lisp/org/org-list.el (org-list-indent-item-generic):
      * lisp/org/org-mhe.el (org-mhe-get-message-folder-from-index):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-mouse.el (org-mouse-context-menu):
      * lisp/org/org-plot.el (org-plot/gnuplot):
      * lisp/org/org-protocol.el (org-protocol-flatten-greedy):
      * lisp/org/org-table.el (org-table-copy-down)
      (org-table-formula-make-cmp-string)
      (org-table-get-stored-formulas, org-table-recalculate)
      (org-table-edit-formulas):
      * lisp/org/org.el (org-translate-link-from-planner)
      (org-fill-line-break-nobreak-p):
      * lisp/org/ox-ascii.el (org-ascii-item):
      * lisp/org/ox-latex.el (org-latex-clean-invalid-line-breaks):
      * lisp/org/ox.el (org-export-expand-include-keyword):
      * lisp/progmodes/ada-xref.el (ada-treat-cmd-string):
      * lisp/progmodes/cfengine.el (cfengine2-font-lock-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-to-comment-or-eol)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-have-help-regexp, cperl-word-at-point-hard)
      (cperl-make-regexp-x):
      * lisp/progmodes/dcl-mode.el (dcl-option-value-offset):
      * lisp/progmodes/etags.el (tag-implicit-name-match-p):
      * lisp/progmodes/fortran.el (fortran-fill):
      * lisp/progmodes/gdb-mi.el (gdb-speedbar-expand-node)
      (gdb-locals-handler-custom):
      * lisp/progmodes/grep.el (grep-mode-font-lock-keywords):
      * lisp/progmodes/gud.el (gud-jdb-find-source-using-classpath):
      * lisp/progmodes/js.el (js--continued-expression-p):
      * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
      * lisp/progmodes/meta-mode.el (meta-indent-level-count):
      * lisp/progmodes/mixal-mode.el (mixal-font-lock-keywords):
      * lisp/progmodes/opascal.el (opascal-find-unit-in-directory):
      * lisp/progmodes/pascal.el (pascal-progbeg-re):
      * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re)
      (ruby-expr-beg, ruby-parse-partial)
      (ruby-toggle-string-quotes, ruby-font-lock-keywords):
      * lisp/progmodes/sql.el (sql--make-help-docstring):
      * lisp/progmodes/verilog-mode.el (verilog-coverpoint-re)
      (verilog-skip-forward-comment-p)
      (verilog-read-sub-decls-gate)
      (verilog-read-auto-template-middle):
      * lisp/progmodes/vhdl-mode.el (vhdl-resolve-env-variable)
      (vhdl-speedbar-expand-project, vhdl-speedbar-expand-entity)
      (vhdl-speedbar-expand-architecture)
      (vhdl-speedbar-expand-config, vhdl-speedbar-expand-package)
      (vhdl-speedbar-dired):
      * lisp/speedbar.el (speedbar-dired, speedbar-tag-file)
      (speedbar-tag-expand):
      * lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords):
      * lisp/textmodes/flyspell.el (flyspell-debug-signal-word-checked):
      * lisp/textmodes/ispell.el (ispell-process-line):
      * lisp/textmodes/reftex-cite.el (reftex-end-of-bib-entry):
      * lisp/textmodes/reftex-ref.el (reftex-replace-prefix-escapes):
      * lisp/url/url-parse.el (url-generic-parse-url):
      * lisp/url/url-util.el (url-truncate-url-for-viewing):
      * lisp/vc/diff-mode.el (diff-unified->context):
      * lisp/vc/vc-bzr.el (vc-bzr-error-regexp-alist):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-status):
      * lisp/woman.el (woman0-el, woman-if-ignore)
      (woman-change-fonts):
      * lisp/xdg.el (xdg--substitute-home-env):
      Fix regular-expression infelicities and typos.
      
      Fix regular expression typos
      Fix typos reported by Mattias Engdegård in:
      that occurred in preloaded modules.
      * lisp/frame.el (frame-set-background-mode):
      * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
      * lisp/isearch.el (isearch-pre-command-hook):
      * lisp/minibuffer.el (completion--embedded-envvar-re):
      3c94c7bc
  11. 11 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Simplify use of encode-time · 988e37fa
      Paul Eggert authored
      Most uses of (apply #'encode-time foo) can now be replaced
      with (encode-time foo).  Make similar simplifications.
      * lisp/calendar/time-date.el (date-to-time):
      * lisp/calendar/timeclock.el (timeclock-when-to-leave)
      (timeclock-day-base, timeclock-generate-report):
      * lisp/emacs-lisp/timer.el (timer-set-idle-time):
      * lisp/eshell/esh-util.el (eshell-parse-ange-ls):
      * lisp/gnus/gnus-art.el (article-make-date-line):
      * lisp/gnus/gnus-delay.el (gnus-delay-article)
      (gnus-delay-send-queue):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--decode-datefield):
      * lisp/gnus/gnus-logic.el (gnus-advanced-date):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      * lisp/mail/ietf-drums.el (ietf-drums-parse-date):
      * lisp/net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
      * lisp/org/org-agenda.el (org-agenda-get-timestamps)
      (org-agenda-get-progress, org-agenda-show-clocking-issues):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-clock.el (org-clock-get-sum-start, org-clock-sum)
      (org-clocktable-steps):
      * lisp/org/org-colview.el (org-colview-construct-allowed-dates)
      * lisp/org/org-macro.el (org-macro--vc-modified-time):
      * lisp/org/org-table.el (org-table-eval-formula):
      * lisp/org/org.el (org-current-time, org-store-link)
      (org-time-today, org-read-date, org-read-date-display)
      (org-display-custom-time, org-time-string-to-time)
      (org-timestamp-change, org-timestamp--to-internal-time):
      * lisp/url/url-dav.el (url-dav-process-date-property):
      * lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time)
      (vc-cvs-parse-entry):
      Simplify use of encode-time.
      * lisp/org/org-clock.el (org-clock-get-clocked-time):
      (org-clock-resolve, org-resolve-clocks, org_clock_out)
      (org-clock-update-time-maybe):
      Avoid some rounding problems with encode-time and float-time.
      * lisp/org/org-clock.el (org-clock-in, org-clock-update-time-maybe):
      * lisp/org/org-colview.el (org-columns--age-to-minutes):
      * lisp/org/org.el (org-get-scheduled-time, org-get-deadline-time)
      (org-add-planning-info, org-2ft, org-time-string-to-absolute)
      (org-closest-date):
      Use org-time-string-to-time instead of doing it by hand with
      encode-time.
      * lisp/org/org.el (org-current-time): Simplify rounding.
      (org-read-date): Avoid extra trip through encode-time.
      988e37fa
  12. 01 Jan, 2019 1 commit
  13. 24 Sep, 2018 1 commit
    • Paul Eggert's avatar
      file-attributes cleanup · 662bee7d
      Paul Eggert authored
      Mostly, this replaces magic-number calls like (nth 4 A) with
      more-informative calls like (file-attribute-access-time A).
      It also fixes some documentation and minor timestamp coding
      issues that I noticed while looking into this.
      * doc/lispref/files.texi (File Attributes):
      * lisp/files.el (file-attribute-size)
      (file-attribute-inode-number, file-attribute-device-number):
      * src/dired.c (Fdirectory_files_and_attributes)
      (Ffile_attributes):
      Mention which attributes must be integers, or nonnegative integers,
      as opposed to merely being numbers.  Remove no-longer-correct
      talk about representing large integers as conses of integers.
      * doc/lispref/files.texi (Magic File Names):
      * doc/misc/gnus.texi (Low-level interface to the spam-stat dictionary):
      * lisp/autorevert.el (auto-revert-find-file-function)
      (auto-revert-tail-mode, auto-revert-handler):
      * lisp/auth-source.el (auth-source-netrc-parse):
      * lisp/cedet/ede/files.el (ede--inode-for-dir):
      * lisp/cedet/semantic/db-file.el (object-write):
      * lisp/cedet/semantic/db-mode.el (semanticdb-kill-hook):
      * lisp/cedet/semantic/db.el (semanticdb-needs-refresh-p)
      (semanticdb-synchronize):
      * lisp/cedet/srecode/table.el (srecode-mode-table-new):
      * lisp/desktop.el (desktop-save, desktop-read):
      * lisp/dired-aux.el (dired-file-set-difference)
      (dired-do-chxxx, dired-do-chmod, dired-copy-file-recursive)
      (dired-create-files):
      * lisp/dired.el (dired-directory-changed-p, dired-readin):
      * lisp/dos-w32.el (w32-direct-print-region-helper):
      * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads)
      (autoload-find-destination, update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-same-file-or-nonexistent):
      * lisp/epg.el (epg--start, epg-wait-for-completion):
      * lisp/eshell/em-ls.el (eshell-ls-filetype-p)
      (eshell-ls-applicable, eshell-ls-size-string)
      (eshell-ls-file, eshell-ls-dir, eshell-ls-files)
      (eshell-ls-entries):
      * lisp/eshell/em-pred.el (eshell-predicate-alist)
      (eshell-pred-file-type, eshell-pred-file-links)
      (eshell-pred-file-size):
      * lisp/eshell/em-unix.el (eshell-shuffle-files, eshell/cat)
      (eshell-du-sum-directory, eshell/du):
      * lisp/eshell/esh-util.el (eshell-read-passwd)
      (eshell-read-hosts):
      * lisp/files.el (remote-file-name-inhibit-cache)
      (find-file-noselect, insert-file-1, dir-locals-find-file)
      (dir-locals-read-from-dir, backup-buffer)
      (file-ownership-preserved-p, copy-directory)
      (read-file-modes):
      * lisp/find-lisp.el (find-lisp-format):
      * lisp/gnus/gnus-agent.el (gnus-agent-unfetch-articles)
      (gnus-agent-read-agentview, gnus-agent-expire-group-1)
      (gnus-agent-request-article, gnus-agent-regenerate-group)
      (gnus-agent-update-files-total-fetched-for)
      (gnus-agent-update-view-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-read-active)
      (gnus-cache-update-file-total-fetched-for)
      (gnus-cache-update-overview-total-fetched-for):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-file-new-p):
      * lisp/gnus/gnus-score.el (gnus-score-score-files):
      * lisp/gnus/gnus-start.el (gnus-save-newsrc-file)
      (gnus-master-read-slave-newsrc):
      * lisp/gnus/gnus-sum.el (gnus-summary-import-article):
      * lisp/gnus/gnus-util.el (gnus-file-newer-than)
      (gnus-cache-file-contents):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming)
      (mail-source-callback, mail-source-movemail):
      * lisp/gnus/nneething.el (nneething-create-mapping)
      (nneething-make-head):
      * lisp/gnus/nnfolder.el (nnfolder-read-folder):
      * lisp/gnus/nnheader.el (nnheader-file-size)
      (nnheader-insert-nov-file):
      * lisp/gnus/nnmail.el (nnmail-activate):
      * lisp/gnus/nnmaildir.el (nnmaildir--group-maxnum)
      (nnmaildir--new-number, nnmaildir--update-nov)
      (nnmaildir--scan, nnmaildir-request-scan)
      (nnmaildir-request-update-info)
      (nnmaildir-request-expire-articles):
      * lisp/gnus/nnmh.el (nnmh-request-list-1)
      (nnmh-request-expire-articles, nnmh-update-gnus-unreads):
      * lisp/gnus/nnml.el (nnml-request-expire-articles):
      * lisp/gnus/spam-stat.el (spam-stat-save, spam-stat-load)
      (spam-stat-process-directory, spam-stat-test-directory):
      * lisp/ido.el (ido-directory-too-big-p)
      (ido-file-name-all-completions):
      * 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-insert-directory)
      (ls-lisp-handle-switches, ls-lisp-classify-file)
      (ls-lisp-format):
      * lisp/mail/blessmail.el:
      * lisp/mail/feedmail.el (feedmail-default-date-generator)
      (feedmail-default-message-id-generator):
      * lisp/mail/mailabbrev.el (mail-abbrevs-sync-aliases)
      (mail-abbrevs-setup):
      * lisp/mail/mspools.el (mspools-size-folder):
      * lisp/mail/rmail.el (rmail-insert-inbox-text):
      * lisp/mail/sendmail.el (sendmail-sync-aliases):
      * lisp/mh-e/mh-alias.el (mh-alias-tstamp):
      * lisp/net/ange-ftp.el (ange-ftp-parse-netrc)
      (ange-ftp-write-region, ange-ftp-file-newer-than-file-p)
      (ange-ftp-cf1):
      * lisp/net/eudcb-mab.el (eudc-mab-query-internal):
      * lisp/net/eww.el (eww-read-bookmarks):
      * lisp/net/netrc.el (netrc-parse):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/nxml/rng-loc.el (rng-get-parsed-schema-locating-file):
      * lisp/obsolete/fast-lock.el (fast-lock-save-cache):
      * lisp/obsolete/vc-arch.el (vc-arch-state)
      (vc-arch-diff3-rej-p):
      * lisp/org/ob-eval.el (org-babel--shell-command-on-region):
      * lisp/org/org-attach.el (org-attach-commit):
      * lisp/org/org-macro.el (org-macro-initialize-templates):
      * lisp/org/org.el (org-babel-load-file)
      (org-file-newer-than-p):
      * lisp/org/ox-html.el (org-html-format-spec):
      * lisp/org/ox-publish.el (org-publish-find-date)
      (org-publish-cache-ctime-of-src):
      * lisp/pcmpl-gnu.el (pcomplete/tar):
      * lisp/pcmpl-rpm.el (pcmpl-rpm-packages):
      * lisp/play/cookie1.el (cookie-snarf):
      * lisp/progmodes/cmacexp.el (c-macro-expansion):
      * lisp/ps-bdf.el (bdf-file-mod-time):
      * lisp/server.el (server-ensure-safe-dir):
      * lisp/simple.el (shell-command-on-region):
      * lisp/speedbar.el (speedbar-item-info-file-helper)
      (speedbar-check-obj-this-line):
      * lisp/thumbs.el (thumbs-cleanup-thumbsdir):
      * lisp/time.el (display-time-mail-check-directory)
      (display-time-file-nonempty-p):
      * lisp/url/url-cache.el (url-is-cached):
      * lisp/url/url-file.el (url-file-asynch-callback):
      * lisp/vc/diff-mode.el (diff-delete-if-empty):
      * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries):
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      * lisp/vc/vc-cvs.el (vc-cvs-checkout-model)
      (vc-cvs-state-heuristic, vc-cvs-merge-news)
      (vc-cvs-retrieve-tag, vc-cvs-parse-status, vc-cvs-parse-entry):
      * lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1)
      (vc-hg--ignore-patterns-valid-p)
      (vc-hg--cached-dirstate-search, vc-hg-state-fast):
      * lisp/vc/vc-hooks.el (vc-after-save):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      * lisp/vc/vc-svn.el (vc-svn-merge-news, vc-svn-parse-status):
      * lisp/vc/vc.el (vc-checkout, vc-checkin, vc-revert-file):
      * lisp/xdg.el (xdg-mime-apps):
      Prefer (file-attribute-size A) to (nth 7 A), and similarly
      for other file attributes accessors.
      * doc/lispref/files.texi (File Attributes):
      * doc/lispref/intro.texi (Version Info):
      * doc/lispref/os.texi (Idle Timers):
      * lisp/erc/erc.el (erc-string-to-emacs-time):
      * lisp/files.el (file-attribute-access-time)
      (file-attribute-modification-time)
      (file-attribute-status-change-time):
      * lisp/net/tramp-compat.el:
      (tramp-compat-file-attribute-modification-time)
      (tramp-compat-file-attribute-size):
      * src/buffer.c (syms_of_buffer):
      * src/editfns.c (Fget_internal_run_time):
      * src/fileio.c (Fvisited_file_modtime)
      (Fset_visited_file_modtime):
      * src/keyboard.c (Fcurrent_idle_time):
      * src/process.c (Fprocess_attributes):
      Defer implementation details about timestamp format to the
      section that talks about timestamp format, to make it easier
      to change the documentation later if timestamp formats are
      extended.
      * lisp/gnus/gnus-util.el (gnus-file-newer-than):
      * lisp/speedbar.el (speedbar-check-obj-this-line):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      Prefer time-less-p to doing it by hand.
      * lisp/ls-lisp.el (ls-lisp-format): Inode numbers are no longer conses.
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      Use eql, not eq, to compare integers that might be bignums.
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      Prefer float-time to doing time arithmetic by hand.
      662bee7d
  14. 01 Jan, 2018 1 commit
  15. 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
  16. 06 Jun, 2017 1 commit
  17. 01 Jan, 2017 1 commit
  18. 18 Oct, 2016 1 commit
  19. 25 May, 2016 1 commit
  20. 10 May, 2016 1 commit
    • Paul Eggert's avatar
      Pacify byte-compiler in lisp/vc · 62d7acae
      Paul Eggert authored
      * lisp/vc/vc-bzr.el, lisp/vc/vc-cvs.el, lisp/vc/vc-hg.el:
      * lisp/vc/vc-rcs.el, lisp/vc/vc-src.el:
      Declare functions defined elsewhere, to forestall “might not
      be defined at runtime” warnings.
      62d7acae
  21. 01 Jan, 2016 1 commit
  22. 23 Nov, 2015 1 commit
    • Alan Mackenzie's avatar
      Expunge occurrences of `setq' with an odd number of arguments. · 54547083
      Alan Mackenzie authored
      * lisp/apropos.el (apropos-documentation):
      * lisp/obsolete/complete.el (PC-include-file-all-completions):
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
      Insert missing nil at end of `setq' forms.
      
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
      erroneous trailing variable name from a setq, thus allowing a compilation
      properly to track functions not defined at runtime.
      54547083
  23. 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
  24. 28 Oct, 2015 1 commit
  25. 20 Oct, 2015 1 commit
    • Dmitry Gutov's avatar
      Don't declare vc-exec-after anymore · 5e439554
      Dmitry Gutov authored
      * lisp/vc/vc-svn.el:
      * lisp/vc/vc-mtn.el:
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-cvs.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.  Its
      usages have been replaced with vc-run-delayed.
      5e439554
  26. 19 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Resurrect the ability to specify a revision in vc-next-action · 9ea6c4df
      Eli Zaretskii authored
      * lisp/vc/vc-bzr.el (vc-bzr-checkin):
      * lisp/vc/vc-dav.el (vc-dav-checkin):
      * lisp/vc/vc-git.el (vc-git-checkin):
      * lisp/vc/vc-hg.el (vc-hg-checkin):
      * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
      an additional optional argument, the revision to checkin.
      
      * lisp/vc/vc-sccs.el (vc-sccs-checkin):
      * lisp/vc/vc-cvs.el (vc-cvs-checkin):
      * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
      a revision to checkin.
      
      * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
      revision when checking in files.
      
      See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
      for the details.
      9ea6c4df
  27. 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
  28. 29 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Fix minor text quoting in calc, calendar, vc · 5e63c842
      Paul Eggert authored
      * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
      * lisp/calc/calc-help.el (calc-j-prefix-help):
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
      Escape an apostrophe in a docstring.
      * lisp/calc/calc-forms.el (calc-hms-notation):
      * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
      Escape an apostrophe in a diagnostic.
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calendar/diary-lib.el (diary-include-files):
      * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
      * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
      * lisp/vc/ediff-diff.el (ediff-same-contents):
      * lisp/vc/ediff-merg.el (ediff-re-merge):
      * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
      * lisp/vc/ediff-util.el (ediff-test-save-region)
      (ediff-status-info):
      * lisp/vc/ediff.el (ediff-merge-revisions)
      (ediff-merge-revisions-with-ancestor):
      * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
      * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
      Respect text quoting style in doc string or diagnostic.
      * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
      * lisp/vc/add-log.el (change-log-goto-source):
      Avoid double-formatting.
      * lisp/vc/ediff-init.el (format-message):
      New backward-compatibility alias.
      5e63c842
  29. 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
  30. 01 May, 2015 1 commit
    • Glenn Morris's avatar
      Function declaration updates prompted by 'make check-declare' · ce7ff436
      Glenn Morris authored
      * lisp/emacs-lisp/package.el (lm-homepage):
      * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
      * lisp/gnus/mm-decode.el (libxml-parse-html-region):
      * lisp/gnus/mml.el (libxml-parse-html-region):
      * lisp/gnus/nnrss.el (libxml-parse-html-region):
      * lisp/net/eww.el (libxml-parse-html-region):
      * lisp/net/shr.el (libxml-parse-html-region):
      * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
      * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
      * lisp/vc/vc-git.el (vc-annotate-convert-time):
      * lisp/vc/vc-hg.el (vc-annotate-convert-time):
      * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
      * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
      Update declaration.
      ce7ff436
  31. 26 Feb, 2015 1 commit
    • Oscar Fuentes's avatar
      Use vc-switches on vc-*-annotate-command · b5a0603e
      Oscar Fuentes authored
      This also removes switch "-C -C" from vc-git-annotate-command.
      
      Fixes: debbugs:17945
      
      * vc/vc.el (vc-annotate-switches): New defcustom.
      * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
      (vc-bzr-annotate-command): Use it.
      * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
      (vc-cvs-annotate-command): Use it.
      * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
      (vc-git-annotate-command): Use it.
      * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
      (vc-hg-annotate-command): Use it.
      * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
      (vc-mtn-annotate-command): Use it.
      * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
      (vc-svn-annotate-command): Use it.
      b5a0603e
  32. 06 Feb, 2015 1 commit
  33. 01 Jan, 2015 2 commits
  34. 14 Dec, 2014 1 commit
    • Dmitry Gutov's avatar
      Move VC diff ASYNC argument to the fifth position · 01b97f9d
      Dmitry Gutov authored
      * lisp/vc/vc-svn.el (vc-svn-diff):
      * lisp/vc/vc-src.el (vc-src-diff):
      * lisp/vc/vc-sccs.el (vc-sccs-diff):
      * lisp/vc/vc-rcs.el (vc-rcs-diff):
      * lisp/vc/vc-mtn.el (vc-mtn-diff):
      * lisp/vc/vc-hg.el (vc-hg-diff):
      * lisp/vc/vc-git.el (vc-git-diff):
      * lisp/vc/vc-dav.el (vc-dav-diff):
      * lisp/vc/vc-cvs.el (vc-cvs-diff):
      * lisp/vc/vc-bzr.el (vc-bzr-diff):
      * lisp/obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
      
      * lisp/vc/vc.el (vc-diff-internal): Pass `async' argument to the
      backend `diff' command in the last position.
      01b97f9d
  35. 02 Dec, 2014 2 commits
  36. 01 Dec, 2014 3 commits
    • Eric S. Raymond's avatar
      Terminate vc-disable-async-diff with extreme prejudice. · ed6ce56e
      Eric S. Raymond authored
      * vc/vc.el, and all backends: API cleanup; the backend diff method
      takes an explicit async flag.  This eliminates a particularly ugly
      global.
      ed6ce56e
    • Eric S. Raymond's avatar
      Refactor VC merging to fix a layer violation. · d17bae90
      Eric S. Raymond authored
      * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
      backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
      'merge-branch'. Prompting for merge revisions is pushed down to the
      back ends; this fixes a layering violation that caused bad behavior
      with SVN.
      d17bae90
    • Eric S. Raymond's avatar
      Finish vc-stay-local containment. · 185320a5
      Eric S. Raymond authored
      * vc/vc.el, vc-hooks.el, and all backends: API simplification;
      vc-stay-local-p and repository-hostname are no longer public
      methods. Only the CVS and SVN backends used these, and the SVN
      support was conditioned out because svn status -v is too slow.
      The CVS back end retaiin this machibery and the vc-stay-local
      configuration variable now only affects it.
      185320a5