1. 26 Jul, 2021 4 commits
  2. 25 Jul, 2021 17 commits
    • Mattias Engdegård's avatar
      Describe changes to the occur-mode implementation in NEWS · a45aed94
      Mattias Engdegård authored
      * etc/NEWS: Mention change to the `occur-target` property (bug#39121).
    • Glenn Morris's avatar
      Fix recent gdb-mi change · 81da37b6
      Glenn Morris authored
      * lisp/progmodes/gdb-mi.el (gdb-registers-filter-pattern-list):
      Fix type.
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · ed1480b1
      Glenn Morris authored
      d0625dc5 (origin/emacs-27) ; One more change in back.texi.
      06d0a66e ; Yet another last-minute change in Emacs manual for printing
    • Michael Albinus's avatar
      Add instructions for Tramp bug reports · df7bb79f
      Michael Albinus authored
      * doc/misc/tramp.texi (Bug Reports): Describe how to use password
      cache with "emacs -Q".
    • Mattias Engdegård's avatar
      Fix tex-validate-buffer · f4d04931
      Mattias Engdegård authored
      * lisp/textmodes/tex-mode.el (tex-validate-buffer):
      Set `inhibit-read-only` around all modifications of the
      read-protected *Occur* buffer (bug#19326).
      Add the `occur-match` property, and adjust the extent of the
      `occur-target` property, so that next-error and previous-error work
      correctly (bug#39121).
    • Mattias Engdegård's avatar
      Add back occur-mode-find-occurrence for compatibility (bug#39121) · 697341d7
      Mattias Engdegård authored
      * lisp/replace.el (occur-mode-find-occurrence):
      Put back (an emulation of) the previously removed function.
      It is used internally in eshell and in some external code.
      Problem found by Basil Contovounesios.
    • Eli Zaretskii's avatar
      Fix compilation of xftfont.c with old fontconfig · 41a55a33
      Eli Zaretskii authored
      * src/xftfont.c (FC_LCD_FILTER): Define if undefined, for older
      versions of fontconfig.  This was mistakenly deleted 2 years ago.
    • Michael Albinus's avatar
      Fix extended attributes for Tramp's sudoedit method (bug#49724) · 41e62df7
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
      Remove compat code for `{set-}file-extended-attributes'.
      (tramp-sudoedit-handle-write-region): Handle extended attributes.
      * test/lisp/net/tramp-tests.el (tramp-test25-file-selinux):
      Fix test for sudoedit method.
    • Kévin Le Gouguec's avatar
    • Christopher League's avatar
      When bookmark is overwritten, unfontify its previous position · 142961bc
      Christopher League authored
      * lisp/bookmark.el (bookmark-store): When the bookmark-fontify option
      is non-nil, setting or jumping to bookmarks will colorize them using
      `bookmark-face'.  With this change, overwriting a bookmark will remove
      the fontification at its former position (bug#49725).
    • Michael Albinus's avatar
      Use `file-name-concat' in Tramp · 0577bd0c
      Michael Albinus authored
      * lisp/net/tramp-compat.el (tramp-compat-file-name-concat):
      New defalias.
      * lisp/net/tramp.el (tramp-handle-expand-file-name):
      * lisp/net/tramp-adb.el
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
      * lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
      * lisp/net/tramp-smb.el (tramp-smb-handle-expand-file-name):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-expand-file-name):
      Use it.
    • Mattias Engdegård's avatar
      Don't squash markers in occur-edit-mode · b0d33d42
      Mattias Engdegård authored
      * lisp/replace.el (occur-after-change-function): Instead of replacing
      the whole line being edited, use shrink-wrapping to replace the
      smallest interval encompassing the change.  That way, we avoid
      disturbing markers (such as occur highlighting locations) in the line;
      they would otherwise all be forced to the beginning.
    • Mattias Engdegård's avatar
      Keep track of match extents in occur-mode (bug#39121) · c52e26df
      Mattias Engdegård authored
      Use the `occur-target` text property to keep track of the extents of
      all matches on each line instead of just the start of the first match.
      Doing so allows us to highlight all matches when jumping to a matching
      line instead of just the first one, and it works in a more principled
      way.  It also removes compatibility problems that were introduced with
      For compatibility with code that populate their own occur-mode
      buffers, we still accept `occur-target` properties with a single
      marker as value.
      * lisp/replace.el (occur-highlight-regexp, occur-highlight-overlay):
      (occur-highlight-overlays): New.
      (occur--targets-start): New.
      * lisp/replace.el (occur-after-change-function):
      (occur-mode-find-occurrence): Replace with...
      (occur-mode--find-occurrences): ...this function that returns the
      whole `occur-target` property value.
      (occur-mode-goto-occurrence, occur-mode-goto-occurrence-other-window)
      (occur-goto-locus-delete-o, occur-mode-display-occurrence)
      (occur-engine): Adjust to new property format.
      (occur--highlight-occurrence): Replace with...
      (occur--highlight-occurrences): ...this function that takes
      the `occur-target` property value as argument.
      (occur-1): Don't use `occur-highlight-regexp`.
      * test/lisp/replace-tests.el (occur-highlight-occurrence):
      Adapt to new property format.
    • Arthur Miller's avatar
      Support '--group-directories-first' in ls-lisp.el · d3415724
      Arthur Miller authored
      * lisp/ls-lisp.el (ls-lisp--sanitize-switches): New function.
      (ls-lisp--insert-directory): Support '--group-directories-first'.
      Call 'ls-lisp--sanitize-switches' to convert long options to short
      forms and remove unsupported long options.  Update the doc string.
      Copyright-paperwork-exempt: yes
    • Peter Feigl's avatar
      Add commands to move to next/previous column in tabulated-list-mode · a6afa221
      Peter Feigl authored
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode-map): Add
      keybindings M-left and M-right.
      (tabulated-list-previous-column tabulated-list-next-column): Implement
      commands (bug#44711).
    • Lars Ingebrigtsen's avatar
      Rename directory-append to file-name-concat · f04f8126
      Lars Ingebrigtsen authored
      * src/fileio.c (Ffile_name_concat):
      * lisp/files.el (move-file-to-trash):
      * lisp/emacs-lisp/shortdoc.el (file-name):
      * doc/lispref/files.texi (Directory Names): Rename
      `directory-append' to `file-name-concat'.
    • Lars Ingebrigtsen's avatar
      Allow empty elements in directory-append · aa9cba65
      Lars Ingebrigtsen authored
      * doc/lispref/files.texi (Directory Names): Document it.
      * src/fileio.c (Fdirectory_append): Allow empty elements.
  3. 24 Jul, 2021 19 commits