1. 19 Jun, 2019 30 commits
    • 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.
      20164ad9
    • 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)
      (calc-clear-unread-commands):
      * lisp/calc/calc-misc.el (calc-dispatch-help):
      * lisp/calc/calc-help.el (calc-help-for-help)
      (calc-describe-key):
      * lisp/calc/calc-ext.el (calc-fancy-prefix, calc-user-key-map):
      Remove XEmacs compat code.
      8e9ff8b1
    • 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.
      a97ba6eb
    • 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.
      8064f64e
    • 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.
      43a251cc
    • 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).
      e46fc9b0
    • 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.
      613d3848
    • 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.
      598d167f
    • 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.
      a7f71e8d
    • 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.
      c6239cc1
    • 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.
      71214441
    • 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
      sense.
      fc8a8bdb
    • 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.
      3fb6993c
    • 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
      twice.
      
      * lisp/erc/erc-ring.el (ring): Ditto.
      12efa07f
    • 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.
      416b83e9
    • 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
    • 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`.
      a2dc7498
    • 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.
      1584d4cd
    • 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
      d8c6fa84
    • 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)
      (search-pages)
      (sort-pages-in-region)
      (sort-pages-buffer)
      (pages-sort-buffer)
      (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.
      816b91a6
    • 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.
      7c1cbed1
    • 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.
      0837d9a4
    • 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.
      390b4bc1
    • 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.
      eef48e12
    • 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.
      (byte-compile--cond-switch-prefix):
      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.
      d3a7f3e6
    • 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.
      14a81524
    • 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.
      b8c74742
    • Mattias Engdegård's avatar
      Compile list member functions in cond to switch (bug#36139) · 36ab4082
      Mattias Engdegård authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table-info):
      Expand `memq', `memql' and `member' to their corresponding
      equality tests.
      (byte-compile-cond-jump-table): Cases now have multiple values.
      * lisp/emacs-lisp/byte-opt.el (byte-decompile-bytecode-1)
      (byte-optimize-lapcode): Don't assume switch hash tables to be injective.
      36ab4082
    • YAMAMOTO Mitsuharu's avatar
      Fix oversights of "support X core font driver on cairo" change · 2419fa39
      YAMAMOTO Mitsuharu authored
      * src/Makefile.in (FONT_OBJ): Fix comment for USE_CAIRO.
      * src/xfns.c (x_create_tip_frame) [USE_CAIRO]: Register xfont_driver.
      2419fa39
    • Paul Eggert's avatar
      --with-cairo is no longer experimental · 50c5d562
      Paul Eggert authored
      Suggested by YAMAMOTO Mitsuharu in:
      https://lists.gnu.org/r/emacs-devel/2019-06/msg00686.html
      * configure.ac: Do not say --with-cairo is experimental.
      * etc/NEWS: Say that --with-cairo is no longer experimental.
      50c5d562
  2. 18 Jun, 2019 10 commits