summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Support shellcheck in compilation-modeStefan Kangas2020-09-222-0/+11
| | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add shellcheck regexp. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): (compile-test-error-regexps): Add test for shellcheck. * etc/compilation.txt: Add shellcheck example. * etc/NEWS: Announce the change. foo
* Add more isearch submatch facesLars Ingebrigtsen2020-09-211-2/+1
| | | | | | | | * doc/emacs/search.texi (Search Customizations): Adjust documentation. * lisp/isearch.el (search-highlight-submatches): Be a boolean. (isearch-group-{6-9}): New faces. (isearch-highlight): Use the variable as a boolean.
* Allow disabling the verbose eldoc truncation messageLars Ingebrigtsen2020-09-211-1/+9
| | | | | | | | * doc/emacs/programs.texi (Lisp Doc): Document it. * lisp/emacs-lisp/eldoc.el (eldoc-display-truncation-message): New variable (bug#43543). (eldoc--handle-docs): Use it.
* Merge from origin/emacs-27Glenn Morris2020-09-201-0/+13
|\ | | | | | | | | | | | | 02a31c9632 (origin/emacs-27) Minor improvement in the ELisp manual's ... f750def778 Mention in PROBLEMS the problems with fonts and Uniscribe 082d8a21b1 Minor copyedits in 'line-height' documentation 5b23393bcc ; * src/frame.c (syms_of_frame) <make-pointer-invisible>: ...
| * Mention in PROBLEMS the problems with fonts and UniscribeEli Zaretskii2020-09-201-0/+13
| | | | | | | | | | * etc/PROBLEMS: Mention font-related problems with Uniscribe on MS-Windows. (Bug#39340)
* | Merge from origin/emacs-27Glenn Morris2020-09-201-1/+1
|\ \ | |/ | | | | | | | | | | | | 694acda5f2 Fix compilation on TERMINFO platforms with GCC 10 f3373901e5 Fix the font-lock-debug-fontify NEWS entry # Conflicts: # etc/NEWS
| * Fix the font-lock-debug-fontify NEWS entryLars Ingebrigtsen2020-09-101-1/+1
| | | | | | | | * etc/NEWS: Fix the name of `font-lock-debug-fontify' (bug#43319).
* | Make D-Bus properties type safeMichael Albinus2020-09-201-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Improve documentation of a recently-added featureEli Zaretskii2020-09-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | * 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'.
* | Highlight regexp sub-expressionsJuri Linkov2020-09-201-0/+6
| | | | | | | | | | | | | | | | | | | | * 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).
* | Add new tab command `C-x t C-r'Earl2020-09-201-0/+3
| | | | | | | | | | | | | | | | | | * 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.
* | New command: revert-buffer-with-fine-grainMauro Aranda2020-09-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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).
* | Extend process-lines to allow exit status handlingPeder O. Klingenberg2020-09-201-0/+6
| | | | | | | | | | | | | | | | * 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).
* | Add a new variable 'gnus-global-groups'Lars Ingebrigtsen2020-09-191-0/+8
| | | | | | | | | | | | | | * doc/misc/gnus.texi (HTML): Document it. * lisp/gnus/gnus-art.el (gnus-global-groups): New variable. (gnus-block-private-groups): Use it.
* | Honor make-pointer-invisible on macOSbug-gnu-emacs@gnu.org2020-09-191-0/+3
| | | | | | | | | | | | * src/nsterm.m ([EmacsView keyDown:]): Call [NSCursor setHiddenUntilMouseMoves:] with the correct argument, depending on variable make-pointer-invisible.
* | Allow reveal mode to not automatically re-hide revealed textLennart Borgman2020-09-191-0/+6
| | | | | | | | | | | | * lisp/reveal.el (reveal-hide-revealed): New command (bug#7101). (reveal-auto-hide): New defcustom. (reveal-post-command): Use it.
* | Display the language in the Flyspell mode lineLars Ingebrigtsen2020-09-191-0/+4
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-mode): Display the language in the mode line (bug#14957).
* | TTY Support for ECMA-48 strike-through graphic renditionMike Hamrick2020-09-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * term.c: Support strike-through in capable terminals. (no_color_bit): Replace unused NC_INVIS with NC_STRIKE_THROUGH. (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 strike-through. * 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.
* | Update TUTORIAL.heEli Zaretskii2020-09-181-2/+3
| | | | | | | | | | * etc/tutorials/TUTORIAL.he: Adapt to latest changes in the English TUTORIAL.
* | Document easy ways of typing undo key on TTY framesRichard Stallman2020-09-181-0/+1
| | | | | | | | | | | | | | | | * doc/emacs/basic.texi (Basic Undo): Document the easiest way to type the undo key. * etc/tutorials/TUTORIAL: Describe typing C-_ without the Shift key.
* | Remove mention of C-u M-. from the refcardsLars Ingebrigtsen2020-09-1812-13/+0
| | | | | | | | | | The "find next tags" command no longer exists, as the machinery has been replaced by xref.
* | cperl-mode: Add new value "PBP" for 'cperl-set-style'Harald Jörg2020-09-171-0/+8
| | | | | | | | | | | | | | | | | | | | * 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).
* | Fix documentation of a recent changeEli Zaretskii2020-09-171-4/+5
| | | | | | | | | | | | | | * src/keyboard.c (update_recent_keys): Fix commentary. (Flossage_size): Fix doc string. * etc/NEWS: Move and fix wording of the recently added entry.
* | etc/refcards/refcard.tex: Fix some grouping regexpsMasahiro Nakamura2020-09-171-2/+2
| | | | | | | | | | * etc/refcards/refcard.tex (section{Regular Expressions}): Fix the shy/numbered grouping examples (bug#43429).
* | Allow user-defined scoring in GnusAlex Bochannek2020-09-171-0/+5
| | | | | | | | | | * lisp/gnus/gnus-score.el (gnus-score-func): New function (bug#43413). * doc/misc/gnus.texi (Score File Format): Document it.
* | Give Lisp control on the lossage sizeTino Calancha2020-09-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (MIN_NUM_RECENT_KEYS): Renamed from NUM_RECENT_KEYS. 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. (command_loop_1) (record_char) (recent-keys) (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.
* | Fix up previous change for column/line spec mechanism in the mode lineLars Ingebrigtsen2020-09-171-4/+4
| | | | | | | | | | | | | | | | * 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.
* | D-Bus: keep type information in D-Bus eventsMichael Albinus2020-09-161-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | ; * etc/NEWS: Fix wording of a recently added entry.Eli Zaretskii2020-09-151-2/+2
| |
* | Allow controlling the look of the line/column indicatorsLars Ingebrigtsen2020-09-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Mode Line Variables): Document them. * lisp/bindings.el (mode-line-position-line-format): New variable (bug#28648). (mode-line-position-column-format): Ditto. (mode-line-position): Use them. * lisp/simple.el (column-number-mode): Mention them. (line-number-mode): Ditto.
* | Add new, simple `replace-in-string' functionLars Ingebrigtsen2020-09-151-0/+6
| | | | | | | | | | | | * lisp/subr.el (replace-in-string): New, side-effect-free function. * doc/lispref/searching.texi (Search and Replace): Document it.
* | Document use of uniquify-buffer-name-style as a function.Jimmy Aguilar Mena2020-09-151-0/+6
| |
* | Allow preserving (some) text properties from completion tablesLars Ingebrigtsen2020-09-141-0/+6
| | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/minibuffer.el (completion--replace): Preserve text properties on completed items (bug#43218).
* | Add facility to make module functions interactive (Bug#23486).Philipp Stephani2020-09-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 functions. (initialize_environment): Use them. * src/eval.c (Fcommandp): * src/data.c (Finteractive_form): Also handle interactive module functions. * test/data/emacs-module/mod-test.c (Fmod_test_identity): New test function. (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.
* | Improve frame-title-format and icon-title-formatStefan Kangas2020-09-131-0/+11
| | | | | | | | | | | | * 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.
* | ; * etc/NEWS: Document a recent change.Eli Zaretskii2020-09-131-0/+5
| |
* | Make `ascii' a coding system alias for `us-ascii'Lars Ingebrigtsen2020-09-131-0/+3
| | | | | | | | | | * lisp/international/mule-conf.el (ascii): Define `ascii' as a coding system alias to `us-ascii' (bug#43351).
* | Add a way to use an external command to download HTML in ewwLars Ingebrigtsen2020-09-131-0/+5
| | | | | | | | | | | | | | | | | | * 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.
* | Default Emacs to UTF-8 instead of Latin-1Glenn Morris2020-09-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | Move dired-jump from dired-x to dired (Bug#21981)Stefan Kangas2020-09-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired-x.el (dired-bind-jump): Change into defvar and make obsolete. (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 dired-jump-other-window. * etc/NEWS: Announce the above changes. * test/lisp/dired-tests.el (dired-autoload): Adjust test.
* | Remove cedet items obsolete since 23.2Stefan Kangas2020-09-111-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic.el (semantic-toplevel-bovine-table) (semantic-toplevel-bovine-cache) (semantic-before-toplevel-bovination-hook) (semantic-after-toplevel-bovinate-hook, semantic-init-hooks) (semantic-init-mode-hooks, semantic-init-db-hooks) (semantic-bovination-working-type, semantic-bovinate-toplevel) (semantic-bovinate-region-until-error) (semantic-bovinate-from-nonterminal-full): * lisp/cedet/semantic/db-mode.el (semanticdb-mode-hooks): * lisp/cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): * lisp/cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): * lisp/cedet/semantic/fw.el (define-mode-overload-implementation): * lisp/cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) (semantic-after-idle-scheduler-reparse-hooks): (semantic-eldoc-current-symbol-info) * lisp/cedet/semantic/imenu.el (semantic-imenu-expand-type-parts) (semantic-imenu-bucketize-type-parts) (semantic-imenu-expandable-token): * lisp/cedet/semantic/java.el (semantic-java-prototype-nonterminal): * 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) (semantic-find-dependency): * lisp/cedet/semantic/tag-ls.el (semantic-nonterminal-full-name) (semantic-nonterminal-protection, semantic-nonterminal-abstract) (semantic-nonterminal-leaf): * 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) (semantic-something-to-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 'semantic-before-toplevel-bovination-hook'. * 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-unterminated-syntax-end-function) (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.
* | D-Bus: Implement other compound types of propertiesMichael Albinus2020-09-111-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Implement a new `submit-emacs-patch' commandLars Ingebrigtsen2020-09-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/trouble.texi (Checklist): Mention the new command. * doc/lispref/intro.texi (Caveats): Ditto. * lisp/mail/emacsbug.el (emacs-bug--system-description): Factor out into own function. (report-emacs-bug): ... from here. (submit-emacs-patch): New command.
* | Make the button navigation commands available via a minor modeLars Ingebrigtsen2020-09-091-0/+7
| | | | | | | | | | | | * lisp/button.el (button-mode): New minor mode. * doc/lispref/display.texi (Button Buffer Commands): Mention it.
* | Add Gnus function to make a persistent group from a search resultAndrew G Cohen2020-09-091-4/+10
| | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-make-group-from-search): New command (bound to C-c C-p in summary buffers). * doc/misc/gnus.texi (What is nnir?): Document it. Correct previous errors. * etc/NEWS (Gnus): Mention it.
* | * etc/NEWS: Add D-Bus changes.Michael Albinus2020-09-081-2/+11
| |
* | Introduce a new Gnus scoring method (for article age)Alex Bochannek2020-09-081-0/+5
| | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Score File Format): Document it. * lisp/gnus/gnus-score.el (gnus-score-check-syntax): Add support for the new date methods < and > (bug#43270). (gnus-score-date): Allow scoring on dates by age.
* | Change icomplete-show-matches-on-no-input behaviour for Icomplete onlyJoão Távora2020-09-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: bug#19032, bug#43120 Previous fixes to bug#19032 introduced bugs in Fido mode. This fix relies on a new command bound to RET. * etc/NEWS (Miscellaneous): Mention icomplete-show-matches-on-no-input. * lisp/icomplete.el (icomplete-show-matches-on-no-input): Add comment. (icomplete-minibuffer-map): Rebind minibuffer-complete-and-exit to icomplete-ret. (icomplete-ret): New command.
* | * etc/NEWS: Mention the new erc-status-sidebar.elAmin Bandali2020-09-071-0/+4
| |
* | Add support for horizontal scrolling in tab-lineDaniel Martín2020-09-071-0/+5
| | | | | | | | | | | | | | | | | | * lisp/tab-line.el ([tab-line wheel-left]): Bind left and right tab line scrolling to the 'wheel-left' and 'wheel-right' mouse events. ([tab-line S-wheel-right]): Analogous change for the functions that switch tabs. * etc/NEWS: Announce the new feature (bug#43224). Copyright-paperwork-exempt: yes