1. 26 Jun, 2019 2 commits
  2. 19 Jun, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Rename function in completion.el to use completion- prefixes · 65b2faf6
      Lars Ingebrigtsen authored
      * lisp/completion.el (locate-completion-entry)
      (completion-locate-entry, locate-completion-entry-retry)
      (completion-locate-entry-retry, locate-completion-db-error):
      Rename to use a completion- prefix and make the old names obsolete
      aliases.
      (add-completion-to-head, delete-completion): Use the new function
      names.
      65b2faf6
  3. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  4. 20 May, 2019 1 commit
  5. 23 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Avoid some double-rounding of Lisp timestamps · 476066e8
      Paul Eggert authored
      Also, simplify some time-related Lisp timestamp code
      while we’re in the neighborhood.
      * lisp/battery.el (battery-linux-proc-acpi)
      (battery-linux-sysfs, battery-upower, battery-bsd-apm):
      * lisp/calendar/timeclock.el (timeclock-seconds-to-string)
      (timeclock-log, timeclock-last-period)
      (timeclock-entry-length, timeclock-entry-list-span)
      (timeclock-find-discrep, timeclock-generate-report):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/ecomplete.el (ecomplete-decay-1):
      * lisp/emacs-lisp/ert.el (ert--results-update-stats-display)
      (ert--results-update-stats-display-maybe):
      * lisp/emacs-lisp/timer-list.el (list-timers):
      * lisp/emacs-lisp/timer.el (timer-until)
      (timer-event-handler):
      * lisp/erc/erc-backend.el (erc-server-send-ping)
      (erc-server-send-queue, erc-handle-parsed-server-response)
      (erc-handle-unknown-server-response):
      * lisp/erc/erc-track.el (erc-buffer-visible):
      * lisp/erc/erc.el (erc-lurker-cleanup, erc-lurker-p)
      (erc-cmd-PING, erc-send-current-line):
      * lisp/eshell/em-pred.el (eshell-pred-file-time):
      * lisp/eshell/em-unix.el (eshell-show-elapsed-time):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:org-timestamp):
      * lisp/gnus/gnus-int.el (gnus-backend-trace):
      * lisp/gnus/gnus-sum.el (gnus-user-date):
      * lisp/gnus/mail-source.el (mail-source-delete-crash-box):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/ibuf-ext.el (ibuffer-mark-old-buffers):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/mouse.el (mouse--down-1-maybe-follows-link)
      (mouse--click-1-maybe-follows-link):
      * lisp/mpc.el (mpc--faster-toggle):
      * lisp/net/rcirc.el (rcirc-handler-ctcp-KEEPALIVE)
      (rcirc-sentinel):
      * lisp/net/tramp-cache.el (tramp-get-file-property):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-newer-than-file-p)
      (tramp-maybe-open-connection):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
      * lisp/org/org-clock.el (org-clock-resolve):
      (org-resolve-clocks, org-clock-in, org-clock-out, org-clock-sum):
      * lisp/org/org-timer.el (org-timer-start)
      (org-timer-pause-or-continue, org-timer-seconds):
      * lisp/org/org.el (org-evaluate-time-range):
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      * lisp/pixel-scroll.el (pixel-scroll-in-rush-p):
      * lisp/play/hanoi.el (hanoi-move-ring):
      * lisp/proced.el (proced-format-time):
      * lisp/progmodes/cpp.el (cpp-progress-message):
      * lisp/progmodes/flymake.el (flymake--handle-report):
      * lisp/progmodes/js.el (js--wait-for-matching-output):
      * lisp/subr.el (progress-reporter-do-update):
      * lisp/term/xterm.el (xterm--read-event-for-query):
      * lisp/time.el (display-time-update, emacs-uptime):
      * lisp/tooltip.el (tooltip-delay):
      * lisp/url/url-cookie.el (url-cookie-parse-file-netscape):
      * lisp/url/url-queue.el (url-queue-prune-old-entries):
      * lisp/url/url.el (url-retrieve-synchronously):
      * lisp/xt-mouse.el (xterm-mouse-event):
      Avoid double-rounding of time-related values.  Simplify.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      When hoping for the best (unlikely), use a better decoded time.
      (icalendar--convert-sexp-to-ical): Avoid unnecessary encode-time.
      * lisp/calendar/timeclock.el (timeclock-when-to-leave):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/desktop.el (desktop-create-buffer):
      * lisp/emacs-lisp/benchmark.el (benchmark-elapse):
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      * lisp/gnus/nnmail.el (nnmail-expired-article-p):
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      * lisp/nxml/rng-maint.el (rng-time-function):
      * lisp/org/org-clock.el (org-clock-get-clocked-time)
      (org-clock-resolve, org-resolve-clocks, org-resolve-clocks-if-idle):
      * lisp/org/org-habit.el (org-habit-insert-consistency-graphs):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-fix-case-region-1):
      Use time-since instead of open-coding most of it.
      * lisp/erc/erc-dcc.el (erc-dcc-get-sentinel):
      * lisp/erc/erc.el (erc-string-to-emacs-time, erc-time-gt):
      Now obsolete.  All uses changed.
      (erc-time-diff): Accept all Lisp time values.
      All uses changed.
      * lisp/gnus/gnus-demon.el (gnus-demon-idle-since):
      * lisp/gnus/gnus-score.el (gnus-score-headers):
      * lisp/gnus/nneething.el (nneething-make-head):
      * lisp/gnus/nnheader.el (nnheader-message-maybe):
      * lisp/gnus/nnimap.el (nnimap-keepalive):
      * lisp/image.el (image-animate-timeout):
      * lisp/mail/feedmail.el (feedmail-rfc822-date):
      * lisp/net/imap.el (imap-wait-for-tag):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/net/rcirc.el (rcirc-handler-317, rcirc-handler-333):
      * lisp/obsolete/xesam.el (xesam-refresh-entry):
      * lisp/org/org-agenda.el (org-agenda-show-clocking-issues)
      (org-agenda-check-clock-gap, org-agenda-to-appt):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-clock.el (org-clock-resolve-clock)
      (org-clocktable-steps):
      * lisp/org/org-colview.el (org-columns-edit-value)
      (org-columns, org-agenda-columns):
      * lisp/org/org-duration.el (org-duration-from-minutes):
      * lisp/org/org-element.el (org-element-cache-sync-duration)
      (org-element-cache-sync-break)
      (org-element--cache-interrupt-p, org-element--cache-sync):
      * lisp/org/org-habit.el (org-habit-get-faces)
      * lisp/org/org-indent.el (org-indent-add-properties):
      * lisp/org/org-table.el (org-table-sum):
      * lisp/org/org-timer.el (org-timer-show-remaining-time)
      (org-timer-set-timer):
      * lisp/org/org.el (org-babel-load-file, org-today)
      (org-auto-repeat-maybe, org-2ft, org-time-stamp)
      (org-read-date-analyze, org-time-stamp-to-now)
      (org-small-year-to-year, org-goto-calendar):
      * lisp/org/ox.el (org-export-insert-default-template):
      * lisp/ses.el (ses--time-check):
      * lisp/type-break.el (type-break-time-warning)
      (type-break-statistics, type-break-demo-boring):
      * lisp/url/url-cache.el (url-cache-expired)
      (url-cache-prune-cache):
      * lisp/vc/vc-git.el (vc-git-stash-snapshot):
      * lisp/erc/erc-match.el (erc-log-matches-come-back):
      Simplify.
      476066e8
  6. 21 Feb, 2019 1 commit
  7. 01 Jan, 2019 1 commit
  8. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  9. 20 Apr, 2018 1 commit
    • Glenn Morris's avatar
      More alias-related tedium · 18de2ada
      Glenn Morris authored
      * lisp/comint.el (comint-scroll-to-bottom-on-output):
      * lisp/completion.el (cmpl-syntax-table):
      * lisp/erc/erc-button.el (erc-button-google-url):
      * lisp/font-lock.el (font-lock-reference-face):
      * lisp/hfy-cmap.el (hfy-fallback-colour-map, hfy-rgb-txt-colour-map):
      * lisp/isearch.el (isearch-regexp-function, isearch-new-word):
      * lisp/startup.el (argv):
      * lisp/version.el (emacs-bzr-version):
      * lisp/org/org.el (org-CUA-compatible)
      (org-popup-calendar-for-date-prompt):
      Move aliases before targets, to silence new compiler warning.
      18de2ada
  10. 23 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Quieten cl-lib related compiler warnings · dfea6d5a
      Glenn Morris authored
      * lisp/completion.el (cl-set-difference):
      * lisp/files.el (map-merge-with, map-merge):
      * lisp/emacs-lisp/radix-tree.el (map-apply): Declare.
      * lisp/emacs-lisp/thunk.el: Load cl-lib at run-time, not
      cl-macs at compile.
      * lisp/gnus/gnus-group.el: Load cl-lib at run-time, not cl at compile.
      * lisp/emacs-lisp/checkdoc.el, lisp/emacs-lisp/package.el
      * lisp/gnus/gnus-sum.el, lisp/gnus/message.el, lisp/net/shr.el:
      Load cl-lib at run-time.
      * lisp/gnus/mml-sec.el (mml-signencrypt-style)
      (mml-secure-cust-record-keys): Replace cl with cl-lib,
      and load it at run-time.
      * lisp/cedet/ede/linux.el, lisp/vc/vc-hg.el: Reorder requires.
      dfea6d5a
  11. 17 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Explicitly require cl-lib where needed · 1c7db8aa
      Glenn Morris authored
      Rather than relying on the byte-compiler happening to use it.
      * lisp/completion.el, lisp/ffap.el, lisp/loadhist.el:
      * lisp/userlock.el, lisp/emacs-lisp/debug.el, lisp/emacs-lisp/rx.el:
      * lisp/emacs-lisp/testcover.el, lisp/mail/rfc2231.el:
      * lisp/net/newst-treeview.el, lisp/net/puny.el:
      * lisp/net/tramp-archive.el, lisp/net/tramp-gvfs.el:
      * lisp/net/tramp-sh.el, lisp/net/tramp-smb.el, lisp/org/org-ctags.el:
      * lisp/org/org-macs.el, lisp/progmodes/grep.el:
      * lisp/progmodes/perl-mode.el, lisp/progmodes/ruby-mode.el:
      * lisp/textmodes/dns-mode.el, lisp/textmodes/mhtml-mode.el:
      * lisp/vc/pcvs-parse.el: Explicitly require cl-lib as needed.
      1c7db8aa
  12. 01 Jan, 2018 1 commit
  13. 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
  14. 01 Jan, 2017 1 commit
  15. 22 Mar, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix problems caused by new implementation of sub-word mode · 7dba1767
      Eli Zaretskii authored
      * lisp/subr.el (forward-word-strictly, backward-word-strictly):
      New functions.
      (word-move-empty-char-table): New variable.
      
      * etc/NEWS: Mention 'forward-word-strictly' and
      'backward-word-strictly'.
      
      * doc/lispref/positions.texi (Word Motion): Document
      'find-word-boundary-function-table', 'forward-word-strictly', and
      'backward-word-strictly'.  (Bug#22560)
      
      * src/syntax.c (syms_of_syntax)
      <find-word-boundary-function-table>: Doc fix.
      
      * lisp/wdired.el (wdired-xcase-word):
      * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
      (texinfo-copy-section-title, texinfo-start-menu-description)
      (texinfo-copy-menu-title, texinfo-specific-section-type)
      (texinfo-insert-node-lines, texinfo-copy-next-section-title):
      * lisp/textmodes/texinfo.el (texinfo-clone-environment)
      (texinfo-insert-@end):
      * lisp/textmodes/texinfmt.el (texinfo-format-scan)
      (texinfo-anchor, texinfo-multitable-widths)
      (texinfo-multitable-item):
      * lisp/textmodes/tex-mode.el (latex-env-before-change):
      * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
      * lisp/skeleton.el (skeleton-insert):
      * lisp/simple.el (count-words):
      * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
      (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
      (vhdl-update-sensitivity-list, vhdl-template-block)
      (vhdl-template-break, vhdl-template-case, vhdl-template-default)
      (vhdl-template-default-indent, vhdl-template-for-loop)
      (vhdl-template-if-then-use, vhdl-template-bare-loop)
      (vhdl-template-nature, vhdl-template-procedural)
      (vhdl-template-process, vhdl-template-selected-signal-asst)
      (vhdl-template-type, vhdl-template-variable)
      (vhdl-template-while-loop, vhdl-beginning-of-block)
      (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
      * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
      (verilog-forward-sexp, verilog-beg-of-statement)
      (verilog-set-auto-endcomments, verilog-backward-token)
      (verilog-do-indent):
      * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
      (vera-indent-block-closing):
      * lisp/progmodes/simula.el (simula-context)
      (simula-backward-up-level, simula-forward-down-level)
      (simula-previous-statement, simula-next-statement)
      (simula-skip-comment-backward, simula-calculate-indent)
      (simula-find-if, simula-electric-keyword):
      * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
      * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-singleton-class-p, ruby-calculate-indent)
      (ruby-forward-sexp, ruby-backward-sexp):
      * lisp/progmodes/ps-mode.el (ps-run-goto-error):
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
      (perl-syntax-propertize-special-constructs)
      (perl-backward-to-start-of-continued-exp):
      * lisp/progmodes/pascal.el (pascal-indent-declaration):
      * lisp/progmodes/octave.el (octave-function-file-p):
      * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
      * lisp/progmodes/js.el (js--forward-function-decl):
      * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
      (idlwave-beginning-of-block, idlwave-end-of-block)
      (idlwave-block-jump-out, idlwave-determine-class):
      * lisp/progmodes/icon.el (icon-is-continuation-line)
      (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
      * lisp/progmodes/hideif.el (hide-ifdef-define):
      * lisp/progmodes/f90.el (f90-change-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
      (cperl-linefeed, cperl-electric-terminator)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-invert-if-unless):
      * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
      * lisp/progmodes/cc-align.el (c-lineup-java-inher):
      * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
      (ada-adjust-case-skeleton, ada-create-case-exception)
      (ada-create-case-exception-substring)
      (ada-case-read-exceptions-from-file, ada-after-keyword-p)
      (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
      (ada-get-indent-if, ada-get-indent-block-start)
      (ada-get-indent-loop, ada-get-indent-type)
      (ada-search-prev-end-stmt, ada-check-defun-name)
      (ada-goto-decl-start, ada-goto-matching-start)
      (ada-goto-matching-end, ada-looking-at-semi-or)
      (ada-looking-at-semi-private, ada-in-paramlist-p)
      (ada-search-ignore-complex-boolean, ada-move-to-start)
      (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
      * lisp/net/quickurl.el (quickurl-grab-url):
      * lisp/mail/sendmail.el (mail-do-fcc):
      * lisp/mail/rmail.el (rmail-resend):
      * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
      * lisp/mail/mail-extr.el (mail-extract-address-components):
      * lisp/json.el (json-read-keyword):
      * lisp/files.el (insert-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/completion.el (symbol-under-point, symbol-before-point)
      (symbol-before-point-for-complete, next-cdabbrev)
      (add-completions-from-c-buffer):
      * lisp/cedet/semantic/texi.el (semantic-up-context)
      (semantic-beginning-of-context):
      * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
      use 'forward-word-strictly' and 'backward-word-strictly' instead
      of 'forward-word' and 'backward-word'.
      
      [This reapplies commit c1d32a65,
      which was inadvertently lost by merge commit
      c71e7cc1.]
      7dba1767
  16. 05 Feb, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix problems caused by new implementation of sub-word mode · c1d32a65
      Eli Zaretskii authored
      * lisp/subr.el (forward-word-strictly, backward-word-strictly):
      New functions.
      (word-move-empty-char-table): New variable.
      
      * etc/NEWS: Mention 'forward-word-strictly' and
      'backward-word-strictly'.
      
      * doc/lispref/positions.texi (Word Motion): Document
      'find-word-boundary-function-table', 'forward-word-strictly', and
      'backward-word-strictly'.  (Bug#22560)
      
      * src/syntax.c (syms_of_syntax)
      <find-word-boundary-function-table>: Doc fix.
      
      * lisp/wdired.el (wdired-xcase-word):
      * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
      (texinfo-copy-section-title, texinfo-start-menu-description)
      (texinfo-copy-menu-title, texinfo-specific-section-type)
      (texinfo-insert-node-lines, texinfo-copy-next-section-title):
      * lisp/textmodes/texinfo.el (texinfo-clone-environment)
      (texinfo-insert-@end):
      * lisp/textmodes/texinfmt.el (texinfo-format-scan)
      (texinfo-anchor, texinfo-multitable-widths)
      (texinfo-multitable-item):
      * lisp/textmodes/tex-mode.el (latex-env-before-change):
      * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
      * lisp/skeleton.el (skeleton-insert):
      * lisp/simple.el (count-words):
      * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
      (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
      (vhdl-update-sensitivity-list, vhdl-template-block)
      (vhdl-template-break, vhdl-template-case, vhdl-template-default)
      (vhdl-template-default-indent, vhdl-template-for-loop)
      (vhdl-template-if-then-use, vhdl-template-bare-loop)
      (vhdl-template-nature, vhdl-template-procedural)
      (vhdl-template-process, vhdl-template-selected-signal-asst)
      (vhdl-template-type, vhdl-template-variable)
      (vhdl-template-while-loop, vhdl-beginning-of-block)
      (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
      * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
      (verilog-forward-sexp, verilog-beg-of-statement)
      (verilog-set-auto-endcomments, verilog-backward-token)
      (verilog-do-indent):
      * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
      (vera-indent-block-closing):
      * lisp/progmodes/simula.el (simula-context)
      (simula-backward-up-level, simula-forward-down-level)
      (simula-previous-statement, simula-next-statement)
      (simula-skip-comment-backward, simula-calculate-indent)
      (simula-find-if, simula-electric-keyword):
      * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
      * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-singleton-class-p, ruby-calculate-indent)
      (ruby-forward-sexp, ruby-backward-sexp):
      * lisp/progmodes/ps-mode.el (ps-run-goto-error):
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
      (perl-syntax-propertize-special-constructs)
      (perl-backward-to-start-of-continued-exp):
      * lisp/progmodes/pascal.el (pascal-indent-declaration):
      * lisp/progmodes/octave.el (octave-function-file-p):
      * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
      * lisp/progmodes/js.el (js--forward-function-decl):
      * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
      (idlwave-beginning-of-block, idlwave-end-of-block)
      (idlwave-block-jump-out, idlwave-determine-class):
      * lisp/progmodes/icon.el (icon-is-continuation-line)
      (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
      * lisp/progmodes/hideif.el (hide-ifdef-define):
      * lisp/progmodes/f90.el (f90-change-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
      (cperl-linefeed, cperl-electric-terminator)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-invert-if-unless):
      * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
      * lisp/progmodes/cc-align.el (c-lineup-java-inher):
      * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
      (ada-adjust-case-skeleton, ada-create-case-exception)
      (ada-create-case-exception-substring)
      (ada-case-read-exceptions-from-file, ada-after-keyword-p)
      (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
      (ada-get-indent-if, ada-get-indent-block-start)
      (ada-get-indent-loop, ada-get-indent-type)
      (ada-search-prev-end-stmt, ada-check-defun-name)
      (ada-goto-decl-start, ada-goto-matching-start)
      (ada-goto-matching-end, ada-looking-at-semi-or)
      (ada-looking-at-semi-private, ada-in-paramlist-p)
      (ada-search-ignore-complex-boolean, ada-move-to-start)
      (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
      * lisp/net/quickurl.el (quickurl-grab-url):
      * lisp/mail/sendmail.el (mail-do-fcc):
      * lisp/mail/rmail.el (rmail-resend):
      * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
      * lisp/mail/mail-extr.el (mail-extract-address-components):
      * lisp/json.el (json-read-keyword):
      * lisp/files.el (insert-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/completion.el (symbol-under-point, symbol-before-point)
      (symbol-before-point-for-complete, next-cdabbrev)
      (add-completions-from-c-buffer):
      * lisp/cedet/semantic/texi.el (semantic-up-context)
      (semantic-beginning-of-context):
      * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
      use 'forward-word-strictly' and 'backward-word-strictly' instead
      of 'forward-word' and 'backward-word'.
      c1d32a65
  17. 01 Jan, 2016 1 commit
  18. 13 Apr, 2015 1 commit
  19. 01 Jan, 2015 2 commits
  20. 22 Dec, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/completion.el: Use post-self-insert-hook. · b366b3bb
      Stefan Monnier authored
      Fixes: debbugs:19400
      
      (completion-separator-self-insert-command)
      (completion-separator-self-insert-autofilling): Remove.
      (completion-separator-chars): New var.
      (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
      of changing the keymap.
      (completion--post-self-insert): New function.
      (dynamic-completion-mode): Use it instead of rebinding keys.
      (cmpl--completion-string): Rename from completion-string.
      (add-completion-to-head, delete-completion): Let-bind it explicitly.
      b366b3bb
  21. 29 Oct, 2014 1 commit
    • Paul Eggert's avatar
      Simplify use of current-time and friends. · 123ddec7
      Paul Eggert authored
      * doc/misc/org.texi (Dynamic blocks):
      * lisp/allout-widgets.el (allout-widgets-hook-error-handler):
      * lisp/calendar/appt.el (appt-display-message):
      * lisp/calendar/icalendar.el (icalendar--convert-float-to-ical):
      * lisp/calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
      (timeclock-last-period, timeclock-day-base):
      * lisp/eshell/em-ls.el (eshell-ls-file):
      * lisp/eshell/esh-util.el (eshell-parse-ange-ls):
      * lisp/generic-x.el (named-database-print-serial):
      * lisp/net/newst-backend.el (newsticker--get-news-by-url-callback)
      (newsticker-get-news, newsticker--sentinel-work)
      (newsticker--image-get, newsticker--image-sentinel):
      * lisp/net/tramp-sh.el (tramp-get-remote-touch):
      * lisp/progmodes/opascal.el (opascal-debug-log):
      * lisp/textmodes/remember.el (remember-mail-date)
      (remember-store-in-files):
      * lisp/vc/vc-annotate.el (vc-annotate-display-autoscale)
      (vc-default-annotate-current-time):
      * lisp/vc/vc-bzr.el (vc-bzr-shelve-snapshot):
      * lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time):
      * lisp/vc/vc-rcs.el (vc-rcs-annotate-current-time):
      * lisp/url/url-util.el (url-get-normalized-date):
      * lisp/erc/erc-backend.el (TOPIC):
      * lisp/gnus/gnus-delay.el (gnus-delay-article):
      * lisp/gnus/gnus-sum.el (gnus-summary-read-document):
      * lisp/gnus/gnus-util.el (gnus-seconds-today, gnus-seconds-month):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/org/org-archive.el (org-archive-subtree)
      (org-archive-to-archive-sibling):
      * lisp/org/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
      (org-clock-special-range):
      * lisp/org/org-timer.el (org-timer-seconds):
      * lisp/org/org.el (org-read-date-analyze, org-get-cursor-date):
      * lisp/org/ox-html.el (org-html-format-spec):
      * lisp/org/ox-icalendar.el (org-icalendar--vtodo):
      Omit unnecessary call to current-time.
      * lisp/calendar/time-date.el (time-to-seconds) [!float-time]:
      * lisp/calendar/timeclock.el (timeclock-time-to-date):
      * lisp/vc/vc-annotate.el (vc-annotate-convert-time):
      Use current time if arg is nil, to be compatible with float-time.
      (time-date--day-in-year): New function, with most of the guts of
      the old time-to-day-in-year.
      (time-to-day-in-year): Use it.
      (time-to-days): Use it, to avoid decoding the same time stamp twice.
      * lisp/calendar/timeclock.el (timeclock-update-mode-line):
      * lisp/cedet/srecode/args.el (srecode-semantic-handle-:time):
      * lisp/gnus/gnus-util.el (gnus-seconds-year):
      * lisp/org/org.el (org-get-cursor-date):
      Don't call current-time twice to get the current time stamp,
      as this can lead to inconsistent results.
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/erc/erc.el (erc-emacs-time-to-erc-time):
      * lisp/ido.el (ido-time-stamp):
      * lisp/vc/vc-annotate.el (vc-annotate-convert-time):
      Simplify by using float-time.
      * lisp/completion.el (save-completions-to-file):
      * lisp/url/url-cache.el (url-cache-prune-cache):
      Rename local var to avoid confusion.
      * lisp/gnus/gnus-util.el (gnus-float-time):
      * lisp/net/rcirc.el (rcirc-float-time):
      * lisp/org/org-compat.el (org-float-time):
      Simplify to an alias because time-to-seconds now behaves like float-time
      with respect to nil arg.
      * lisp/subr.el (progress-reporter-do-update):
      Don't call float-time unless needed.
      * lisp/erc/erc.el (erc-current-time): Simplify by using erc-emacs-time-to-erc-time.
      * lisp/org/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
      conversion from floating point to Emacs time and back.
      (org-resolve-clocks): Prefer two-argument floor.
      123ddec7
  22. 10 Feb, 2014 1 commit
  23. 01 Jan, 2014 1 commit
  24. 10 Aug, 2013 1 commit
  25. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  26. 15 May, 2013 1 commit
    • Glenn Morris's avatar
      Misc custom group fixes · ed8be7ff
      Glenn Morris authored
      * cus-start.el (show-trailing-whitespace): Move to editing basics.
      * faces.el (trailing-whitespace): Don't use whitespace-faces group.
      * obsolete/old-whitespace.el (whitespace-faces): Remove group.
      (whitespace-highlight): Move to whitespace group.
      
      * comint.el (comint-source):
      * pcmpl-linux.el (pcmpl-linux):
      * shell.el (shell-faces):
      * eshell/esh-opt.el (eshell-opt):
      * international/ccl.el (ccl): Remove empty custom groups.
      
      * completion.el (dynamic-completion-mode):
      * jit-lock.el (jit-lock-debug-mode):
      * minibuffer.el (completion-in-region-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * emulation/tpu-edt.el (tpu-edt-mode):
      * progmodes/subword.el (global-subword-mode, global-superword-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * term/vt100.el (vt100-wide-mode): Specify explicit :group.
      
      * term/xterm.el (xterm): Change parent group to terminals.
      
      * master.el (master): Remove empty custom group.
      (master-mode): Remove unused :group argument.
      * textmodes/refill.el (refill): Remove empty custom group.
      (refill-mode): Remove unused :group argument.
      
      * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
      
      * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
      (semantic-symref-results-mode-hook)
      (semantic-symref-results-summary-function): Fix :group.
      
      * erc/erc-list.el (erc-list):
      * erc/erc-menu.el (erc-menu):
      * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
      
      * gnus/shr-color.el (shr-color-visible-luminance-min)
      (shr-color-visible-distance-min): Use shr-color group.
      
      * url/url-news.el (url-news): Remove empty custom group.
      ed8be7ff
  27. 01 Jan, 2013 1 commit
  28. 25 Jul, 2012 1 commit
  29. 04 May, 2012 1 commit
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
  30. 09 Apr, 2012 1 commit
  31. 08 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Minor-mode doc fixes for ARG behavior · e1ac4066
      Glenn Morris authored
      * lisp/completion.el (dynamic-completion-mode):
      * lisp/dirtrack.el (dirtrack-debug-mode):
      * lisp/electric.el (electric-layout-mode):
      * lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
      * lisp/face-remap.el (text-scale-mode, buffer-face-mode):
      * lisp/iimage.el (iimage-mode):
      * lisp/image-mode.el (image-transform-mode):
      * lisp/minibuffer.el (completion-in-region-mode):
      * lisp/scroll-lock.el (scroll-lock-mode):
      * lisp/simple.el (next-error-follow-minor-mode):
      * lisp/tar-mode.el (tar-subfile-mode):
      * lisp/tooltip.el (tooltip-mode):
      * lisp/vcursor.el (vcursor-use-vcursor-map):
      * lisp/wid-browse.el (widget-minor-mode):
      * lisp/emulation/tpu-edt.el (tpu-edt-mode):
      * lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
      * lisp/international/iso-ascii.el (iso-ascii-mode):
      * lisp/language/thai-util.el (thai-word-mode):
      * lisp/mail/supercite.el (sc-minor-mode):
      * lisp/net/goto-addr.el (goto-address-mode):
      * lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/progmodes/flymake.el (flymake-mode):
      * lisp/progmodes/glasses.el (glasses-mode):
      * lisp/progmodes/hideshow.el (hs-minor-mode):
      * lisp/progmodes/pascal.el (pascal-outline-mode):
      * lisp/textmodes/enriched.el (enriched-mode):
      * lisp/vc/smerge-mode.el (smerge-mode):
      Doc fixes (minor mode argument).
      
      * etc/NEWS: Related markup.
      e1ac4066
  32. 11 Jan, 2012 1 commit
  33. 05 Jan, 2012 1 commit
  34. 19 Apr, 2011 1 commit
  35. 26 Jan, 2011 1 commit
  36. 25 Jan, 2011 1 commit
  37. 15 Jan, 2011 1 commit
  38. 02 Jan, 2011 1 commit