1. 07 Oct, 2019 22 commits
  2. 06 Oct, 2019 13 commits
    • Juri Linkov's avatar
      Allow using last_tab_bar_item on no-x builds. · 785dda94
      Juri Linkov authored
      * src/frame.h (struct frame): Remove HAVE_WINDOW_SYSTEM
      around last_tab_bar_item.
    • Juri Linkov's avatar
      Implement tab-close-other bound to C-x 6 1 by analogy with C-x 5 1. · 01465915
      Juri Linkov authored
      * lisp/tab-bar.el (tab-close-other): New command bound to C-x 6 1.
      * doc/emacs/frames.texi (Tab Bars): Document it.
    • Juri Linkov's avatar
      Use tabs in EWW (bug#37592) · d24a1977
      Juri Linkov authored
      * lisp/net/eww.el (eww-open-in-new-buffer): Call tab-new when tab-bar-mode
      is enabled.
      (eww-browse-url): Add docstring.  Call tab-new when tab-bar-mode
      is enabled.
      * lisp/net/shr.el (shr-map): Bind [C-down-mouse-1] to
      (shr-mouse-browse-url-new-window): New command.
      (shr-browse-url): Add optional arg new-window.
      * doc/misc/eww.texi (Basics): Mention opening tabs on M-RET.
    • Stefan Monnier's avatar
      * eieio-core.el (eieio--full-class-object): New function. · 47cf2a37
      Stefan Monnier authored
      Rather than explicitly call eieio-class-un-autoload, the autoloading is
      now performed on-demand if you use eieio--full-class-object.
      * lisp/emacs-lisp/eieio-core.el (eieio-class-un-autoload): Remove.
      (eieio--full-class-object): New function, to replace it.
      (eieio-oref, eieio--class-precedence-list):
      * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
      Use it instead of eieio-class-un-autoload.
      * lisp/emacs-lisp/eieio.el (eieio-class-parents, child-of-class-p):
      Load the class if needed.
    • Stefan Kangas's avatar
      Support changing font size using mouse wheel · dc8108e1
      Stefan Kangas authored
      * lisp/mwheel.el (mouse-wheel-mode): Support changing font size (text
      scaling) using mouse wheel.  (Bug#28182)
      (mouse-wheel-scroll-amount): Bind the Ctrl modifier to text scaling.
      (mwheel-installed-text-scale-bindings): New variable.
      (mouse-wheel--remove-bindings): New helper function for
      * doc/emacs/frames.texi (Mouse Commands): Document this feature.
      * etc/NEWS: Announce it.
    • Juanma Barranquero's avatar
      Set alternate faces for some line numbers (bug#27734) · 8de2e69f
      Juanma Barranquero authored
      * lisp/faces.el (line-number-major-tick, line-number-minor-tick):
      New faces.
      * lisp/cus-start.el (display-line-numbers-major-tick)
      (display-line-numbers-minor-tick): Add customization info.
      * lisp/frame.el: Add `display-line-numbers-major-tick' and
      `display-line-numbers-minor-tick' to list of variables which
      should trigger redisplay of the current buffer.
      * src/xdisp.c (syms_of_xdisp) <display-line-numbers-major-tick>
      <display-line-numbers-major-tick>: Defvar new options.
      (syms_of_xdisp) <line-number-major-tick, line-number-minor-tick>:
      Defsym new faces.
      (maybe_produce_line_number): Use new faces for line numbers
      that are multiple of `display-line-numbers-major-tick' and
      * etc/NEWS (value): Announce new feature.
      * doc/emacs/display.texi (Display Custom): Describe it.  Wording by
      Robert Pluim <rpluim@gmail.com>
    • Juri Linkov's avatar
      Don't bind 'C-x 6' to '2C-mode-map' globally by default. · 29db34e3
      Juri Linkov authored
      * lisp/textmodes/two-column.el: Don't autoload global setting of
      "\C-x6" to 2C-command.
      * lisp/ldefs-boot.el: Update to remove setting "\C-x6" to 2C-command.
      * doc/emacs/commands.texi (Keys):
      * doc/emacs/text.texi (Two-Column):
      * doc/lispref/keymaps.texi (Prefix Keys):
      * doc/lispref/maps.texi (Standard Keymaps):
      Unbind 'C-x 6' from '2C-mode-map'.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package--get-deps): Rewrite. · ef9124aa
      Stefan Monnier authored
      Avoid inf-recursion with dependency cycles.
      Remove unused `only` arg.  Prune duplicates early rather than late.
      (package--removable-packages): Simplify code accordingly.
    • Eli Zaretskii's avatar
    • Paul Eggert's avatar
      Port file-acl errno checking to non-GNU · 8ad41af3
      Paul Eggert authored
      Problem reported privately for FreeBSD 12 by Ashish Shukla.
      * src/fileio.c (Ffile_acl): Treat EINVAL etc. like ENOTSUP if
      acl_get_file fails, to port to FreeBSD 12 and other non-GNU
    • Eli Zaretskii's avatar
      Support mouse clicks on tab bar on TTY frames · ad76020a
      Eli Zaretskii authored
      This for now doesn't work on GPM.
      * src/xdisp.c (display_tab_bar): Make the loop over tab-bar
      items more efficient.
      (tab_bar_item_info, tool_bar_item_info): Correct data type for
      (tty_get_tab_bar_item, tty_handle_tab_bar_click): New functions.
      (note_mouse_highlight): Handle help-echo of tab-bar tabs on
      TTY frames.
      * src/w32inevt.c (do_mouse_event): Call
      tty_handle_tab_bar_click to process mouse clicks on the tab bar.
      * src/termchar.h (tty_handle_tab_bar_click): Add prototype.
      * src/w32console.c (w32con_set_terminal_modes): Disable Quick
      Edit mode on entry, to make sure mouse events get reported to
    • Paul Eggert's avatar
      Fix off-by-one bug in ISO 8601 BC years · 9d829b8b
      Paul Eggert authored
      * lisp/calendar/iso8601.el (iso8601--year-match)
      (iso8601--full-date-match, iso8601--without-day-match)
      (iso8601--week-date-match, iso8601--ordinal-date-match)
      Don’t bother to separate the year’s sign from the year,
      as that distinction is not needed: ISO 8601 uses
      astronomical year numbering with a year zero, which
      is what the Emacs time functions use, so there’s no
      need to treat nonpositive years specially.
      (iso8601--adjust-year): Remove; no longer needed
      since callers can just use string-to-number.
      * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years):
      Adjust test case to match fixed behavior.
    • Paul Eggert's avatar
      Improve documentation for year-zero issues · aadf7216
      Paul Eggert authored
      * doc/emacs/calendar.texi (Calendar Systems)
      * doc/lispref/os.texi (Time Conversion):
      Prefer "BC" to "B.C." since the documentation generally uses "BC".
      * doc/misc/emacs-mime.texi (time-date):
      * lisp/calendar/time-date.el (date-to-day, time-to-days):
      In the doc string, state the day origin more clearly, and more
      consistently with the rest of the documentation.
      * src/timefns.c (Fdecode_time): State the year origin in
      the doc string.
  3. 05 Oct, 2019 5 commits
    • Juri Linkov's avatar
      More tab bar related key bindings. · 6b915359
      Juri Linkov authored
      * lisp/subr.el (ctl-x-6-map, ctl-x-6-prefix): Move here from tab-bar.el
      to make it available to other modes like dired for 'C-x 6 d'.
      * lisp/dired.el (dired-other-tab): New command bound to 'C-x 6 d'.
      * lisp/tab-bar.el: Bind 'C-x 6 o' to tab-next.
      * doc/emacs/frames.texi (Tab Bars): Describe C-x 6 prefix key bindings.
    • Juri Linkov's avatar
      * lisp/tab-bar.el: In tab switching allow absolute and relative args. · e3fcf1f3
      Juri Linkov authored
      * lisp/tab-bar.el (tab-bar-tab-hints): New defcustom.
      (tab-bar-make-keymap-1): Use tab-bar-tab-hints.
      (tab-bar--tab, tab-bar--current-tab, tab-bar--current-tab-index)
      (tab-bar--tab-index, tab-bar--tab-index-by-name): New internal functions.
      (tab-bar-select-tab): Use arg as absolute position of tab to select.
      (tab-bar-switch-to-next-tab, tab-bar-switch-to-prev-tab): Use arg
      as offset relative to the current tab.
      (tab-bar-switch-to-tab): New command.
      (tab-bar-new-tab): Simplify by using cl-pushnew.
      (tab-bar-close-current-tab): Remove (the current tab is closed
      by nil arg of tab-bar-close-tab).
      (tab-bar-close-tab): Use arg as absolute position of tab to close.
      (tab-bar-close-tab-by-name): New command.
    • Artyom Loenko's avatar
      Include new permission settings for macOS 10.15 (bug#37551) · 080e8084
      Artyom Loenko authored
      * nextstep/templates/Info.plist.in
      (NSRemovableVolumesUsageDescription): Add description to enable
      setting in macOS 10.15.
      Copyright-paperwork-exempt: yes
    • 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.
    • Lars Ingebrigtsen's avatar