1. 14 Oct, 2019 6 commits
  2. 13 Oct, 2019 3 commits
  3. 11 Oct, 2019 6 commits
    • Stefan Monnier's avatar
      * lisp/cedet/mode-local.el (define-overload): Declare obsolete · a93dceda
      Stefan Monnier authored
      * lisp/cedet/srecode/ctxt.el (srecode-calculate-context):
      * lisp/cedet/srecode/semantic.el (srecode-semantic-apply-tag-to-dict)
      (srecode-semantic-find-template): Use define-overloadable-function instead.
    • Andrea Corallo's avatar
      * lisp/emacs-lisp/map.el (map-into) <hash-table>: Allow keyword args · 421db07d
      Andrea Corallo authored
      (map--into-hash): New function, extracted from `map-into <hash-table>`.
      Speed it up a bit by using gethash instead of map-elt when we know
      we're accessing a hash table.
      * test/lisp/emacs-lisp/map-tests.el (test-map-into): Add corresponding test.
    • Stefan Kangas's avatar
      Support showing directory in shell command prompt · 552c20ce
      Stefan Kangas authored
      * lisp/simple.el (shell-command-prompt-show-cwd): New defcustom.
      (async-shell-command, shell-command): Show current directory in prompt
      when above option is non-nil.  (Bug#4987)
      * etc/NEWS: Announce it.
    • Lars Ingebrigtsen's avatar
      New variable amalgamating-undo-limit · 85b3d562
      Lars Ingebrigtsen authored
      * doc/lispref/text.texi (Undo): Document it.
      * lisp/simple.el (amalgamating-undo-limit): New variable (bug#31658).
    • Lars Ingebrigtsen's avatar
      Ensure that setq-local take an even number of symbol/value pairs · df713b93
      Lars Ingebrigtsen authored
      * doc/lispref/variables.texi (Creating Buffer-Local): Document the
      new syntax for setq-local.
      * lisp/subr.el (setq-local): Ensure that there's an even number of
      variable/value pairs, and expand the doc string by taking some
      text from `setq'.
    • Stefan Kangas's avatar
      Change font size in correct window using mouse wheel · ffb71007
      Stefan Kangas authored
      * lisp/mwheel.el (mouse-wheel-follow-mouse): Doc fix.
      (mouse-wheel--get-scroll-window): New function extracted from...
      (mwheel-scroll): ...here.
      (mouse-wheel-text-scale): New function to change face height in
      the correct window, depending on the value of
      'mouse-wheel-follows-mouse'.  (Bug#28182)
      (mouse-wheel-mode): Bind 'mouse-wheel-text-scale' instead of
      'text-scale-increase' and 'text-scale-decrease'.
  4. 09 Oct, 2019 2 commits
    • Lars Ingebrigtsen's avatar
      Allow filtering out warnings/errors from compile.el detection · 3f594fef
      Lars Ingebrigtsen authored
      * lisp/progmodes/compile.el
      (compilation-transform-file-match-alist): New variable (bug#32968).
      (compilation-error-properties): Use it to remove known false
      (compilation-error-regexp-alist): Mention it in this doc string.
    • Juanma Barranquero's avatar
      Implement offsets for absolute line numbers · 76a9f03c
      Juanma Barranquero authored
      * src/xdisp.c (syms_of_xdisp) <display-line-numbers-offset>:
      New variable to add an offset to absolute line numbers.
      (syms_of_xdisp) <display-line-numbers>: Mention it in docstring.
      (maybe_produce_line_number): Use it.
      * doc/emacs/display.texi (Display Custom): Document it.
      * etc/NEWS (value): Announce it.
      * lisp/frame.el: Add `display-line-numbers-offset' to list of
      variables which should trigger redisplay of the current buffer.
  5. 08 Oct, 2019 2 commits
    • Federico Tedin's avatar
      Filter packages by name in list-packages. (Bug#36981) · f96b8fd2
      Federico Tedin authored
      * lisp/emacs-lisp/package.el (package-menu-filter-by-name): New
      function to filter packages by name.
      (package-menu-clear-filter): New function to clear applied filters.
      (package-menu-filter-by-keyword): Rename function from
      (package-menu--generate): Don't change 'q' binding anymore.
      (package-menu-mode-map): Bind '/ n' to package-menu-filter-by-name, '/
      k' to package-menu-filter-by-keyword and '/ /' to
      (package-menu-mode-menu): Update menu entries for the three functions.
      * test/lisp/emacs-lisp/package-tests.el (package-test-list-filter-by-name)
      (package-test-list-clear-filter): New tests.
      * doc/emacs/package.texi: Document usage of
      package-menu-filter-by-name, package-menu-clear-filter and update
      reference to package-menu-filter-by-keyword.
      * etc/NEWS: Announce changes.
    • Michael Albinus's avatar
      * etc/PROBLEMS: Describe navigation problem from Nautilus. (Bug#37573) · 304d022a
      Michael Albinus authored
      * lisp/userlock.el (create-lockfiles): Set `safe-local-variable' property.
  6. 06 Oct, 2019 4 commits
    • 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 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'.
  7. 05 Oct, 2019 2 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.
    • 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.
  8. 04 Oct, 2019 2 commits
    • 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.
    • 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.
  9. 03 Oct, 2019 1 commit
  10. 01 Oct, 2019 6 commits
  11. 29 Sep, 2019 3 commits
  12. 28 Sep, 2019 3 commits
    • Lars Ingebrigtsen's avatar
      If requested, use external image converters for exotic formats · 63f4f02a
      Lars Ingebrigtsen authored
      * doc/lispref/display.texi (Defining Images): Document it.
      * lisp/image.el (convert-images-externally): New variable.
      (image-type): Use it.
      (create-image): Convert images.
      * lisp/image/image-converter.el (image-converter--convert): New file.
    • Juri Linkov's avatar
      Update documentation for tabs. · 457a7edb
      Juri Linkov authored
      * doc/emacs/frames.texi (Tab Bars): New node.
    • Stefan Kangas's avatar
      Improve sorting in package list (Bug#37419) · a444bb78
      Stefan Kangas authored
      * lisp/emacs-lisp/package.el (package-menu-mode): Allow sorting by
      version or description.
      (package-menu--version-predicate): Fix sorting by version.
      (package-menu--description-predicate): Fix sorting by description.
      (package-menu--archive-predicate): Fall back to sorting by name if
      archive is the same.
      (package-menu--name-predicate, package-menu--status-predicate): Add
      doc string.
      * etc/NEWS: Announce the above changes.