1. 13 Dec, 2019 5 commits
    • Andrii Kolomoiets's avatar
      python-shell-completion-at-point: respect simple-operator (Bug#37808) · 51d3c951
      Andrii Kolomoiets authored
      * lisp/progmodes/python.el (python-shell-completion-at-point): Also
      stop on simple-operator while parsing input.
    • Mattias Engdegård's avatar
      Allow characters and single-char strings in rx charsets · 82b4e48c
      Mattias Engdegård authored
      The `not' and `intersection' forms, and `or' inside these forms,
      now accept characters and single-character strings as arguments.
      Previously, they had to be wrapped in `any' forms.
      This does not add expressive power but is a convenience and is easily
      * doc/lispref/searching.texi (Rx Constructs): Amend the documentation.
      * etc/NEWS: Announce the change.
      * lisp/emacs-lisp/rx.el (rx--charset-p, rx--translate-not)
      (rx--charset-intervals, rx): Accept characters and 1-char strings in
      more places.
      * test/lisp/emacs-lisp/rx-tests.el (rx-not, rx-charset-or)
      (rx-def-in-charset-or, rx-intersection): Test the change.
    • Philipp Stephani's avatar
    • Noam Postavsky's avatar
      Add prefix to help.el uni-confusable* vars · 966abdba
      Noam Postavsky authored
      * lisp/help.el (help-uni-confusables, help-uni-confusables-regexp):
      Rename from uni-confusable and uni-confusables-regexp, respectively.
      (help-uni-confusable-suggestions): Use ngettext.  Use new variable
      * lisp/emacs-lisp/lisp-mode.el (lisp--match-confusable-symbol-character):
      Use new variable name.
    • Eli Zaretskii's avatar
      A better fix for extension of overlay string's faces · dd3f2130
      Eli Zaretskii authored
      * src/xdisp.c (face_at_pos): Revert previous change that
      rejected the underlying face if it failed the filtering
      * src/xfaces.c (face_at_string_position): Reset the base face's
      attribute used for filtering faces if the attribute is t.
  2. 12 Dec, 2019 12 commits
  3. 11 Dec, 2019 7 commits
  4. 10 Dec, 2019 13 commits
    • Paul Eggert's avatar
      Just use size_t for emacs_limb_t · 0940296e
      Paul Eggert authored
      * src/emacs-module.h.in: Do not include limits.h; no longer needed.
      (emacs_limb_t, EMACS_LIMB_MAX): Now size_t and SIZE_MAX.
    • Mattias Engdegård's avatar
      Add `union' and `intersection' to rx (bug#37849) · ea93326c
      Mattias Engdegård authored
      These character set operations, together with `not' for set
      complement, improve the compositionality of rx, and reduce duplication
      in complicated cases.  Named character classes are not permitted in
      set operations.
      * lisp/emacs-lisp/rx.el (rx--translate-any): Split into multiple
      (rx--foldl, rx--parse-any, rx--generate-alt, rx--intervals-to-alt)
      (rx--complement-intervals, rx--intersect-intervals)
      (rx--union-intervals, rx--charset-intervals, rx--charset-union)
      (rx--charset-all, rx--charset-intersection, rx--translate-union)
      (rx--translate-intersection): New.
      (rx--translate-not, rx--translate-form, rx--builtin-forms, rx):
      Add `union' and `intersection'.
      * test/lisp/emacs-lisp/rx-tests.el (rx-union ,rx-def-in-union)
      (rx-intersection, rx-def-in-intersection): New tests.
      * doc/lispref/searching.texi (Rx Constructs):
      * etc/NEWS:
      Document `union' and `intersection'.
    • Alan Third's avatar
      Fix XBM files on NS (bug#26133) · 9546a2a0
      Alan Third authored
      Reinstate some of the functionality removed in commit
      * src/nsimage.m (ns_image_from_XBM): Use new reverseBytes argument.
      ([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]): Add
      ability to reverse the contents of each byte for use with XBMs, while
      still working with fringe bitmaps.
      * src/nsterm.h
      ([EmacsImage initFromXBM:width:height:fg:bg:reverseBytes:]): Modified
      function definition.
      * src/nsterm.m (ns_draw_fringe_bitmap): Use new reverseBytes argument.
    • Alan Third's avatar
      Fix dabbrev-completion (bug#17899) · 33a37360
      Alan Third authored
      * lisp/dabbrev.el (dabbrev--check-all-buffers): Add new variable.
      (dabbrev-completion): Lexical scoping means we can't use let to
      override global variables, so use setq.
      (dabbrev--reset-global-variables): Reset new variable.
      (dabbrev--make-friend-buffer-list): Use new variable.
      * test/lisp/dabbrev-tests.el (dabbrev-completion-test):
      (dabbrev-completion-test-with-argument): New tests.
    • Alan Third's avatar
      Fix mouse-position on macOS (bug#4892) · fbf9fea4
      Alan Third authored
      * src/nsterm.m (ns_mouse_position): Implement a search for the frame
      under the mouse pointer.
    • Federico Tedin's avatar
      Simplify call to add-to-history in read_minibuf · 9042ece7
      Federico Tedin authored
      * src/minibuf.c (read_minibuf): Avoid restoring the previous buffer,
      as this is already done at the end of the function; call
      `add-to-history' after that point.
    • Eli Zaretskii's avatar
    • Paul Eggert's avatar
      Spelling fixes · d1a791f8
      Paul Eggert authored
    • Paul Eggert's avatar
      Prefer static to extern in ebrowse · 28578f87
      Paul Eggert authored
      * lib-src/ebrowse.c (info_where, info_cls, info_member)
      (info_position, options, yyival, yytext, yytext_end, yyout)
      (yyline, filename, is_ident, is_digit, is_white, f_append)
      (f_verbose, f_very_verbose, f_structs, f_regexps)
      (f_nested_classes, min_regexp, max_regexp, inbuffer, in)
      (inbuffer_size, string_start, class_table, member_table)
      (namespace_alias_table, global_symbols, current_namespace)
      (all_namespaces, namespace_stack, namespace_stack_size)
      (namespace_sp, tk, keyword_table, search_path)
      (search_path_tail, scope_buffer, scope_buffer_size)
      (scope_buffer_len): Now static.
      (options): Now const.
    • Paul Eggert's avatar
    • Paul Eggert's avatar
    • Dmitry Gutov's avatar
      Rename faces used in faces-tests.el · ac1b6e97
      Dmitry Gutov authored
      * test/data/themes/faces-test-light-theme.el:
      * test/data/themes/faces-test-dark-theme.el: Update accordingly.
      * test/lisp/faces-tests.el (faces--test-extend-with-themes):
      Don't use the diff-mode faces.  Rename the definitions.
    • Dmitry Gutov's avatar
      Make ':extend' inherited from default spec unless overridden · 58fb4c3e
      Dmitry Gutov authored
      * lisp/faces.el (face-spec-recalc): Handle the :extend attribute
      specially and always inherit it from the default spec unless
      overwritten in a theme (bug#37774).
      * test/lisp/faces-tests.el (faces--test-data-dir): New variable.
      (faces--test-extend-with-themes): Use test themes instead of ones
      from etc/themes.  Update expected values.
      * test/data/themes/faces-test-dark-theme.el: New file.
      * test/data/themes/faces-test-light-theme.el: New file.
      * doc/lispref/display.texi (Face Attributes):
      Update the description of ':extend'.
      * etc/NEWS: Update the entry for ':extend'.
      * etc/themes/adwaita-theme.el:
      * etc/themes/deeper-blue-theme.el:
      * etc/themes/dichromacy-theme.el:
      * etc/themes/leuven-theme.el:
      * etc/themes/light-blue-theme.el:
      * etc/themes/manoj-dark-theme.el:
      * etc/themes/misterioso-theme.el:
      * etc/themes/tango-dark-theme.el:
      * etc/themes/tango-theme.el:
      * etc/themes/tsdh-dark-theme.el:
      * etc/themes/tsdh-light-theme.el:
      * etc/themes/wheatgrass-theme.el:
      * etc/themes/wombat-theme.el: Remove the now-redundant ':extend'
      attribute in all the themes.
  5. 09 Dec, 2019 3 commits