1. 21 Sep, 2020 1 commit
  2. 20 Sep, 2020 13 commits
    • Lars Ingebrigtsen's avatar
      Fix infloop when folding difficult headers in Message · ec6254e5
      Lars Ingebrigtsen authored
      * lisp/mail/rfc2047.el (rfc2047-fold-field): Return the end point.
      * lisp/gnus/message.el (message--fold-long-headers): Use that to
      reliably achieve progress.
      ec6254e5
    • Lars Ingebrigtsen's avatar
      Allow not selecting messages in Gnus before resending · f4d186b3
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-msg.el (gnus-summary-resend-message): Allow not
      selecting messages.  This is faster when resending huge spam messages.
      f4d186b3
    • Lars Ingebrigtsen's avatar
      Make xterm-mouse-event check whether the click event is valid · 6d9297ab
      Lars Ingebrigtsen authored
      * lisp/xt-mouse.el (xterm-mouse-event): Defensively check against
      a situation that shouldn't happen (but does) (bug#17378).
      6d9297ab
    • Alan Mackenzie's avatar
      C++ Mode: Modernize the fontification of "using" · 6089dec2
      Alan Mackenzie authored
      Since "using" is now used in three distinct ways in C++, write a special
      function to handle these rather than attempting to adapt the old regular
      expressions.
      
      * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Amend to allow the
      argument TYPES to be a face.  This face is given to the declarator being
      processed.
      (c-font-lock-single-decl): Make an argument to c-font-lock-declarators nil or
      t, not merely nil or non-nil.
      (c-complex-decl-matchers): Include c-font-lock-c++-using in the C++ value of
      this variable.
      (c-font-lock-c++-using): New function.
      
      * lisp/progmodes/cc-langs.el (c-using-kwds, c-using-key): New lang
      consts/vars.
      (c-modifier-kwds): Remove "using" from the C++ value.
      6089dec2
    • Lars Ingebrigtsen's avatar
      Restore the previous minimum-width specs in the line/column mode lines · 2007cd3c
      Lars Ingebrigtsen authored
      * lisp/bindings.el (mode-line-position-line-format)
      (mode-line-position-column-format)
      (mode-line-position-column-line-format, mode-line-position):
      Restore the previous min-width specs (bug#28648).
      2007cd3c
    • Michael Albinus's avatar
      Make D-Bus properties type safe · f8624fb8
      Michael Albinus authored
      * doc/misc/dbus.texi (Properties and Annotations):
      Precise dbus-get-property and dbus-set-property.
      (Type Conversion): Explain :byte and :boolean type conversion.
      (Errors and Events): dbus-ignore-errors returns nil when there is
      a D-Bus error.  Remove dbus-show-dbus-errors.
      
      * etc/NEWS: Some D-Bus relevant changes.
      
      * lisp/net/dbus.el (dbus-show-dbus-errors): Remove.
      (dbus-ignore-errors): Replay implamentation without that variable.
      (dbus-check-arguments): New defun.
      (dbus-list-activatable-names, dbus-list-names)
      (dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect)
      (dbus-get-all-properties, dbus-get-all-managed-objects): Don't debug.
      (dbus-get-property, dbus-set-property): Propagate errors.
      (dbus-register-property): Check for valid VALUE.
      (dbus-property-handler): Simplify.
      
      * src/dbusbind.c (Fdbus_message_internal): Adapt docstring.
      Handle DBUS_MESSAGE_TYPE_INVALID.
      
      * test/lisp/net/dbus-tests.el (dbus-show-dbus-errors): Don't declare.
      (dbus-test06-register-property)
      (dbus-test06-register-property-emits-signal): Adapt tests.
      f8624fb8
    • Eli Zaretskii's avatar
      Improve documentation of a recently-added feature · 209dfa11
      Eli Zaretskii authored
      * lisp/isearch.el (search-highlight-submatches): Improve the doc
      string.
      
      * doc/emacs/search.texi (Search Customizations): Improve the
      documentation of 'search-highlight-submatches'.
      
      * etc/NEWS: Minor change of the entry for
      'search-highlight-submatches'.
      209dfa11
    • Juri Linkov's avatar
      Highlight regexp sub-expressions · 09e10985
      Juri Linkov authored
      * doc/emacs/search.texi (Search Customizations): Document it.
      
      * lisp/isearch.el (search-highlight-submatches): New variable.
      (isearch-group-1, isearch-group-2, isearch-group-3)
      (isearch-group-4, isearch-group-5): New faces.
      (isearch-highlight): Use them.
      (isearch-dehighlight): Ditto (bug#6227).
      09e10985
    • Kévin Le Gouguec's avatar
      Tweak dired warning about "wildcard" characters · f8d8d28b
      Kévin Le Gouguec authored
      * lisp/dired-aux.el (dired-isolated-string-re): Use explicitly
      numbered groups.
      (dired--star-or-qmark-p): Add START parameter.  Make sure to
      return the first isolated match.
      (dired--need-confirm-positions, dired--mark-positions)
      (dired--highlight-no-subst-chars, dired--no-subst-explain)
      (dired--no-subst-ask, dired--no-subst-confirm): New functions.
      (dired-do-shell-command): Use them (bug#28969, bug#35564).
      
      * test/lisp/dired-aux-tests.el (dired-test-bug27496): Adapt to
      new prompt.
      (dired-test--check-highlighting): New test helper.
      (dired-test-highlight-metachar): New tests.
      f8d8d28b
    • Lars Ingebrigtsen's avatar
      Fix bug out when indenting inserted images in shr · 163ff19c
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (shr-fill-line): We may not have a
      shr-indentation text property here.  In that case, default to the
      dynamically bound value.
      163ff19c
    • Dmitry Gutov's avatar
      Don't have vc-git-stash-list bug out on the .git directory · 23c20c39
      Dmitry Gutov authored
      * lisp/vc/vc-git.el (vc-git-stash-list): Don't bug out when
      running on the .git directory itself (bug#39285).
      23c20c39
    • Earl's avatar
      Add new tab command `C-x t C-r' · 676398dd
      Earl authored
      * doc/emacs/misc.texi (FFAP): Document new commands (bug#43503).
      
      * lisp/ffap.el (ffap-read-only-other-tab): New command.
      
      * lisp/tab-bar.el (find-file-read-only-other-tab): New command and
      keystroke.
      676398dd
    • Noam Postavsky's avatar
      Fix slow python-mode inserts when there's a lot of strings · a68a0e69
      Noam Postavsky authored
      * lisp/progmodes/python.el (python-info-docstring-p): Doing more
      than two repetitions here doesn't improve indentation (bug#39598).
      a68a0e69
  3. 19 Sep, 2020 12 commits
    • Mauro Aranda's avatar
      New command: revert-buffer-with-fine-grain · 1278a9a9
      Mauro Aranda authored
      * doc/emacs/files.texi (Reverting): Document the new command and the
      new variable.
      
      * etc/NEWS: Mention the new command and the new variable.
      
      * lisp/files.el (revert-buffer-with-fine-grain): New command.  Revert
      a buffer trying to be non-destructive, by using replace-buffer-contents.
      (revert-buffer-insert-file-contents-delicately): New function, alternative
      to revert-buffer-insert-file-contents-function--default-function.
      (revert-buffer-with-fine-grain-max-seconds): New variable.  Passed as
      argument MAX-SECS of replace-buffer-contents.
      
      * test/lisp/files-tests.el (files-tests-lao files-tests-tzu): Helper
      variables, taken from diffutils manual, to test reverting a buffer.
      (files-tests-revert-buffer)
      (files-tests-revert-buffer-with-fine-grain): New tests (bug#18).
      1278a9a9
    • Nick Roberts's avatar
      Make a gud error message more informative · 4d184fb0
      Nick Roberts authored
      * lisp/progmodes/gud.el (gud-jdb-marker-filter): Make the error
      message more informative (bug#1282).
      4d184fb0
    • Peder O. Klingenberg's avatar
      Extend process-lines to allow exit status handling · a2be8178
      Peder O. Klingenberg authored
      * subr.el (process-lines-handling-status): Extension of the old
      process-lines, with more flexible handling of the exit status.
      (process-lines): Old API implemented using the new function.
      (process-lines-ignore-status): Another use of the new function -
      return the output lines regardless of the exit status (bug#1321).
      a2be8178
    • Lars Ingebrigtsen's avatar
      Add a new variable 'gnus-global-groups' · eda48b6f
      Lars Ingebrigtsen authored
      * doc/misc/gnus.texi (HTML): Document it.
      
      * lisp/gnus/gnus-art.el (gnus-global-groups): New variable.
      (gnus-block-private-groups): Use it.
      eda48b6f
    • Daniel Martín's avatar
      Put files in mhtml-mode when they have <!DOCTYPE, case-insensitive · c9f845a5
      Daniel Martín authored
      * lisp/files.el (magic-fallback-mode-alist): Match "DOCTYPE" in a
      case-insensitive way before putting files in mhtml-mode. See
      https://html.spec.whatwg.org/multipage/syntax.html#the-doctype for the
      standard reference.
      * test/lisp/files-tests.el (files-test-magic-mode-alist-doctype): Add
      a test (bug#43511).
      c9f845a5
    • Lars Ingebrigtsen's avatar
      Fix problem with spurious extra paragraphs in shr · 7222e975
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (shr-ensure-paragraph): Don't regard <div
      id=foo></div> (empty placeholders) as occupying any space (bug#43510).
      7222e975
    • Alan Mackenzie's avatar
      Add doc to syntax-propertize-function saying it must do a 100% job · fd1fe1e1
      Alan Mackenzie authored
      and cannot be combined with other ways of applying syntax-table text
      properties.
      
      * lisp/emacs-lisp/syntax.el (syntax-propertize-function): Amend doc string.
      
      * doc/lispref/syntax.texi (Syntax Properties): Amend the description of the
      variable.
      fd1fe1e1
    • Drew Adams's avatar
      Document and extend menu-bar-make-toggle some · 28ba8793
      Drew Adams authored
      2020-09-19  Lars Ingebrigtsen  <larsi@gnus.org>
      
      	* lisp/menu-bar.el (menu-bar-showhide-fringe-menu): Adjust caller.
      	(menu-bar-search-options-menu): Ditto.
      	(menu-bar-options-menu): Ditto.
      	(menu-bar-options-menu): Ditto.
      
      	* lisp/progmodes/gdb-mi.el (menu): Ditto.
      
      	* lisp/emacs-lisp/find-func.el (find-function-regexp): Add
      	menu-bar-make-toggle-command.
      
      	* lisp/menu-bar.el (menu-bar-make-toggle): Compatibility wrapper.
      
      2020-09-19  Drew Adams  <drew.adams@oracle.com>
      
      	* lisp/menu-bar.el (menu-bar-make-toggle-command): Add doc string
      	and allow setting all keywords (bug#17954).
      28ba8793
    • Lennart Borgman's avatar
      Allow reveal mode to not automatically re-hide revealed text · b6594d76
      Lennart Borgman authored
      * lisp/reveal.el (reveal-hide-revealed): New command (bug#7101).
      (reveal-auto-hide): New defcustom.
      (reveal-post-command): Use it.
      b6594d76
    • Lars Ingebrigtsen's avatar
      Allow customizing hooks defined via define-minor-mode · 144bbfc6
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Allow using
      Customize on the hooks (bug#10773).
      144bbfc6
    • Alex Bochannek's avatar
      Fix gnus-summary-catchup-from-here edge case · 50b446a6
      Alex Bochannek authored
      * lisp/gnus/gnus-sum.el (gnus-summary-catchup-from-here): Make the
      command work in the final line in the buffer, too (bug#43496).
      50b446a6
    • Lars Ingebrigtsen's avatar
      Display the language in the Flyspell mode line · b8f44786
      Lars Ingebrigtsen authored
      * lisp/textmodes/flyspell.el (flyspell-mode): Display the language
      in the mode line (bug#14957).
      b8f44786
  4. 18 Sep, 2020 9 commits
  5. 17 Sep, 2020 5 commits