1. 31 Jul, 2021 3 commits
  2. 30 Jul, 2021 4 commits
  3. 28 Jul, 2021 1 commit
  4. 27 Jul, 2021 1 commit
  5. 25 Jul, 2021 3 commits
  6. 24 Jul, 2021 3 commits
    • Yuan Fu's avatar
      Add filter to GDB's register buffer · 7c83e605
      Yuan Fu authored
      * lisp/progmodes/gdb-mi.el (gdb-registers-enable-filter)
      (gdb-registers-filter-pattern-list): New custom options.
      (gdb-header-click-event-handler, gdb-registers-toggle-filter): New
      functions.
      (gdb-header-click-event-handler): Only add a register if it passes the
      filter.
      (gdb-registers-mode-map): New keybinding for toggling the filter.
      (gdb-registers-header): New buttons on the header line for the
      filter (bug#39179).
      7c83e605
    • Lars Ingebrigtsen's avatar
      Remove duplicated NEWS entries · d8a4a5ac
      Lars Ingebrigtsen authored
      d8a4a5ac
    • Lars Ingebrigtsen's avatar
      Add new function `directory-append' · 5431a58e
      Lars Ingebrigtsen authored
      * doc/lispref/files.texi (Directory Names): Document it, and
      remove the concat-based file concatenation description.
      * lisp/emacs-lisp/shortdoc.el (file-name): Add.  And add more
      expand-file-name examples.
      
      * src/fileio.c (Fdirectory_append): New function.
      5431a58e
  7. 23 Jul, 2021 7 commits
    • Eli Zaretskii's avatar
      59eaa30c
    • Eli Zaretskii's avatar
      Improve recently added documentation · 11632177
      Eli Zaretskii authored
      * etc/NEWS: Improve wording of a recently added entry.
      
      * doc/misc/smtpmail.texi (Queued delivery): Fix typo.
      11632177
    • Lars Ingebrigtsen's avatar
      Allow storing SMTP variables when queueing mail · 1f245197
      Lars Ingebrigtsen authored
      * doc/misc/smtpmail.texi (Queued delivery): Document it (bug#49709).
      
      * lisp/gnus/message.el (message-multi-smtp-send-mail): Store
      variables.
      
      * lisp/mail/smtpmail.el (smtpmail-queue-mail): Mention it.
      (smtpmail-store-queue-variables): New variable.
      (smtpmail-send-it): Store SMTP variables if requested.
      (smtpmail-send-queued-mail): Restore variables.
      1f245197
    • Tom Tromey's avatar
      Add auto-mode-alist functionality to .dir-locals.el · ad5faa42
      Tom Tromey authored
      * doc/emacs/custom.texi (Directory Variables): Document
      auto-mode-alist in .dir-locals.el (Bug#18721)
      * doc/emacs/modes.texi (Choosing Modes): Update.
      * lisp/files.el (set-auto-mode--apply-alist): New function,
      from set-auto-mode.
      (set-auto-mode): Check directory locals for auto-mode-alist.
      (dir-locals-collect-variables): Add "predicate" parameter.
      (hack-dir-local--get-variables): New function, from
      hack-dir-local-variables.
      (hack-dir-local-variables): Call hack-dir-local--get-variables.
      * test/lisp/files-resources/.dir-locals.el: New file.
      * test/lisp/files-resources/whatever.quux: New file.
      * test/lisp/files-tests.el (files-tests-data-dir): New variable.
      (files-test-dir-locals-auto-mode-alist): New test.
      ad5faa42
    • Stefan Kangas's avatar
      Make nil value of fill-column obsolete · 99018681
      Stefan Kangas authored
      * lisp/textmodes/fill.el (current-fill-column): Make nil value of
      'fill-column' obsolete.  (Bug#22847)
      (current-fill-column--has-warned): New variable to track warning.
      * lisp/simple.el (do-auto-fill): Remove handling of nil return value
      from 'current-fill-column'.
      * etc/NEWS: Announce obsoletion of this usage.
      99018681
    • Lars Ingebrigtsen's avatar
      9dfa94ae
    • Lars Ingebrigtsen's avatar
      'global-mode-string' elements should have a space at the end · bb68faed
      Lars Ingebrigtsen authored
      * lisp/time.el (display-time-string-forms):
      * lisp/battery.el (battery-mode-line-format): Add a space to the
      end (bug#30056).
      * lisp/bindings.el (mode-line-misc-info): Remove space from end.
      This will make the default format have one space before the
      line-of-dashes (instead of two) on terminals.
      bb68faed
  8. 22 Jul, 2021 2 commits
  9. 21 Jul, 2021 1 commit
    • Lars Ingebrigtsen's avatar
      Add json-available-p · e4f323a8
      Lars Ingebrigtsen authored
      * doc/lispref/text.texi (Parsing JSON): Document it.
      * lisp/subr.el (json-available-p): New function (bug#49660).
      e4f323a8
  10. 20 Jul, 2021 5 commits
    • Eli Zaretskii's avatar
    • jakanakaevangeli's avatar
      Make `kill-all-local-variables' also remove lambda from hooks · b4fabb31
      jakanakaevangeli authored
      * src/buffer.c (reset_buffer_local_variables): Also remove
      non-symbol elements from hook variables (bug#46407).
      b4fabb31
    • Miha Rihtaršič's avatar
      Quit minibuffers without aborting kmacros · 7edbcb36
      Miha Rihtaršič authored
      * doc/lispref/commands.texi (Quitting): Document `minibuffer-quit'
      (Recursive Editing): Document throwing of function values to `exit'.
      
      * doc/lispref/errors.texi (Standard Errors): Document
      `minibuffer-quit'
      
      * lisp/minibuffer.el (minibuffer-quit-recursive-edit): New function.
      
      * lisp/simple.el (minibuffer-error-function): Do not abort keyboard
      macro execution if is minibuffer-quit is signaled (bug#48603).
      * src/data.c (syms_of_data): New error symbol `minibuffer-quit'
      
      * src/keyboard.c (recursive_edit_1): Implement throwing of function
      values to `exit`.  In that case, the function will be called without
      arguments before returning from the command loop.
      (cmd_error):
      (Fcommand_error_default_function): Do not abort keyboard macro
      execution if minibuffer-quit is signaled.
      (command_loop_2): New argument HANDLERS.
      
      * src/macros.c (Fexecute_kbd_macro): Use command_loop_2 instead of
      command_loop_1.
      
      * src/minibuf.c (Fabort_minibuffers): Use it.
      7edbcb36
    • Earl Hyatt's avatar
      Add commands 'kill-matching-lines' and 'copy-matching-lines' · 3dd87631
      Earl Hyatt authored
      * doc/emacs/search.texi: Document these additions.
      * lisp/replace.el:
      Add the commands 'kill-matching-lines' and 'copy-matching-lines'.
      
      'kill-matching-lines' is like 'flush-lines', but adds the lines to the
      kill ring as a single string, keeping line endings.
      'copy-matching-lines' is like 'kill-matching-lines', but only copies
      those lines instead of killing them.
      3dd87631
    • Lars Ingebrigtsen's avatar
      Put command line file names and mouse dragging onto 'file-name-history' · e02576c7
      Lars Ingebrigtsen authored
      * lisp/dnd.el (dnd-open-local-file): Add file to history.
      * lisp/files.el (file-name-history--add): New function (bug#12915).
      
      * lisp/startup.el (command-line-1): Add file to history.
      e02576c7
  11. 19 Jul, 2021 4 commits
  12. 18 Jul, 2021 4 commits
  13. 17 Jul, 2021 1 commit
  14. 16 Jul, 2021 1 commit
    • Michael Albinus's avatar
      Add lock-file-mode · 553ad9c9
      Michael Albinus authored
      * doc/emacs/files.texi (Interlocking):
      * doc/lispref/files.texi (File Locks):
      * etc/NEWS: Add lock-file-mode.
      
      * lisp/files.el (lock-file-name-transforms)
      (remote-file-name-inhibit-locks): Move down.
      (lock-file-mode): New minor mode.
      553ad9c9