1. 20 Sep, 2020 5 commits
    • 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.
      * test/lisp/net/dbus-tests.el (dbus-show-dbus-errors): Don't declare.
      (dbus-test06-register-property-emits-signal): Adapt tests.
    • Eli Zaretskii's avatar
      Improve documentation of a recently-added feature · 209dfa11
      Eli Zaretskii authored
      * lisp/isearch.el (search-highlight-submatches): Improve the doc
      * doc/emacs/search.texi (Search Customizations): Improve the
      documentation of 'search-highlight-submatches'.
      * etc/NEWS: Minor change of the entry for
    • 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).
    • Eli Zaretskii's avatar
      Mention in PROBLEMS the problems with fonts and Uniscribe · f750def7
      Eli Zaretskii authored
      * etc/PROBLEMS: Mention font-related problems with Uniscribe on
      MS-Windows.  (Bug#39340)
    • 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
  2. 19 Sep, 2020 6 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-with-fine-grain): New tests (bug#18).
    • 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).
    • 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.
    • bug-gnu-emacs@gnu.org's avatar
      Honor make-pointer-invisible on macOS · 091cb97a
      bug-gnu-emacs@gnu.org authored
      * src/nsterm.m ([EmacsView keyDown:]): Call
      [NSCursor setHiddenUntilMouseMoves:] with the correct argument, depending on
      variable make-pointer-invisible.
    • 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.
    • 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).
  3. 18 Sep, 2020 3 commits
    • Mike Hamrick's avatar
      TTY Support for ECMA-48 strike-through graphic rendition · e0e147e1
      Mike Hamrick authored
      * term.c: Support strike-through in capable terminals.
      (no_color_bit): Replace unused NC_INVIS with
      (turn_on_face): Output via TS_enter_strike_through_mode
      if available.
      (turn_off_face): Handle strike-through case.
      (tty_capable_p, init_tty): Support strike-through.
      * termchar.h (struct tty_display_info): Add field for
      * xfaces.c (tty_supports_face_attributes_p, realize_tty_face):
      Handle strike-through case.
      * dispextern.h: Add TTY_CAP_STRIKE_THROUGH definition.
      (struct face): Add field tty_strike_through_p.
    • Eli Zaretskii's avatar
      Update TUTORIAL.he · 38519caa
      Eli Zaretskii authored
      * etc/tutorials/TUTORIAL.he: Adapt to latest changes in the
      English TUTORIAL.
    • Richard Stallman's avatar
      Document easy ways of typing undo key on TTY frames · 7fec0a44
      Richard Stallman authored
      * doc/emacs/basic.texi (Basic Undo): Document the easiest way to
      type the undo key.
      * etc/tutorials/TUTORIAL: Describe typing C-_ without the Shift
  4. 17 Sep, 2020 7 commits
    • Lars Ingebrigtsen's avatar
      Remove mention of C-u M-. from the refcards · 1e301425
      Lars Ingebrigtsen authored
      The "find next tags" command no longer exists, as the machinery has
      been replaced by xref.
    • Harald Jörg's avatar
      cperl-mode: Add new value "PBP" for 'cperl-set-style' · f7e68759
      Harald Jörg authored
      * lisp/progmodes/cperl-mode.el (cperl-style-alist)
      (cperl-set-style): Add indentation style recommended by Damian Conway's
      book "Perl Best Practices".
      * test/lisp/progmodes/cperl-mode-tests.el
      (cperl-mode-test-indent-styles): Add a test to verify indentation
      and unraveling of conditionals (bug#43457).
    • Eli Zaretskii's avatar
      Fix documentation of a recent change · fa0859fd
      Eli Zaretskii authored
      * src/keyboard.c (update_recent_keys): Fix commentary.
      (Flossage_size): Fix doc string.
      * etc/NEWS: Move and fix wording of the recently added entry.
    • Masahiro Nakamura's avatar
      etc/refcards/refcard.tex: Fix some grouping regexps · 8af0fe24
      Masahiro Nakamura authored
      * etc/refcards/refcard.tex (section{Regular Expressions}): Fix the
      shy/numbered grouping examples (bug#43429).
    • Alex Bochannek's avatar
      Allow user-defined scoring in Gnus · 12aea1fa
      Alex Bochannek authored
      * lisp/gnus/gnus-score.el (gnus-score-func): New function (bug#43413).
      * doc/misc/gnus.texi (Score File Format): Document it.
    • Tino Calancha's avatar
      Give Lisp control on the lossage size · 23a3333b
      Tino Calancha authored
      Add a command 'lossage-size' to set the maximum
      number or recorded keystrokes (Bug#38796).
      * src/keyboard.c (lossage_limit):
      Static variable with the current lossage size limit.
      Set it as 100 and use it as the minimum value for lossage_limit.
      Keep the same default for the vector size as before (300).
      (lossage-size): New command.
      (update_recent_keys): Helper function.
      (syms_of_keyboard): Use lossage_limit as the vector size.
      * lisp/help.el (view-lossage): Mention the new command in the docstring.
      * etc/NEWS (Changes in Emacs 28.1): Announce this change.
      * doc/emacs/help.texi (Misc Help): Update manual.
      * test/src/keyboard-tests.el (keyboard-lossage-size): Add test.
    • Lars Ingebrigtsen's avatar
      Fix up previous change for column/line spec mechanism in the mode line · cd151d06
      Lars Ingebrigtsen authored
      * lisp/bindings.el (column-number-indicator-zero-based): Make
      obsolete (bug#28648).
      (mode-line-position-column-line-format): New variable.
      (mode-line-position--column-line-properties): New const.
      (mode-line-position): Use it.
  5. 16 Sep, 2020 1 commit
    • Michael Albinus's avatar
      D-Bus: keep type information in D-Bus events · 92f342f3
      Michael Albinus authored
      * doc/misc/dbus.texi (Errors and Events):
      * etc/NEWS: D-Bus events keep the type information of their arguments.
      * lisp/net/dbus.el (dbus-check-event): Fix docstring.
      (dbus-delete-types, dbus-flatten-types): New defuns.
      (dbus-handle-event, dbus-register-property, dbus-property-handler):
      Handle type information.
      (dbus-set-property): Fix thinko.
      * src/dbusbind.c (XD_BASIC_DBUS_TYPE): Simplify.
      (xd_dbus_type_to_symbol): New function.
      (xd_retrieve_arg): Return type information for the arguments.
      (xd_read_message_1):  Return type information for the error name.
      (dbus-registered-objects-table): Fix docstring.
  6. 15 Sep, 2020 4 commits
  7. 14 Sep, 2020 1 commit
  8. 13 Sep, 2020 4 commits
    • Philipp Stephani's avatar
      Add facility to make module functions interactive (Bug#23486). · da0e75e7
      Philipp Stephani authored
      * src/module-env-28.h: Add field for 'make_interactive' function.
      * src/emacs-module.c (Lisp_Module_Function): Add new field holding the
      interactive form.
      (allocate_module_function): Adapt to structure layout change.
      (module_make_interactive, module_function_interactive_form): New
      (initialize_environment): Use them.
      * src/eval.c (Fcommandp):
      * src/data.c (Finteractive_form): Also handle interactive module
      * test/data/emacs-module/mod-test.c (Fmod_test_identity): New test
      (emacs_module_init): Create two interactive module test functions.
      * test/src/emacs-module-tests.el (module/interactive/return-t)
      (module/interactive/return-t-int, module/interactive/identity):
      New unit tests.
      * doc/lispref/internals.texi (Module Functions): Document new
      function.  Rework paragraph about wrapping module functions, as the
      example no longer applies.
      * etc/NEWS: Document new facility.
    • Stefan Kangas's avatar
      Improve frame-title-format and icon-title-format · 817dd546
      Stefan Kangas authored
      * src/xdisp.c (syms_of_xdisp): Replace 'invocation-name' with the text
      "%b - GNU Emacs" and replace "@" with " at ".  (Bug#41147)
      * etc/NEWS: Announce the above change.
    • Eli Zaretskii's avatar
      ; * etc/NEWS: Document a recent change. · 76281700
      Eli Zaretskii authored
    • Lars Ingebrigtsen's avatar
      Make `ascii' a coding system alias for `us-ascii' · e1e93da9
      Lars Ingebrigtsen authored
      * lisp/international/mule-conf.el (ascii): Define `ascii' as a
      coding system alias to `us-ascii' (bug#43351).
  9. 12 Sep, 2020 3 commits
    • Lars Ingebrigtsen's avatar
      Add a way to use an external command to download HTML in eww · 31be4d7c
      Lars Ingebrigtsen authored
      * doc/misc/eww.texi (Advanced): Document it.
      * lisp/net/eww.el (eww-retrieve): New function.
      (eww-reload): Use it.
      (eww): Ditto.
      (eww-retrieve-command): New variable.
    • Glenn Morris's avatar
      Default Emacs to UTF-8 instead of Latin-1 · a4bfb0bc
      Glenn Morris authored
      * doc/emacs/mule.texi (File Name Coding): Document it.
      * lisp/international/mule-cmds.el (reset-language-environment):
      Default to utf-8 instead of latin-1.
      * lisp/mail/sendmail.el (default-sendmail-coding-system): Ditto.
      * lisp/mh-e/mh-comp.el (mh-send-letter): Ditto.
    • Stefan Kangas's avatar
      Move dired-jump from dired-x to dired (Bug#21981) · 7d30ca7f
      Stefan Kangas authored
      * lisp/dired-x.el (dired-bind-jump): Change into defvar and make
      (dired-extra-startup): Doc fix.
      (dired-jump, dired-jump-other-window): Move from here...
      * lisp/dired.el (dired-jump, dired-jump-other-window): ...to here.
      * lisp/bindings.el (ctl-x-map, ctl-x-4-map): Bind 'C-j' to
      'dired-jump' and 'dired-jump-other-window'.
      * doc/misc/dired-x.texi (Features, Installation)
      (Miscellaneous Commands): Remove documentation of 'dired-jump'.
      * doc/emacs/dired.texi (Dired Enter): Document 'dired-jump' and
      * etc/NEWS: Announce the above changes.
      * test/lisp/dired-tests.el (dired-autoload): Adjust test.
  10. 11 Sep, 2020 2 commits
    • Stefan Kangas's avatar
      Remove cedet items obsolete since 23.2 · 91a221b2
      Stefan Kangas authored
      * lisp/cedet/semantic.el (semantic-toplevel-bovine-table)
      (semantic-after-toplevel-bovinate-hook, semantic-init-hooks)
      (semantic-init-mode-hooks, semantic-init-db-hooks)
      (semantic-bovination-working-type, semantic-bovinate-toplevel)
      * lisp/cedet/semantic/db-mode.el (semanticdb-mode-hooks):
      * lisp/cedet/semantic/decorate/mode.el
      * lisp/cedet/semantic/edit.el
      * lisp/cedet/semantic/fw.el (define-mode-overload-implementation):
      * lisp/cedet/semantic/idle.el
      * lisp/cedet/semantic/imenu.el (semantic-imenu-expand-type-parts)
      * lisp/cedet/semantic/java.el
      * lisp/cedet/semantic/lex.el (semantic-flex-token-start)
      (semantic-flex-token-end, semantic-flex-token-text)
      (semantic-flex-make-keyword-table, semantic-flex-keyword-p)
      (semantic-flex-keyword-put, semantic-flex-keyword-get)
      (semantic-flex-map-keywords, semantic-flex-keywords)
      (semantic-flex-buffer, semantic-flex-list, semantic-flex):
      * lisp/cedet/semantic/tag-file.el (semantic-find-nonterminal)
      * lisp/cedet/semantic/tag-ls.el (semantic-nonterminal-full-name)
      (semantic-nonterminal-protection, semantic-nonterminal-abstract)
      * lisp/cedet/semantic/tag.el (semantic-token-type-parent)
      (semantic-tag-make-assoc-list, semantic-expand-nonterminal):
      * lisp/cedet/semantic/util.el (semantic-file-token-stream)
      * lisp/cedet/semantic/wisent.el (wisent-lex-make-token-table):
      Delete many items obsolete since Emacs 23.2.
      * lisp/cedet/semantic.el (semantic--set-buffer-cache)
      (semantic-fetch-tags): Don't run removed hooks
      'semantic-after-toplevel-bovinate-hook' and
      * lisp/cedet/semantic/bovine/el.el: Remove reference to obsolete
      variable 'define-mode-overload-implementation'.
      * lisp/cedet/semantic/doc.el (semantic-doc-snarf-comment-for-tag):
      Don't bind removed variable 'semantic-ignore-comments'.
      * lisp/cedet/semantic/fw.el (semantic-overload-symbol-from-function)
      (semantic-alias-obsolete, semantic-varalias-obsolete): Declare
      obsolete in favor of standard Emacs 'define-obsolete-*-alias'.
      * lisp/cedet/semantic/grammar.el (semantic-grammar-ASSOC): Don't
      use obsolete names.
      * lisp/cedet/semantic/tag-ls.el (semantic-tag-full-package)
      (semantic-tag-full-name): Doc fixes.
      * lisp/cedet/semantic/util.el (semantic-describe-buffer): Don't bind
      removed variable 'semantic-after-toplevel-bovinate-hook'.
      * lisp/cedet/semantic/lex.el (semantic-flex-tokens)
      (semantic-flex-extensions, semantic-flex-syntax-modifications)
      (semantic-ignore-comments, semantic-flex-enable-newlines)
      (semantic-flex-enable-whitespace, semantic-flex-enable-bol)
      (semantic-number-expression, semantic-flex-depth): Make unused
      variables obsolete.
      ; * etc/NEWS: List removed items.
    • Michael Albinus's avatar
      D-Bus: Implement other compound types of properties · dbd8994e
      Michael Albinus authored
      * doc/misc/dbus.texi (Errors and Events):
      * etc/NEWS: Mention dbus-show-dbus-errors.
      * lisp/net/dbus.el (dbus-compound-types): New defconst.
      (dbus): New defgroup.
      (dbus-show-dbus-errors): New defcustom.
      (dbus-ignore-errors): Use it.
      (dbus-set-property): Simplify.
      (dbus-property-handler): Implement other compound types of properties.
      * test/lisp/net/dbus-tests.el (dbus--test-register-service)
      (dbus-test05-register-property): Extend tests.
  11. 10 Sep, 2020 1 commit
  12. 09 Sep, 2020 3 commits