1. 13 Jun, 2021 2 commits
  2. 11 Jun, 2021 2 commits
  3. 10 Jun, 2021 1 commit
    • Martin Rudalics's avatar
      Provide new option `delete-window-set-selected' (Bug#47300) · b3dd0ce7
      Martin Rudalics authored
      When `delete-window' deletes its frame's selected window, this new
      option allows to choose another window as replacement.
      
      * lisp/window.el (get-lru-window, get-mru-window)
      (get-largest-window): New optional argument NO-OTHER.
      (window-at-pos): New function.
      (delete-window-set-selected): New option.
      (delete-window): Handle `delete-window-set-selected'.
      * src/window.c (Fdelete_window_internal): Set the selected
      window of WINDOW's frame to the first window on that frame and
      let `delete-window' choose a more suitable window instead.
      * doc/lispref/windows.texi (Deleting Windows): Describe new
      option `delete-window-set-selected'.
      (Cyclic Window Ordering): Describe new NO-OTHER argument for
      `get-lru-window', `get-mru-window' and `get-largest-window'.
      * etc/NEWS: Mention `delete-window-set-selected' and the NO-OTHER
      argument.
      b3dd0ce7
  4. 09 Jun, 2021 1 commit
  5. 08 Jun, 2021 2 commits
    • Utkarsh Singh's avatar
      New user option for Git log switches · 4a1e97be
      Utkarsh Singh authored
      * lisp/vc/vc-git.el (vc-git-diff-switches): New defcustom.
      (vc-git-print-log): Use it.
      
      * etc/NEWS: Announce the new option.
      
      Copyright-paperwork-exempt: yes
      4a1e97be
    • Alex Bochannek's avatar
      Change the Gnus default to use `#' to toggle the process mark · 4888addd
      Alex Bochannek authored
      * doc/misc/gnus.texi (Marking Groups, Topic Commands):
      (Setting Process Marks, Pick and Read): Document the new default.
      * lisp/gnus/gnus-group.el (gnus-group-make-menu-bar): Update menu.
      
      * lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Update menu.
      
      * lisp/gnus/gnus-topic.el (gnus-topic-make-menu-bar): Update menu.
      
      * lisp/gnus/gnus.el (gnus-process-mark-toggle): Change default.
      4888addd
  6. 07 Jun, 2021 4 commits
  7. 06 Jun, 2021 3 commits
    • Eli Zaretskii's avatar
      Minor fixes for last change · 6ef5760b
      Eli Zaretskii authored
      * test/manual/etags/ETAGS.good_1:
      * test/manual/etags/ETAGS.good_2:
      * test/manual/etags/ETAGS.good_3:
      * test/manual/etags/ETAGS.good_4:
      * test/manual/etags/ETAGS.good_5:
      * test/manual/etags/ETAGS.good_6: Adapt to added Mercury support.
      
      * lib-src/etags.c (find_entries, test_objc_is_mercury):
      * etc/NEWS: Fix punctuation and typos in last change.
      6ef5760b
    • Fabrice Nicol's avatar
      Add support for Mercury (https://mercurylang.org) in 'etags' · 5a8a5a99
      Fabrice Nicol authored
      Tag declarations starting lines with ':-'.
      By default, all declarations are tagged.  Optionally, first
      predicate or functions in clauses can be tagged as in Prolog
      support using '--declarations'.  (Bug#47408).
      * lib-src/etags.c (test_objc_is_mercury, Mercury_functions)
      (mercury_skip_comment,  mercury_decl, mercury_pr):
      Implement Mercury support.  As Mercury and Objective-C have
      the same file extension .m, a heuristic test tries to detect
      the language.
      
      * doc/man/etags.1: Document the change.  Add Mercury-specific
       behavior for '--declarations'.  This option tags first
      predicates or functions in clauses in addition to declarations.
      5a8a5a99
    • Paul W. Rankin's avatar
      src/nsterm.m: fix window tabbing on macOS · 2207f9ad
      Paul W. Rankin authored
      * src/nsterm.m: remove NSWindowTabbingModeDisallowed to respect
        system-wide preferences
      * etc/NEWS: add mention of native tab support in macOS and where
        to specify system-wide setting
      2207f9ad
  8. 05 Jun, 2021 2 commits
  9. 04 Jun, 2021 3 commits
    • Eli Zaretskii's avatar
      Fix documentation of a recent change. · 4c362b4e
      Eli Zaretskii authored
      * etc/NEWS:
      * doc/emacs/misc.texi (Invoking emacsclient): Fix a recent change.
      (Bug#11358)
      4c362b4e
    • Harald Hanche-Olsen's avatar
      Add a new `server-edit-abort' command · 9136c064
      Harald Hanche-Olsen authored
      * doc/emacs/misc.texi (Invoking emacsclient): Document it (bug#11358).
      
      * lisp/server.el (server-edit): Mention it in the doc string.
      (server-edit-abort): New command.
      
      Copyright-paperwork-exempt: yes
      9136c064
    • Eli Zaretskii's avatar
      Fix documentation of recent 'windmove' changes · b5168872
      Eli Zaretskii authored
      * lisp/windmove.el (windmove-default-keybindings)
      (windmove-display-default-keybindings)
      (windmove-delete-default-keybindings)
      (windmove-swap-states-default-keybindings): Improve doc strings.
      (Bug#41438)
      
      * etc/NEWS: Fix a typo in the 'windmove' entry.
      b5168872
  10. 03 Jun, 2021 1 commit
  11. 02 Jun, 2021 1 commit
    • Alex Bochannek's avatar
      Add new user option to Gnus to allow `#' to toggle · 16793dc3
      Alex Bochannek authored
      * doc/misc/gnus.texi (Marking Groups, Setting Process Marks):
      Mention the new variable.
      
      * lisp/gnus/gnus-group.el (gnus-group-make-menu-bar): Update menu.
      (gnus-group-mark-group): Support the variable.
      (gnus-group-mark-update): New command.
      (gnus-group-unmark-group, gnus-group-mark-region): Pass in new
      parameter.
      
      * lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Update menu.
      (gnus-summary-mark-as-processable): Use the variable.
      
      * lisp/gnus/gnus-topic.el (gnus-topic-mark-topic):  (bug#48683).
      
      * lisp/gnus/gnus-topic.el (gnus-topic-mark-topic): Use the variable.
      
      * lisp/gnus/gnus.el (gnus-process-mark-toggle): New user option.
      16793dc3
  12. 01 Jun, 2021 4 commits
    • Basil L. Contovounesios's avatar
      4784b6eb
    • João Távora's avatar
      Improve icomplete-vertical-mode and fido-vertical-mode · 05ab6e53
      João Távora authored
      This mode is intended to be used with Icomplete ('M-x icomplete-mode')
      or Fido ('M-x fido-mode'), to display the list of completions
      candidates vertically instead of horizontally.  When used with
      Icomplete, completions are rotated and selection kept at the top.
      When used with Fido, completions scroll like a typical dropdown
      widget.
      
      If the dropdown behaviour is desired for Icomplete (instead of
      rotation), icomplete-scroll can be adjusted separately by the user.
      
      * etc/NEWS (icomplete-vertical-mode): Reword.
      
      * lisp/icomplete.el (simple): Require it.
      (icomplete-selected-match): New face.
      (icomplete-scroll): New user-visible var.
      (icomplete-forward-completions): Rework.
      (icomplete-backward-completions): Rework.
      (icomplete--fido-mode-setup): Prefer icomplete-scroll according to
      icomplete-vertical mode.
      (icomplete-minibuffer-setup): Initialize icomplete--scrolled-completions.
      (fido-vertical-mode): An alias for icomplete-vertical-mode.
      (icomplete-exhibit): Init icomplete--scrolled-past.  Adjust overlay.
      (icomplete--render-vertical): New helper.
      (icomplete--sorted-completions): If cache is stale, also
      invalidate icomplete--scrolled-past.
      (icomplete-completions): Rework.  Mostly reformat.
      
      * lisp/simple.el (max-mini-window-lines): New helper.
      (display-message-or-buffer): Use it.
      05ab6e53
    • Lars Ingebrigtsen's avatar
      Allow packages to change the hl-line overlay priority · 062f5aa6
      Lars Ingebrigtsen authored
      * lisp/hl-line.el (hl-line-overlay-priority): New variable
      (bug#11509).
      (hl-line-make-overlay): Use it.
      062f5aa6
    • Lars Ingebrigtsen's avatar
      Add a new command `mailcap-view-file' · 85e17196
      Lars Ingebrigtsen authored
      * doc/misc/emacs-mime.texi (mailcap): Document it (bug#12972).
      
      * lisp/net/mailcap.el (mailcap-view-file): New command.
      85e17196
  13. 31 May, 2021 1 commit
  14. 29 May, 2021 3 commits
  15. 27 May, 2021 1 commit
  16. 25 May, 2021 4 commits
    • Eli Zaretskii's avatar
      Fix documentation of a recent change · dd79a505
      Eli Zaretskii authored
      * src/process.c (syms_of_process) <process-prioritize-lower-fds>:
      Doc fix.
      
      * etc/NEWS: Reword the entry for 'process-prioritize-lower-fds'.
      dd79a505
    • Miha Rihtaršič's avatar
      Try to not prioritise reading from lower file descriptors · 0c7a7433
      Miha Rihtaršič authored
      * src/process.c (wait_reading_process_output): When looping through
      fds, continue from where we left off.
      (syms_of_process): Vprocess_prioritize_lower_fds: New variable
      (bug#48118).
      0c7a7433
    • Gregory Heytings's avatar
      Further improvements to completion-list-mode-map · ce2de3b5
      Gregory Heytings authored
      * doc/emacs/mini.texi (Completion Commands): Mention the change,
      and mention the 'n' and 'p' keys bound to 'next-completion' and
      'previous-completion'. (bug#47699).
      * lisp/minibuffer.el (minibuffer-local-completion-map): Change the
      M-g key to M-g M-c.
      
      * lisp/simple.el (completion-list-mode-map): Change the M-g key to
      M-g M-c.
      (read-expression-map): Bind M-g M-c to
      read-expression-switch-to-completions.
      (read-expression-switch-to-completions): New function.
      ce2de3b5
    • Gregory Heytings's avatar
      Improve completion-list-mode-map · de9a1125
      Gregory Heytings authored
      * doc/emacs/mini.texi (Completion Commands): Mention it.
      
      * lisp/minibuffer.el (minibuffer-local-completion-map): Add the M-g key
      for switch-to-completion (bug#47699).
      
      * lisp/simple.el (completion-list-mode-map): Make special-mode-map its
      parent, unbind the 'g' revert key, add the 'n' and 'p' keys for
      next-completion and previous-completion, and the M-g key for
      switch-to-minibuffer.
      (switch-to-minibuffer): New function.
      de9a1125
  17. 21 May, 2021 2 commits
  18. 20 May, 2021 2 commits
  19. 19 May, 2021 1 commit