1. 05 Oct, 2019 13 commits
    • Paul Smith's avatar
      Support GNU make error messages in compile mode. · e72e4990
      Paul Smith authored
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      Match GNU make error messages.
      * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data):
      Test GNU make error message matching.
      (compile-test-error-regexps): Update count of infos found.
      e72e4990
    • Lars Ingebrigtsen's avatar
      4f2de568
    • Lars Ingebrigtsen's avatar
      Remove some XEmacs compat code from esh*.el · 9f6a5984
      Lars Ingebrigtsen authored
      * lisp/eshell/esh-util.el: Remove some XEmacs compat functions.
      9f6a5984
    • Lars Ingebrigtsen's avatar
      Remove more XEmacs compat code from ezimage.el · 33dc4104
      Lars Ingebrigtsen authored
      * lisp/ezimage.el (ezimage-use-images)
      (ezimage-insert-over-text): Remove XEmacs compat code.
      33dc4104
    • Lars Ingebrigtsen's avatar
      Fix typo in frames.texi xref · 73c6192f
      Lars Ingebrigtsen authored
      * doc/emacs/frames.texi (Tab Bars): Fix typo in xref.
      73c6192f
    • Lars Ingebrigtsen's avatar
      Remove most of the XEmacs compat code from ediff*.el · 3c1635eb
      Lars Ingebrigtsen authored
      * lisp/vc/ediff-diff.el (ediff-word-1): Remove XEmacs compat code
      and declare compatibility functions for obsolete.  Adjust all callers.
      
      * lisp/vc/ediff-help.el (ediff-set-help-overlays):
      
      * lisp/vc/ediff-hook.el:
      (menu-bar-ediff-misc-menu, menu-bar-ediff-merge-menu)
      (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
      (menu-bar-epatch-menu, menu-bar-ediff-misc-menu):
      
      * lisp/vc/ediff-init.el (ediff-device-type)
      (ediff-window-display-p, ediff-has-face-support-p)
      (ediff-has-toolbar-support-p, ediff-has-gutter-support-p)
      (ediff-BAD-INFO, ediff-coding-system-for-write)
      (ediff-read-event, ediff-overlayp, ediff-make-overlay)
      (ediff-delete-overlay, ediff-color-display-p)
      (ediff-display-pixel-width, ediff-display-pixel-height)
      (ediff-region-help-echo, ediff-set-face-pixmap)
      (ediff-paint-background-regions-in-one-buffer)
      (ediff-clear-fine-diff-vector, ediff-mouse-event-p)
      (ediff-key-press-event-p, ediff-event-point, )
      (ediff-event-buffer, ediff-event-key, ediff-last-command-char)
      (ediff-frame-iconified-p, ediff-frame-char-width)
      (ediff-reset-mouse, ediff-frame-char-height)
      (ediff-overlay-start, ediff-overlay-end, ediff-overlay-buffer)
      (ediff-overlay-get, ediff-move-overlay, ediff-overlay-put)
      (ediff-abbreviate-file-name):
      
      * lisp/vc/ediff-mult.el (ediff-next-meta-item)
      (ediff-previous-meta-item)
      (ediff-replace-session-activity-marker-in-meta-buffer)
      (ediff-replace-session-status-in-meta-buffer)
      (ediff-redraw-directory-group-buffer)
      (ediff-update-markers-in-dir-meta-buffer)
      (ediff-update-session-marker-in-dir-meta-buffer)
      (ediff-redraw-registry-buffer, ediff-set-meta-overlay)
      (ediff-update-meta-buffer, ediff-get-meta-info)
      (ediff-get-meta-overlay-at-pos, )
      (ediff-get-session-number-at-pos, )
      (ediff-next-meta-overlay-start)
      (ediff-previous-meta-overlay-start, )
      (ediff-meta-mark-equal-files):
      
      * lisp/vc/ediff-util.el:
      (ediff-setup, ediff-setup-control-buffer, ediff-recenter)
      (ediff-recenter-one-window, ediff-toggle-read-only)
      (ediff-file-checked-out-p, ediff-file-checked-in-p)
      (ediff-toggle-wide-display, ediff-toggle-multiframe)
      (ediff-toggle-use-toolbar, ediff-kill-bottom-toolbar)
      (ediff-visible-region, ediff-scroll-vertically)
      (ediff-scroll-horizontally, ediff-jump-to-difference-at-point)
      (ediff-diff-to-diff, ediff-restore-diff)
      (ediff-toggle-regexp-match, ediff-really-quit)
      (ediff-cleanup-mess, ediff-highlight-diff-in-one-buffer)
      (ediff-unhighlight-diffs-totally-in-one-buffer)
      (ediff-save-buffer, ediff-make-cloned-buffer)
      (ediff-make-indirect-buffer, ediff-remove-flags-from-buffer)
      (ediff-place-flags-in-buffer1, ediff-get-diff-posn)
      (ediff-clear-diff-vector, ediff-make-bullet-proof-overlay)
      (ediff-submit-report, ediff-deactivate-mark)
      (ediff-activate-mark, ediff-profile, ediff-print-diff-vector):
      
      * lisp/vc/ediff-wind.el (ediff-control-frame-parameters)
      (ediff-get-window-by-clicking, ediff-select-lowest-window)
      (ediff-setup-windows-plain-merge)
      (ediff-setup-windows-plain-compare, ediff-setup-control-frame)
      (ediff-destroy-control-frame, ediff-make-frame-position)
      (ediff-make-wide-display, ediff-get-visible-buffer-window):
      
      * lisp/vc/ediff.el (ediff-version, ediff-documentation):
      3c1635eb
    • Eli Zaretskii's avatar
      Improve documentation of Tab bars · 9cf84544
      Eli Zaretskii authored
      * doc/emacs/frames.texi (Menu Bars, Tool Bars, Tab Bars):
      Don't start index entries from a capital letter.
      (Tab Bars): Improve wording and indexing.
      
      * etc/NEWS: Improve documentation of Tab bars.
      9cf84544
    • Eli Zaretskii's avatar
      Fix display of cursor in obscure use case on MS-Windows · 2fa9699f
      Eli Zaretskii authored
      * src/xdisp.c (redisplay_internal): Detect when the frame
      becomes garbaged inside the call to update_frame, and redraw
      the frame in that case.  (Bug#37579)
      2fa9699f
    • Philipp Stephani's avatar
    • Philipp Stephani's avatar
      7d8548a0
    • Paul Eggert's avatar
      Omit one more superfluous "-" in regexp · efd51ed0
      Paul Eggert authored
      Problem reported by Mattias Engdegård.
      * lisp/language/indian.el (gurmukhi-composable-pattern):
      Omit unnecessary "-".
      efd51ed0
    • Dmitry Gutov's avatar
      (project--vc-list-files): Make sure to expand file names · 677d6209
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--vc-list-files): Make sure to
      expand file names.  Turns out, Grep doesn't like abbreviated ones.
      677d6209
    • Eli Zaretskii's avatar
      Fix vertical scrolling in image-mode · 9c66b099
      Eli Zaretskii authored
      * lisp/image-mode.el (image-set-window-vscroll): Interpret the
      argument VSCROLL value in pixel units.
      (image-mode-reapply-winprops): Interpret the 'vscroll'
      property value in pixel units.
      (image-next-line): Scroll the image with pixel resolution.
      (image-eob): Set the image vscroll in pixels.  (Bug#37578)
      9c66b099
  2. 04 Oct, 2019 25 commits
    • Juanma Barranquero's avatar
      Improve docstrings auto-generated by `define-minor-mode' · bbfa9995
      Juanma Barranquero authored
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode--mode-docstring):
      When using `easy-mmode--arg-docstring' to auto-generate a
      docstring, refill it up to `emacs-lisp-docstring-fill-column'.
      bbfa9995
    • Eric Abrahamsen's avatar
      Don't manipulate gnus-newsrc-alist if it hasn't been initalized · 2ff16a48
      Eric Abrahamsen authored
      * lisp/gnus/gnus-group.el (gnus-group-set-info): Packages that use
      Gnus summary mode without actually booting Gnus might end up in this
      situation. See bug#36903
      2ff16a48
    • Paul Eggert's avatar
      Fix bugs found by 2019-09-29 regexp scanner · 8023715c
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-09/threads.html
      * lisp/calendar/iso8601.el (iso8601--year-match)
      (iso8601--full-date-match, iso8601--without-day-match)
      (iso8601--week-date-match, iso8601--ordinal-date-match)
      (iso8601--zone-match):
      * lisp/textmodes/rst.el (rst-re-alist-def):
      Put ‘-’ at the end of bracketed ranges, following the style
      suggestion in the Elisp manual.
      (iso8601--time-match): Use \([0-9]*\) instead of \([0-9]+\)?
      to pacify the regexp scanner.
      (iso8601-parse-time): Adjust accordingly.
      * lisp/language/burmese.el (burmese-composable-pattern):
      * lisp/language/indian.el (devanagari-composable-pattern)
      (bengali-composable-pattern, gurmukhi-composable-pattern)
      (gujarati-composable-pattern, oriya-composable-pattern)
      (telugu-composable-pattern, kannada-composable-pattern)
      (malayalam-composable-pattern):
      Prefer [ab] to [a-b] when the characters differ by 1,
      to pacify the regexp scanner.
      * lisp/language/burmese.el (burmese-composable-pattern):
      Fix missing-‘\u’ typos.
      * lisp/language/indian.el (gurmukhi-composable-pattern):
      Fix missing-‘\’ typo.
      * lisp/language/tibetan.el (tibetan-regexp):
      Quote ‘+’ in regexp to pacify the regexp scanner.  Simplify.
      * lisp/textmodes/rst.el (rst-re-alist-def): Fix ‘[]-'...]’
      typo by putting the ‘-’ at end of the bracketed expression.
      8023715c
    • Paul Eggert's avatar
      Minor style tweaks for recent tab changes · 81c7f3af
      Paul Eggert authored
      * src/dispextern.h (MR_PARTIALLY_VISIBLE_AT_TOP):
      * src/window.c (Fwindow_mode_line_height)
      (Fwindow_header_line_height, Fwindow_tab_line_height)
      (Fwindow_right_divider_width, Fwindow_bottom_divider_width)
      (Fwindow_scroll_bar_width, Fwindow_scroll_bar_height):
      (Fset_window_configuration, Fcurrent_window_configuration):
      Omit unnecessary parens.
      * src/dispextern.h (CURRENT_MODE_LINE_HEIGHT)
      (CURRENT_HEADER_LINE_HEIGHT, CURRENT_TAB_LINE_HEIGHT):
      Add parens needed to make these macros function-like.
      * src/window.c (window_resize_check):
      * src/window.h (WINDOW_TAB_BAR_P):
      * src/xdisp.c (tab_bar_item_info): Reindent.
      * src/window.c (window_wants_mode_line)
      (window_wants_header_line, window_wants_tab_line):
      Simplify (a && b ? 1 : 0) to (a && b).
      81c7f3af
    • Stefan Kangas's avatar
      Make mouse scroll show a message instead of dinging at buffer limits · be27f02b
      Stefan Kangas authored
      * lisp/mwheel.el (mwheel-scroll): Show a message instead of dinging at
      end of buffer and beginning of buffer.  This should be less intrusive,
      especially when using a trackpad.  (Bug#16196)
      be27f02b
    • Stefan Kangas's avatar
      Bind Scroll_Lock to scroll-lock-mode globally · 591c8bc7
      Stefan Kangas authored
      * lisp/bindings.el (global-map): Bind Scroll_Lock to
      scroll-lock-mode.  (Bug#6861)
      * lisp/scroll-lock.el (scroll-lock-mode): Note that the binding will
      not work if 'w32-scroll-lock-modifier' is non-nil.
      * etc/NEWS: Announce it.
      591c8bc7
    • Stefan Kangas's avatar
      Add tests for secure-hash and improve doc string (Bug#37420) · ef8fadf8
      Stefan Kangas authored
      * src/fns.c (Fsecure_hash_algorithms): Fix typo.
      (Fsecure_hash): Add algorithm list to doc string.
      * test/src/fns-tests.el (test-secure-hash): New test.
      ef8fadf8
    • Stefan Kangas's avatar
      Declare unused vhdl code in align.el obsolete · dd359256
      Stefan Kangas authored
      * lisp/align.el (align-vhdl-rules-list, align-set-vhdl-rules): Declare
      obsolete.  (Bug#6207)
      (align-dq-string-modes, align-open-comment-modes): Move vhdl-mode to
      definition instead of adding it later.
      dd359256
    • Mattias Engdegård's avatar
      Fix error in gnu compilation-mode regexp (bug#37582) · 32558cfe
      Mattias Engdegård authored
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      Fix a mistake introduced when the regexp was translated to rx.
      * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data)
      (compile-test-error-regexps): Add test case.
      * etc/compilation.txt: Add example.
      32558cfe
    • Mattias Engdegård's avatar
      Make compile-tests re-runnable · d09cbcee
      Mattias Engdegård authored
      * test/lisp/progmodes/compile-tests.el (compile-test-error-regexps):
      Don't rely on compilation-num-errors (etc) all being zero, which they
      aren't if the test has been run before.
      (compile-tests--test-regexps-data): Change defvar to defconst.
      d09cbcee
    • Lars Ingebrigtsen's avatar
      Remove semantic-make-local-hook call from CEDET · 5f06b9c4
      Lars Ingebrigtsen authored
      * lisp/cedet/semantic/wisent/grammar.el
      (wisent-grammar-setupcode-builder):
      * lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
      (semantic-show-unmatched-syntax-mode)
      (semantic-show-parser-state-mode):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
      * lisp/cedet/semantic/imenu.el (semantic-create-imenu-index):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-mode):
      * lisp/cedet/semantic/grammar-wy.el
      (semantic-grammar-wy--install-parser):
      * lisp/cedet/semantic/decorate/mode.el
      (semantic-decorate-add-pending-decoration)
      (semantic-decoration-mode):
      * lisp/cedet/semantic.el (semantic--set-buffer-cache): Remove all
      calls to the function.
      
      * lisp/cedet/semantic/fw.el (semantic-make-local-hook): Made
      obsolete alias for #'ignore by removing XEmacs compat code.
      5f06b9c4
    • Lars Ingebrigtsen's avatar
      Remove some XEmacs compat code from ispell.el · 33702988
      Lars Ingebrigtsen authored
      * lisp/textmodes/ispell.el (ispell-word): Remove XEmacs compat code.
      33702988
    • Lars Ingebrigtsen's avatar
      Remove some XEmacs compat code from ezimage.el · b0ef3775
      Lars Ingebrigtsen authored
      * lisp/ezimage.el (defezimage): Remove XEmacs compat code.
      b0ef3775
    • Stefan Kangas's avatar
      Remove XEmacs compat code from re-builder.el · 094e48e4
      Stefan Kangas authored
      * lisp/emacs-lisp/re-builder.el (top-level)
      (reb-color-display-p): Remove XEmacs compat code.
      094e48e4
    • Lars Ingebrigtsen's avatar
      Remove some XEmacs compat code from ediff*.el · 8ef09cb3
      Lars Ingebrigtsen authored
      * lisp/vc/ediff-diff.el (ediff-goto-word): Ditto.
      
      * lisp/vc/ediff-init.el (ediff-has-face-support-p)
      (ediff-current-diff-A, ediff-current-diff-B)
      (ediff-current-diff-C, ediff-current-diff-Ancestor)
      (ediff-fine-diff-A, ediff-fine-diff-B, ediff-fine-diff-C)
      (ediff-fine-diff-Ancestor, ediff-even-diff-A)
      (ediff-even-diff-B, ediff-even-diff-C)
      (ediff-even-diff-Ancestor, ediff-odd-diff-A, ediff-odd-diff-B)
      (ediff-odd-diff-C, ediff-odd-diff-Ancestor)
      (ediff-with-syntax-table): Ditto.
      
      * lisp/vc/ediff-mult.el (ediff-dir-diffs-buffer-map)
      (ediff-setup-meta-map, ediff-set-meta-overlay): Ditto.
      
      * lisp/vc/ediff-util.el (ediff-setup-keymap)
      (ediff-toggle-wide-display, ediff-toggle-multiframe)
      (ediff-toggle-use-toolbar, ediff-really-quit)
      (ediff-good-frame-under-mouse)
      (ediff-make-bullet-proof-overlay): Ditto.
      
      * lisp/vc/ediff-wind.el (ediff-setup-control-frame)
      (ediff-refresh-control-frame): Remove XEmacs compat code.
      8ef09cb3
    • Stefan Monnier's avatar
      * lisp/subr.el (generate-new-buffer): Move (from files.el) before first use · f1d9e41a
      Stefan Monnier authored
      (with-temp-file, with-output-to-string): Use it.
      
      * lisp/files.el (generate-new-buffer): Move to subr.el.
      f1d9e41a
    • Dmitry Gutov's avatar
      (project--vc-list-files): Optimize the Hg implementation · 9a3089fe
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--vc-list-files):
      Optimize the Hg implementation.
      9a3089fe
    • Lars Ingebrigtsen's avatar
      Remove some more XEmacs compat code from viper*.el · 1039c2e2
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-ex.el (viper-ex-read-file-name): Ditto.
      
      * lisp/emulation/viper-init.el (viper-ms-style-os-p)
      (viper-has-face-support-p, viper-deactivate-input-method)
      (viper-activate-input-method, viper-set-input-method): Ditto.
      
      * lisp/emulation/viper-util.el
      (viper-get-saved-cursor-color-in-replace-mode)
      (viper-get-saved-cursor-color-in-insert-mode)
      (viper-get-saved-cursor-color-in-emacs-mode)
      (viper-set-replace-overlay, viper-key-to-emacs-key)
      (viper-set-unread-command-events): Ditto.
      
      * lisp/emulation/viper.el (viper-go-away, viper-set-hooks)
      (viper-non-hook-settings): Remove XEmacs compat code.
      1039c2e2
    • Lars Ingebrigtsen's avatar
      Remove more XEmacs compat code from viper-*.el · 07959a0f
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-cmd.el (viper-special-read-and-insert-char)
      (viper-next-line-carefully, viper-next-line)
      (viper-previous-line): Ditto.
      
      * lisp/emulation/viper-mous.el (viper-surrounding-word)
      (viper-parse-mouse-key): Remove XEmacs compat code.
      07959a0f
    • Lars Ingebrigtsen's avatar
      Remove XEmacs-only code from snake.el · 7174a2b5
      Lars Ingebrigtsen authored
      * lisp/play/snake.el (snake-mode): Remove XEmacs-only code.
      7174a2b5
    • Lars Ingebrigtsen's avatar
      Remove XEmacs code from tetris.el · 68b91333
      Lars Ingebrigtsen authored
      * lisp/play/tetris.el (tetris-mode): Remove XEmacs-only code.
      68b91333
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from idlw-shell.el · 280bdc06
      Lars Ingebrigtsen authored
      * lisp/progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
      Make into obsolete alias.
      (idlwave-shell-temp-file): Adjust callers.
      280bdc06
    • Juanma Barranquero's avatar
      Revert "Improve docstrings auto-generated by `define-minor-mode'" · 4df55f8f
      Juanma Barranquero authored
      This reverts commit a397fa06.
      The original change breaks bootstrapping because of a circular dependency.
      4df55f8f
    • Dmitry Gutov's avatar
      ; Fix reported warnings · d8c2da46
      Dmitry Gutov authored
      d8c2da46
    • Dmitry Gutov's avatar
      Use file-name-as-directory · 7844846e
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--vc-list-files): Use
      file-name-as-directory, to be on the safe side.
      7844846e
  3. 03 Oct, 2019 2 commits