summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Improve documentation of 'isearch-group-N' facesEli Zaretskii2020-10-071-7/+15
| | | | | | | | * etc/NEWS: * doc/emacs/search.texi (Search Customizations): Improve and clarify the wording of the 'isearch-group-N' faces description. * lisp/isearch.el (search-highlight-submatches): Doc fix.
* Remove mention of the obsolete cust-print.el from the manualLars Ingebrigtsen2020-10-071-7/+8
| | | | | * doc/lispref/edebug.texi (Printing in Edebug): Remove mention of the obsolete cust-print.el (bug#37956) and adjust the text a bit.
* Update documentation on this-command-keys to reflect new behaviorLars Ingebrigtsen2020-10-071-4/+3
| | | | | | | | | | * doc/lispref/commands.texi (Command Loop Info): `this-command-keys' does not include the C-u any more, so remove that from the description and the example (bug#22107). * src/keyboard.c (Fthis_single_command_keys): Don't say that `this-command-keys' returns the C-u prefix (bug#22111).
* Remove reference to outdated Gnus variable from the manualLars Ingebrigtsen2020-10-071-6/+0
| | | | | * doc/misc/gnus.texi (Startup Variables): Remove reference to gnus-use-backend-marks, which was removed in 2011 (bug#43833).
* Clarify what ``chrooted environment means'' for TRAMPHong Xu2020-10-071-2/+2
| | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Clarify what ``chrooted environment means'' for TRAMP (bug#43839).
* Add match-data to isearch state and repeat faces to highlight group matchesJuri Linkov2020-10-061-4/+6
| | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-match-data): New variable. (isearch-mode): Set isearch-match-data to nil. (isearch-update): Call isearch-highlight with isearch-match-data. (isearch--state): Add isearch-match-data. (isearch--set-state): Restore isearch-match-data. (with-isearch-suspended): Preserve isearch-match-data. (isearch-search): Set isearch-match-data to integers. (isearch-group-1): Rename from isearch-group-odd and adjust colors. (isearch-group-2): Rename from isearch-group-even and adjust colors. (isearch-highlight): Add optional arg 'match-data'. Rewrite search-highlight-submatches part to recycle faces. * doc/emacs/search.texi (Search Customizations): Amend the documentation for isearch-group faces. (bug#6227, bug#43702)
* Add missing full stop in MS-DOS processes documentationDaniel Martín2020-10-061-1/+1
| | | | | * doc/emacs/msdos-xtra.texi (MS-DOS Processes): Minor copy edig (bug#43820).
* Use the full name of the null byte/character, not its abbreviationAndreas Schwab2020-10-053-3/+3
| | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (inhibit-nul-byte-detection): Make it an obsolete alias. * src/coding.c (setup_coding_system): Use original name. (detect_coding): Rename nul_byte_found => null_byte_found. (detect_coding_system): Use original name. Rename nul_byte_found => null_byte_found. (Fdefine_coding_system_internal): Use original name. (syms_of_coding): Rename inhibit-nul-byte-detection to inhibit-null-byte-detection. * src/w16select.c (get_clipboard_data): Rename nul_char to null_char. * src/json.c (check_string_without_embedded_nulls): Rename from check_string_without_embedded_nuls. (Fjson_parse_string): Adjust accordingly. * src/coding.h (enum define_coding_undecided_arg_index) (enum coding_attr_index): Rename ...nul_byte... to ...null_byte.... * lisp/info.el (info-insert-file-contents, Info-insert-dir): * lisp/international/mule.el (define-coding-system): * lisp/vc/vc-git.el (vc-git--call): * doc/lispref/nonascii.texi (Lisp and Coding Systems): Use original name.
* Fix the documentation parts of a recent commitEli Zaretskii2020-10-051-21/+39
| | | | | | | | | | | | | * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix. * doc/lispref/display.texi (Size of Displayed Text): Improve wording and accuracy of the documentation of 'truncate-string-to-width'. Document the function 'truncate-string-ellipsis'. * etc/NEWS: Improve the wording of the entry for 'truncate-string-to-width'.
* Use '…' for ellipsis in truncate-string-to-width by default (bug#41250)Juri Linkov2020-10-041-1/+2
| | | | | | | | | | | | | | | | * lisp/international/mule-util.el (truncate-string-ellipsis): Change the default value to nil. (truncate-string-ellipsis): New function. (truncate-string-to-width): Use the value returned from the function 'truncate-string-ellipsis'. * lisp/tab-bar.el (tab-bar-tab-name-truncated): * lisp/tab-line.el (tab-line-tab-name-ellipsis): Take advantage of the improvement of the ellipsis default value in truncate-string-to-width and truncate-string-ellipsis. * doc/lispref/display.texi (Size of Displayed Text): Improve description of truncate-string-ellipsis.
* Make dbus-unregister-object work for monitorsMichael Albinus2020-10-041-15/+20
| | | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Monitoring Messages): Rename from "Monitoring Events". (Register Objects, Monitoring Messages): Mention returned object. * lisp/net/dbus.el (dbus-unregister-object): Adapt docstring. (dbus-unregister-object): Delete monitor if needed. (dbus-register-monitor): Return proper object. * src/dbusbind.c (dbus-registered-objects-table): Adapt docstring. * test/lisp/net/dbus-tests.el (dbus--test-signal-handler): Adapt docstring. (dbus-test08-register-monitor): New test.
* Support extended menus in widget-chooseMauro Aranda2020-10-031-0/+22
| | | | | | | | | | | | * doc/misc/widget.texi (Utilities): Document widget-choose. * etc/NEWS: Document the feature (bug#4787). * lisp/wid-edit.el (widget--simplify-menu): New function, to convert extended menus into simplified menus when using the menu to prompt through the minibuffer. (widget-choose): Accept a keymap menu. When not using x-popup-menu, simplify the menu with widget--simplify-menu. Document the changes in the docstring.
* ; Fix more typosStefan Kangas2020-10-034-4/+4
|
* Merge from origin/emacs-27Glenn Morris2020-10-021-1/+1
|\ | | | | | | | | | | | | | | | | 78eacf31e8 ; Fix many typos in symbols in docs and comments d5d12707d6 * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug... # Conflicts: # lisp/allout.el # lisp/progmodes/ebrowse.el
| * * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug#43758)Eli Zaretskii2020-10-021-1/+1
| |
* | Merge from origin/emacs-27Glenn Morris2020-10-021-3/+15
|\ \ | |/ | | | | | | | | | | | | 2af6b3147d Clarification in Tramp manual 8fbaca7d41 Check Emacs version used for Tramp compilation 90e5549f02 Don't signal an error when saving files on WdebDAV volumes 6f73cc3579 ; * lisp/net/eww.el (eww-search-words): Doc fix. ce0842a165 * lisp/hi-lock.el (hi-lock-find-patterns): Autoload it. (...
| * Clarification in Tramp manualMichael Albinus2020-10-011-3/+15
| | | | | | | | | | * doc/misc/tramp.texi: Harmonize "Git" spelling. (Frequently Asked Questions): Describe Emacs version mismatch.
* | Stop using a dynamically bound 'generated-autoload-file' variableLars Ingebrigtsen2020-10-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/loading.texi (Autoload): Document change of name (bug#39823). * lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Pass the file name in. (autoload-generated-file): Ditto. (autoload-file-load-name): Ditto. (generate-file-autoloads): Ditto. (autoload--setup-output): Ditto. (autoload-generate-file-autoloads): Ditto, and alter doc string to reflect when `generated-autoload-file' is heeded. (update-file-autoloads): Pass outfile in to functions. (autoload-find-destination): Ditto. (update-directory-autoloads): Make into an obsolete shim around `make-directory-autoloads'. (make-directory-autoloads): Renamed from `update-directory-autoloads' with new semantics. (batch-update-autoloads): Adjust caller. * lisp/emacs-lisp/package.el (package-generate-autoloads): Adjust caller.
* | Use new faces isearch-group-odd and isearch-group-even (bug#43702)Juri Linkov2020-10-011-4/+5
| | | | | | | | | | | | * lisp/isearch.el (isearch-group-odd, isearch-group-even): New faces instead of isearch-group-1 .. isearch-group-9. (isearch-highlight): Use new faces.
* | Don't recommend quoting lambdasStefan Kangas2020-10-012-5/+5
| | | | | | | | | | | | | | | | | | | | | | * doc/misc/calc.texi (Symbolic Lisp Functions): * doc/misc/cl.texi (Obsolete Lexical Binding): * lisp/master.el: * lisp/progmodes/sql.el (sql-interactive-mode): * lisp/textmodes/flyspell.el (flyspell-mode): * lisp/textmodes/ispell.el (ispell-message): * lisp/textmodes/table.el: Doc fixes; don't recommend quoting lambdas.
* | * doc/emacs/basic.texi (Basic Undo): Explain the C-/ situation in xtermStefan Monnier2020-09-301-4/+5
| | | | | | | | | | | | AFAICT, in ttys you can send a `C-_` to Emacs either by pressing `C-/` (e.g. xterm, uxterm, rxvt, xfce4-terminal, gnome-terminal) or by pressing `C--` (e.g. rxvt, Linux console).
* | Clarify previous undo keys changeRichard M Stallman2020-09-301-7/+7
| | | | | | | | Clarify which terminals allow C-/ and which make C-_ easy to type.
* | Minor documentation copyeditsEli Zaretskii2020-09-301-9/+9
| | | | | | | | | | | | * etc/NEWS: * doc/emacs/dired.texi (Dired Enter): Fix wording, punctuation, and typos in doc of 'dired-switches-in-mode-line'.
* | Allow controlling the Dired switches shown in the mode lineDrew Adams2020-09-301-0/+11
| | | | | | | | | | | | | | * doc/emacs/dired.texi (Dired Enter): Document it (bug#41250). * lisp/dired.el (dired-switches-in-mode-line): New variable (bug#41250). (dired-sort-set-mode-line): Use it.
* | ; * doc/lispref/searching.texi (Search and Replace): RephraseMattias Engdegård2020-09-281-4/+4
| |
* | Document D-Bus monitoringMichael Albinus2020-09-271-46/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi: Replace "symbol" by "keyword" where appropriate. (Alternative Buses): Adapt dbus-init-bus description. (Errors and Events): Adapt dbus-event structure. New defuns dbus-event-destination-name, dbus-event-handler and dbus-event-arguments. (Monitoring Events): New node. * lisp/net/dbus.el: Replace "symbol" by "keyword" where appropriate. (cl-lib): Require. (dbus-register-monitor): Adapt the argument list. (dbus-monitor-handler): Extend. (dbus-init-bus): Adapt docstring. * test/lisp/net/dbus-tests.el (dbus-test01-compound-types): Skip if needed. Extend test.
* | Merge from origin/emacs-27Glenn Morris2020-09-271-4/+3
|\ \ | |/ | | | | | | | | | | 0b78785a9b (origin/emacs-27) Minor copyedits in the Emacs user manual 0dfc6fdc1f Followup to a recent change in menu-bar.el 767713682c Enable "Continue Tags Search" menu item only when it can b... 4bb7532163 Fix soap-client URL
| * Minor copyedits in the Emacs user manualEli Zaretskii2020-09-271-4/+3
| | | | | | | | | | | | * doc/emacs/emacs.texi (Top): Remove "real-time" from the Emacs description; add "advanced", to be consistent with what we say in the Introduction section. (Bug#43633)
* | Merge from origin/emacs-27Glenn Morris2020-09-2710-15/+15
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | f31c6792ab Fix support for Zip64 zip files ba635a19fb * lisp/hi-lock.el (hi-lock-auto-select-face): Doc fix. (B... cc8fef2bdd Avoid infinite recursion with 'relative' line numbers display 395f10cb98 ; Fix more trivial typos bf4accb65e ; Fix some trivial typos # Conflicts: # etc/NEWS # lisp/arc-mode.el
| * ; Fix some trivial typosStefan Kangas2020-09-2111-17/+17
| |
* | Handle single-argument `apply' consistently (bug#40968)Pip Cet2020-09-271-0/+10
| | | | | | | | | | | | | | | | | | * src/eval.c (Fapply): Handle (apply nil) without crashing. Document single-argument form. * lisp/emacs-lisp/byte-opt.el (byte-optimize-apply): Don't attempt to optimize single-argument apply. * doc/lispref/functions.texi (Calling Functions): Document single-argument apply. Provide example (bug#40968).
* | ; * doc/emacs/building.texi (Grep Searching): Fix a typo.Eli Zaretskii2020-09-271-1/+1
| |
* | Add a new grep-match-regexp variableSimon Lang2020-09-271-0/+5
| | | | | | | | | | | | | | * doc/emacs/building.texi (Grep Searching): Document it. * lisp/progmodes/grep.el (grep-match-regexp): New variable (bug#41766). (grep-filter): Use it.
* | Improve accuracy in string-replace description (bug#43598)Mattias Engdegård2020-09-271-2/+4
| | | | | | | | | | * doc/lispref/searching.texi (Search and Replace): More careful description; string-replace does not necessarily return a copy.
* | Improve documentation of the 'abbrev-suggest' featureEli Zaretskii2020-09-272-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/abbrev.el (abbrev-suggest, abbrev-suggest-hint-threshold) (abbrev-suggest-show-report): Improve wording of the doc strings. * doc/emacs/abbrevs.texi (Abbrevs Suggestions): Fix the typo in the node name. Improve wording. * doc/emacs/emacs.texi (Top): Add the new node in the @detailmenu section. * etc/NEWS: Improve wording of the NEWS entry for 'abbrev-suggest'.
* | Rename replace-in-string to string-replaceLars Ingebrigtsen2020-09-271-1/+1
| | | | | | | | | | | | | | | | | | * doc/lispref/searching.texi (Search and Replace): Update. * lisp/bindings.el (mode-line-position): Update callers. * lisp/subr.el (string-replace): Rename from replace-in-string since that clashes with XEmacs' replace-in-string which is equivalent to the Emacs replace-regexp-in-string (bug#43598).
* | Fix gnus-faq exampleLars Ingebrigtsen2020-09-271-1/+1
| | | | | | | | | | * doc/misc/gnus-faq.texi (FAQ 6-2): replace-in-string was the XEmacs name for the function.
* | Abbrev suggestions helps users remember to use defined abbrevsMathias Dahl2020-09-261-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/abbrev.el (abbrev-suggest): New defcustom. (abbrev-suggest-hint-threshold): New defcustom. (abbrev--suggest-get-active-tables-including-parents): New defun. (abbrev--suggest-get-active-abbrev-expansions): New defun. (abbrev--suggest-count-words): New defun. (abbrev--suggest-get-previous-words): New defun. (abbrev--suggest-above-threshold): New defun. (abbrev--suggest-saved-recommendations): New defvar. (abbrev--suggest-inform-user): New defun. (abbrev--suggest-shortest-abbrev): New defun. (abbrev--suggest-maybe-suggest): New defun. (abbrev--suggest-get-totals): New defun. (abbrev-suggest-show-report): New defun. (expand-abbrev): If the previous word was not an abbrev, maybe suggest an abbrev to the user. * doc/emacs/abbrevs.texi (Abbrev suggestions): New section. * etc/NEWS: Announce abbrev suggestions.
* | string-search robustness and documentation improvement (bug#43598)Mattias Engdegård2020-09-251-1/+3
| | | | | | | | | | | | | | | | * src/fns.c (Fstring_search): Check START-POS argument range. Simplify logic. Improve doc string. * test/src/fns-tests.el (string-search): Add test cases. * doc/lispref/strings.texi (Text Comparison): Elaborate. * lisp/emacs-lisp/byte-opt.el (pure-fns): Mark string-search as pure.
* | Add a new function 'string-search'Lars Ingebrigtsen2020-09-251-0/+8
| | | | | | | | | | * doc/lispref/strings.texi (Text Comparison): Document it. * src/fns.c (Fstring_search): New function.
* | Horizontal scrolling for mouse wheel with Shift modifier (bug#43568)Juri Linkov2020-09-241-11/+13
| | | | | | | | | | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-scroll-amount): Change 'shift' default value from 5 to 'hscroll'. Add new option "Scroll horizontally" for 'hscroll'. (mwheel-scroll): Handle value 'hscroll' and call mwheel-scroll-left-function or mwheel-scroll-right-function. * doc/emacs/frames.texi (Mouse Commands): Update for horizontal scrolling with Shift modifier.
* | Make set-process-buffer also update the process markLars Ingebrigtsen2020-09-241-1/+2
| | | | | | | | | | * src/process.c (Fset_process_buffer): Update the process mark (bug#43573).
* | Minor Tramp cleanupMichael Albinus2020-09-241-37/+41
| | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Some stylistic changes. (Frequently Asked Questions): Mention ProxyCommand and ProxyJump. * lisp/net/tramp-sh.el (tramp-use-ssh-controlmaster-options): Fix docstring.
* | New command goto-line-relative (bug#5042, bug#9917)Juri Linkov2020-09-232-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (goto-line-read-args): New function with code from goto-line. (goto-line): New arg RELATIVE. Also use 'widen-automatically' to leave all lines accessible in the narrowed buffer. (goto-line-relative): New command. * lisp/info.el (Info-mode-map): Remap 'goto-line' to 'goto-line-relative'. * doc/emacs/basic.texi (Moving Point): * doc/emacs/display.texi (Optional Mode Line): Mention goto-line-relative.
* | Add more isearch submatch facesLars Ingebrigtsen2020-09-211-9/+7
| | | | | | | | | | | | | | | | * 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-0/+6
| | | | | | | | | | | | | | | | * 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.
* | Add D-Bus testsMichael Albinus2020-09-211-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Type Conversion): Precise basic type values. * lisp/net/dbus.el (dbus-register-property): Send signal directly. * src/dbusbind.c (xd_signature): Accept non-nil objects for DBUS_TYPE_BOOLEAN. * test/lisp/net/dbus-tests.el (dbus-test01-basic-types) (dbus-test01-compound-types): New tests.
* | Merge from origin/emacs-27Glenn Morris2020-09-202-10/+14
|\ \ | |/ | | | | | | | | | | 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>: ...
| * Minor improvement in the ELisp manual's IntroductionEli Zaretskii2020-09-201-1/+2
| | | | | | | | | | * doc/lispref/intro.texi (Printing Notation): Clarify what "execute code" means in this context. (Bug#43463)
| * Minor copyedits in 'line-height' documentationEli Zaretskii2020-09-191-9/+12
| | | | | | | | | | * doc/lispref/display.texi (Line Height): Describe the possible values of the 'line-height' property in a more consistent format.