1. 20 Jun, 2019 9 commits
  2. 19 Jun, 2019 31 commits
    • Juri Linkov's avatar
      Add file sorting options to find-dired and grep-find (bug#36110) · 8b379bbe
      Juri Linkov authored
      * lisp/find-dired.el (find-ls-option-default-ls)
      (find-ls-option-default-exec, find-ls-option-default-xargs):
      New variables for values used for options of 'find-ls-option'.
      (find-ls-option): Use these variables for default values and options.
      (find-dired-refine-function): Refine :type.
      * lisp/progmodes/grep.el (grep-find-use-xargs): Use defcustom
      instead of defvar.  Add new value 'gnu-sort'.
      (grep-compute-defaults): Handle new 'gnu-sort' option of
    • Lars Ingebrigtsen's avatar
      Remove XEmacs and ancient Emacs compatibility from newst-backend.el · f6ab713b
      Lars Ingebrigtsen authored
      * lisp/net/newst-backend.el: Remove compatibility with XEmacs and
      ancient Emacs versions.
    • Lars Ingebrigtsen's avatar
      Doc string fix · dd2bc89f
      Lars Ingebrigtsen authored
      * lisp/calendar/timeclock.el (timeclock-completing-read): Fix doc
      string punctuation.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from timeclock.el · 2a6dca26
      Lars Ingebrigtsen authored
      * lisp/calendar/timeclock.el (timeclock-completing-read)
      (timeclock-ask-for-project, timeclock-ask-for-reason): Remove
      XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove more XEmacs compat code from epa.el · 20164ad9
      Lars Ingebrigtsen authored
      * lisp/epa.el (epa-key-mode, epa-key-list-mode): Remove XEmacs
      compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from calc · 8e9ff8b1
      Lars Ingebrigtsen authored
      * lisp/calc/calc.el (calc-read-key-sequence)
      (calcDigit-start, calc-read-key, calc-unread-command)
      * lisp/calc/calc-misc.el (calc-dispatch-help):
      * lisp/calc/calc-help.el (calc-help-for-help)
      * lisp/calc/calc-ext.el (calc-fancy-prefix, calc-user-key-map):
      Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from savehist.el · a97ba6eb
      Lars Ingebrigtsen authored
      * lisp/savehist.el:
      (savehist-install, savehist-uninstall, savehist-save)
      (savehist-trim-history, savehist-printable)
      (savehist-minibuffer-hook): Remove XEmacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from ps-print · 8064f64e
      Lars Ingebrigtsen authored
      * lisp/ps-print.el:
      (ps-print-color-p, ps-postscript-code-directory, ps-setup):
      * lisp/ps-def.el:
      (ps-mark-active-p, ps-face-foreground-name)
      (ps-face-background-name, ps-color-device, ps-color-values)
      (ps-face-bold-p, ps-face-italic-p, ps-face-strikeout-p)
      (ps-face-overline-p, ps-face-box-p)
      (ps-generate-postscript-with-faces1): Remove XEmacs compat code
      and some outdated Emacs compat code.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from epa.el · 43a251cc
      Lars Ingebrigtsen authored
      * lisp/epa.el (epa-key-list-mode, epa-key-mode)
      (epa--find-coding-system-for-mime-charset): Remove XEmacs compat
      code and comments.
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from dframe.el · e46fc9b0
      Lars Ingebrigtsen authored
      * lisp/dframe.el (dframe-update-speed, dframe-update-keymap)
      (dframe-frame-mode, dframe-detach, dframe-set-timer-internal)
      (dframe-popup-kludge, dframe-mouse-event-p)
      (dframe-track-mouse, dframe-help-echo, dframe-mouse-set-point)
      (dframe-double-click, dframe-temp-buffer-show-function)
      (dframe-hack-buffer-menu, dframe-mouse-hscroll): Remove XEmacs
      compat code (and some ancient Emacs compat code).
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from ansi-color.el · 613d3848
      Lars Ingebrigtsen authored
      * lisp/ansi-color.el (ansi-color-apply-overlay-face)
      (ansi-color-make-face, ansi-color-make-extent)
      (ansi-color-set-extent-face): Remove XEmacs compat code.
    • Alan Mackenzie's avatar
      Update CC Mode's version number to 5.34 · 598d167f
      Alan Mackenzie authored
      * doc/misc/cc-mode.texi (top level, "Introduction"),
      lisp/progmodes/cc-defs.el (c-version): Update version number to 5.34.
    • Eli Zaretskii's avatar
      Update documentation of font backends on MS-Windows · a7f71e8d
      Eli Zaretskii authored
      * doc/emacs/msdos.texi (Windows Fonts): Update the
      documentation of requesting specific font backends.
    • Lars Ingebrigtsen's avatar
      Fix typo in previous erc.el change · c6239cc1
      Lars Ingebrigtsen authored
      * lisp/erc/erc.el (erc-send-input): Fix typo in previous checkin.
    • Lars Ingebrigtsen's avatar
      Use add/remove-hook on erc-pre-send-functions · 71214441
      Lars Ingebrigtsen authored
      * lisp/erc/erc-goodies.el (noncommands): Ditto.
      * lisp/erc/erc-ring.el (ring): Use add/remove-hook.
    • Lars Ingebrigtsen's avatar
      Move around defgeneric/defmethods in eieio · fc8a8bdb
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/eieio.el (object-print):
      * lisp/emacs-lisp/eieio-base.el (eieio-object-set-name-string):
      Move the defgeneric before the defmethod, because that makes more
    • Lars Ingebrigtsen's avatar
      Fix previous change to erc (where commands like /me wouldn't be sent) · 3fb6993c
      Lars Ingebrigtsen authored
      * lisp/erc/erc-ring.el (erc-add-to-input-ring):
      * lisp/erc/erc-goodies.el (erc-send-distinguish-noncommands): Pass
      in a erc-input structure instead of a simple string.
      * lisp/erc/erc.el (erc-pre-send-functions): Document the new
      argument to the filter functions.
      (erc-send-input): Use the new structure to allow the filter
      functions to alter all three things: The string, whether to insert
      the string, and whether to send the string.
    • Lars Ingebrigtsen's avatar
      Don't have erc-goodies and erc-ring register functions multiple times · 12efa07f
      Lars Ingebrigtsen authored
      * lisp/erc/erc-goodies.el (noncommands): Don't register functions
      * lisp/erc/erc-ring.el (ring): Ditto.
    • Stefan Monnier's avatar
      (with-suppressed-warnings): Make it apply to macro-expansion as well · 416b83e9
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
      Change with-suppressed-warnings so it also affects the macro-expansion of
      the body.
    • 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
      (add-completion-to-head, delete-completion): Use the new function
    • Stefan Monnier's avatar
      * lisp/textmodes/page-ext.el: Further cleanup · a2dc7498
      Stefan Monnier authored
      (pages--ctl-x-ctl-p-map): Rename from ctl-x-ctl-p-map.
      Move initialization into declaration.
      (pages-ctl-x-ctl-p-prefix): Rename from ctl-x-ctl-p-prefix.
      (sort-subr): Remove redundant autoload.
      (pages-set-delimiter): Use explicit `interactively` arg instead of
      `called-interactively`.  Use `setq-local`.
      (pages-directory-for-addresses): Use `setq-local`.
    • Lars Ingebrigtsen's avatar
      Fix compilation warning in pcmpl-gnu.el · 1584d4cd
      Lars Ingebrigtsen authored
      * lisp/pcmpl-gnu.el (pcomplete/tar): Remove binding of
      pcomplete-suffix-list, because it's not consulted in any of the
      functions called here, and has had no effect since 2011.  If we
      want to support not inserting a space after the = sign, we have to
      implement that, but it's not currently done.
    • Lars Ingebrigtsen's avatar
      Revert "Fix one of the tags/xref warnings in viper-ex.el" · d8c6fa84
      Lars Ingebrigtsen authored
      This reverts commit 4f2f9504.
      We can't mix calls to find-tag and xref-find-definitions
    • Lars Ingebrigtsen's avatar
      Fix up the function/variable names in page-ext.el · 816b91a6
      Lars Ingebrigtsen authored
      * lisp/textmodes/page-ext.el (previous-page)
      (pages-set-delimiter): Rename to have pages- prefixes and make the
      previous name into aliases for the new names.
      (ctl-x-ctl-p-map): Use the new command names.
    • Lars Ingebrigtsen's avatar
      Touch up the OKURI-NASI progress reporting · 7c1cbed1
      Lars Ingebrigtsen authored
      * lisp/international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
      (skkdic-convert-postfix, skkdic-convert-prefix)
      (skkdic-collect-okuri-nasi): Use INFO progress reporting.
      (skkdic-set-okuri-nasi): Use the progress reporter instead of a
      per-1000 output.
    • Lars Ingebrigtsen's avatar
      Tweak progess reporting in finder-compile-keywords · 0837d9a4
      Lars Ingebrigtsen authored
      * lisp/finder.el (finder-compile-keywords): Use progress reporter
      to report the processing.
    • Lars Ingebrigtsen's avatar
      Allow specifying the expected number of shift/reduce conflicts · 390b4bc1
      Lars Ingebrigtsen authored
      * admin/grammars/grammar.wy: Add %expectedconflicts.
      * lisp/cedet/semantic/grammar-wy.el
      (semantic-grammar-wy--keyword-table): Ditto.
      * lisp/cedet/semantic/grammar.el
      (semantic-grammar-expected-conflicts): New function.
      (semantic-grammar-insert-defconst-with-eval): New function.
      (semantic-grammar-create-package): Output the number of expected
      shift/reduce conflicts.
      * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts):
      Don't output the warning if the number of shift/reduce conflicts
      is expected.
      (wisent-expected-conflicts): Made obsolete.
    • Lars Ingebrigtsen's avatar
      Tweak progress reporting in update-directory-autoloads · eef48e12
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Use
      progress reporter so say what percentage the progress is at.
    • Mattias Engdegård's avatar
      Compile any subsequence of `cond' clauses to switch (bug#36139) · d3a7f3e6
      Mattias Engdegård authored
      A single `cond' form can how be compiled to any number of switch ops,
      optionally interspersed with non-switch conditions.
      Previously, switch ops would only be used for whole `cond' forms
      containing no other tests.
      * lisp/emacs-lisp/bytecomp.el (byte-compile--cond-vars):
      Rename from `byte-compile-cond-vars'.
      (byte-compile--default-val): Remove.
      Replace `byte-compile-cond-jump-table-info'; now also returns
      trailing non-switch clauses.
      (byte-compile-cond-jump-table): New arguments; no longer compiles
      the default case.
      (byte-compile-cond): Look for and compile switches at any place in the
      list of clauses.
      * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data):
      Add test expression.
    • Mattias Engdegård's avatar
      Compile cond with heterogeneous tests into switch (bug#36139) · 14a81524
      Mattias Engdegård authored
      Allow any mixture of `eq', `eql' and `equal', `memq', `memql' and
      `member' in a switch-like `cond' to be compiled into a single switch.
      * lisp/emacs-lisp/bytecomp.el (byte-compile--common-test): New.
      (byte-compile-cond-jump-table-info): Use most specific common test.
      * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data):
      Add test cases for multi-value clause cond forms.
    • Mattias Engdegård's avatar
      Tighter pcase or-pattern member function selection (bug#36139) · b8c74742
      Mattias Engdegård authored
      * lisp/emacs-lisp/pcase.el (pcase--u1):
      Use the most specific of `memq', `memql' and `member' in or-patterns
      with constant cases.  This improves performance and may help the byte-code
      compiler generate a switch.
      * test/lisp/emacs-lisp/pcase-tests.el (pcase-tests-member):
      Add mixed-type or-pattern test cases.