1. 27 Jun, 2020 2 commits
    • Zach Shaftel's avatar
      Store the bytecode offset in thread_state · 0cb1df1e
      Zach Shaftel authored
      * src/lisp.h:
      * src/eval.c (backtrace_byte_offset): Remove global variable, and
      put it...
      * src/thread.h (thread_state): ...in here as
      m_backtrace_byte_offset, and define backtrace_byte_offset as a
      macro that points to it.
      * src/bytecode.c (UPDATE_OFFSET): Move out of #ifdef
    • Zach Shaftel's avatar
      Properly align offset in backtrace · 58e112fe
      Zach Shaftel authored
      * lisp/emacs-lisp/backtrace.el (backtrace--print-flags): Use format
      width specifier to line up the flags and offset nicely.
  2. 26 Jun, 2020 1 commit
  3. 02 Jun, 2020 9 commits
  4. 01 Jun, 2020 8 commits
  5. 31 May, 2020 8 commits
    • Paul Eggert's avatar
      Be more aggressive in marking objects during GC · 68b6dad1
      Paul Eggert authored
      Simplified version of a patch from Pip Cet (Bug#41321#299).
      * src/alloc.c (maybe_lisp_pointer): Remove.  All uses removed.
      (mark_memory): Also look at the pointer offset by ‘lispsym’,
      for symbols.
    • Philipp Stephani's avatar
      Unbreak compilation with CHECK_STRUCTS defined. · 43caa968
      Philipp Stephani authored
      * src/pdumper.c (dump_float): Update hash value after commit
      9f7bfb6c.  The struct layout is still
    • Eli Zaretskii's avatar
    • Alan Mackenzie's avatar
      Fix bug #41618 "(byte-compile 'foo) errors when foo is a macro." · cc340da1
      Alan Mackenzie authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile): Disentangle the eval of the
      final form from the pushing of 'macro onto it, doing the former first.
    • Tom Tromey's avatar
      Remove mhtml--extend-font-lock-region (Bug#41441) · f56830ac
      Tom Tromey authored
      * lisp/textmodes/mhtml-mode.el (mhtml--extend-font-lock-region):
      (mhtml-mode): Don't set font-lock-extend-region-functions.
    • Eli Zaretskii's avatar
      Protect bidi cache from inadvertent resets · dc4db3ef
      Eli Zaretskii authored
      * src/xdisp.c (Fline_pixel_height, Fmove_point_visually): Save and
      restore the bidi cache, to avoid inadvertently resetting it by
      starting a new iteration through buffer text.  This could cause
      trouble if these functions are called during a redisplay cycle,
      especially while we were processing RTL text.
    • Eli Zaretskii's avatar
      Avoid crashes due to bidi cache being reset during redisplay · 41232e67
      Eli Zaretskii authored
      If automatic character composition triggers GC, and
      'garbage-collection-messages' are turned on, we could have the
      bidi cache reset while processing RTL text, which would then
      consistently crash.
      * src/xdisp.c (display_echo_area_1): Protect the bidi cache
      against changes inside 'try_window'.
    • Tino Calancha's avatar
      occur: Add bindings for next-error-no-select · abe7c22d
      Tino Calancha authored
      Make the navigation in the occur buffer closer
      to the navigation in the compilation buffer.
      Add bindings to navigate the occur matches (Bug#39121).
      Honor `next-error-highlight' and `next-error-highlight-no-select'
      when navigating the occurrences.
      * lisp/replace.el (occur-highlight-regexp, occur-highlight-overlay):
      New variables.
      (occur-1): Set `occur-highlight-regexp' to the searched regexp.
      (occur-goto-locus-delete-o, occur--highlight-occurrence): New defuns.
      (occur-mode-display-occurrence, occur-mode-goto-occurrence):
      Use `occur--highlight-occurrence'.
      (occur-mode-map): Bind n to `next-error-no-select'
      and p to `previous-error-no-select'
      * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 28.1):
      Announce this change.
      * test/lisp/replace-tests.el (replace-tests-with-highlighted-occurrence):
      Add helper macro.
      (occur-highlight-occurrence): Add test.
  6. 30 May, 2020 6 commits
  7. 29 May, 2020 6 commits