aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove comment about commandscratch/commandLars Ingebrigtsen2021-02-141-6/+0
|
* Experiment with a mode-base `declare'Lars Ingebrigtsen2021-02-131-0/+3
|
* Change command to interactive ... modesLars Ingebrigtsen2021-02-132-14/+18
|
* Add support for marking autoloads with modes and also declare completionLars Ingebrigtsen2021-02-122-0/+10
|
* Make it possible to have derived modes be non-interactiveLars Ingebrigtsen2021-02-111-0/+5
|
* Add support for the new `command' special formLars Ingebrigtsen2021-02-111-0/+18
|
* Remove the 'M-o' ('facemap-keymap') binding experimentallyLars Ingebrigtsen2021-02-102-9/+0
| | | | | | | | | | | | | | * doc/lispref/maps.texi (Standard Keymaps): * doc/lispref/keymaps.texi (Prefix Keys): Remove mentions. * etc/facemenu-removal.txt: New temporary file. * lisp/loadup.el: Don't load facemenu.el. (removed-facemenu-command): New command. (facemenu-keymap-restore): New function. * lisp/textmodes/text-mode.el (center-paragraph): Remove binding. (center-line): Remove binding.
* Allow exit-minibuffer to be called from Lisp code. Fixes bug #46373Alan Mackenzie2021-02-091-1/+1
| | | | | | | | | * lisp/minibuffer.el (exit-minibuffer): Throw the error "Not in most nested minibuffer" only when the current buffer is a minibuffer (thus the command came directly from a key binding). * doc/lispref/minibuf.texi (Minibuffer Commands): Change the documentation accordingly.
* Finish customize-changed-options/customize-changed fix upLars Ingebrigtsen2021-02-091-6/+3
| | | | | | | | | * doc/emacs/custom.texi (Specific Customization): Fix customize-changed/customize-changed-options documentation. * lisp/cus-dep.el (custom-make-dependencies): Adjust doc string (bug#23085). * lisp/menu-bar.el (menu-bar-custom-menu): Adjust menu options.
* Add command to recenter errors from Occur/Grep buffersTino Calancha2021-02-072-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To scroll up/down the current displayed occurrence/error without abandon the Occur/Grep buffer. Add also a command 'recenter-other-window' to recenter the other window from any kind of buffer. * lisp/window.el (recenter-other-window): New command. Bind recenter-other-window to S-M-C-l (Bug#46119). * lisp/simple.el (recenter-current-error): New command. * lisp/progmodes/grep.el (grep-mode-map): Delete bidings for n and p. * lisp/progmodes/compile.el (compilation-minor-mode-map): Move here the n and p bindings. Bind `recenter-current-error' to l. * lisp/replace.el (occur-mode-map): Same. * doc/emacs/windows.texi (Other Window): * doc/emacs/display.texi (Recentering): Document recenter-other-window. * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 28.1): Announce the changes.
* Move line-number-at-pos to CLars Ingebrigtsen2021-02-071-10/+8
| | | | | | | | | | | | | * doc/lispref/positions.texi (Text Lines): Revert previous change. * lisp/simple.el (line-number-at-pos): Remove definition. * lisp/simple.el (count-lines): Revert back to using `forward-line', because there seems to be a disagreement on how lines should be counted in a region... * src/fns.c (Fline_number_at_pos): Rename from Fline_number_at_position and adjust parameter list.
* Add a new function 'line-number-at-position'Lars Ingebrigtsen2021-02-071-8/+10
| | | | | | | | | * doc/lispref/positions.texi (Text Lines): Document it. * lisp/simple.el (count-lines): Use it. (line-number-at-pos): Ditto. * src/fns.c (Fline_number_at_position): New function (bug#22763).
* Clarify that #s(hash-table ...) doesn't always create a new hash tableLars Ingebrigtsen2021-02-072-9/+15
| | | | | | | | * doc/lispref/hash.texi (Creating Hash): Note that the printed representation doesn't necessarily create a new table (bug#23417). * doc/lispref/lists.texi (Rearrangement): Link to Self-Evaluating Forms to further expand upon immutability.
* Add more commands to the new `C-x x' keymapLars Ingebrigtsen2021-02-073-30/+30
| | | | | | | | | | * doc/emacs/killing.texi (Accumulating Text): * doc/emacs/display.texi (Line Truncation): * doc/emacs/buffers.texi (Misc Buffer): Document it. * lisp/bindings.el (ctl-x-x-map): Add new bindings for rename-buffer, rename-uniquely, insert-buffer and toggle-truncate-lines.
* Move 'revert-buffer' global binding to 'C-x g g'Sean Whitton2021-02-071-1/+1
| | | | | | | * lisp/bindings.el: Define ctl-x-g-map and bind 'revert-buffer' to 'C-x x g' globally. * doc/emacs/files.texi: Replace 'C-x g' with 'C-x x g'. * etc/NEWS: Document the change (bug#46300).
* Permit zero value for 'child-frame-border-width' parameter (Bug#46184)Martin Rudalics2021-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/frames.texi (Layout Parameters): Update entry on 'child-frame-border-width' parameter. * src/frame.c (make_frame): Init child_frame_border_width to -1. (Fframe_child_frame_border_width): Return internal border width if child frame border width parameter is nil. (gui_report_frame_params): Report nil as child frame border width parameter if the frame value is negative. * src/frame.h (FRAME_INTERNAL_BORDER_WIDTH): Return value of child frame border width only if it is not negative. * src/xfns.c (Fx_create_frame): Default child frame border to -1 when recording it in its frame slot via gui_default_parameter. * src/nsfns.m (ns_set_child_frame_border_width): Handle nil ARG. (Fx_create_frame): Default child frame border width parameter to nil. * src/w32fns.c (w32_set_child_frame_border_width): Handle nil ARG. (Fx_create_frame): Default child frame border width parameter to nil. * src/xfns.c (x_set_child_frame_border_width): Handle nil ARG. (Fx_create_frame): Default child frame border width parameter to nil.
* Merge from origin/emacs-27Glenn Morris2021-02-061-4/+5
|\ | | | | | | | | | | | | | | | | | | 8ad48a0bdd (origin/emacs-27) Improve doc string of 'text-scale-adjust' 7a25ff767d Clarify the indent-rigidly doc string 6c5ddf0e0b Fix two small tab bar issues c71e08eba9 Fix last change in syntax.texi # Conflicts: # lisp/indent.el
| * Fix last change in syntax.texiEli Zaretskii2021-02-051-4/+5
| | | | | | | | | | * doc/lispref/syntax.texi (Syntax Properties): Fix wording in last change. (Bug#46274)
| * Correct the lispref manual about flushing ppss infoLars Ingebrigtsen2021-02-051-4/+4
| | | | | | | | | | | | | | | | * doc/lispref/syntax.texi (Syntax Properties): Correct the information about flushing the state by copying the text from the doc string (bug#46274). (cherry picked from commit ff701ce2b261acce1dfcd1fe137268d87d5eab35)
* | Merge from origin/emacs-27Glenn Morris2021-02-061-2/+2
|\ \ | |/ | | | | | | 8c27af3ff4 Clarify how transient indentation modes are exited in the ... fc37dc298f Fix the previous change
| * Clarify how transient indentation modes are exited in the manualLars Ingebrigtsen2021-02-051-2/+2
| | | | | | | | | | | | * doc/emacs/indent.texi (Indentation Commands): Clarify that the other keys don't just exit the transient mode, but are also handled as normally (bug#46296).
| * Clarify the "Sentinels" node in the lispref manualLars Ingebrigtsen2021-02-041-1/+5
| | | | | | | | | | | | | | * doc/lispref/processes.texi (Sentinels): Mention "run" and that the strings can be anything (bug#30461). (cherry picked from commit 859a4cb6b22f75a3456e29d08fcfe9b8940fbe8b)
| * Improve documentation of 'read-regexp' and friendsEli Zaretskii2021-01-272-12/+18
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/glossary.texi (Glossary): Add "Tag" to the Glossary. * doc/emacs/maintaining.texi (Xref): Mention that identifiers are also known as "tags". * lisp/replace.el (read-regexp, read-regexp-suggestions): Improve wording of doc strings. (Bug#46088) (Bug#46089) (cherry picked from commit 49eb03d6c8a181fd46adbbcf1f0a976d0a9efa87)
* | Add command 'dbus-monitor'Michael Albinus2021-02-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi: (Monitoring Messages): Document 'dbus-monitor'. * etc/NEWS: Mention 'dbus-monitor' but 'dbus-register-monitor'. Fix typos and other oddities. * lisp/net/dbus.el (dbus-monitor): New command. * test/lisp/net/dbus-tests.el (dbus--test-register-service): Extend test.
* | Correct the lispref manual about flushing ppss infoLars Ingebrigtsen2021-02-051-4/+4
| | | | | | | | | | | | * doc/lispref/syntax.texi (Syntax Properties): Correct the information about flushing the state by copying the text from the doc string (bug#46274).
* | Allow a :variable keyword in define-globalized-minor-modeLars Ingebrigtsen2021-02-041-0/+5
| | | | | | | | | | | | | | * doc/lispref/modes.texi (Defining Minor Modes): Document it. * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Allow specifying a :variable to be used if the underlying mode has a divergent variable to store the state (bug#29081).
* | Clarify the "Sentinels" node in the lispref manualLars Ingebrigtsen2021-02-041-1/+5
| | | | | | | | | | * doc/lispref/processes.texi (Sentinels): Mention "run" and that the strings can be anything (bug#30461).
* | Update description of 'tramp-crypt-remove-directory'Robert Pluim2021-02-041-3/+4
| | | | | | | | | | | | * doc/misc/tramp.texi (Keeping files encrypted): Correct name of function to use to indicate files should no longer be encrypted, and update its description.
* | Bind 'revert-buffer' to 'C-x g' globallySean Whitton2021-02-021-3/+3
| | | | | | | | | | | | * lisp/bindings.el: Bind 'revert-buffer' to 'C-x g' globally. * doc/emacs/files.texi: Replace 'M-x revert-buffer' with 'C-x g'. * etc/NEWS: Document the change (bug#46151).
* | Allow the caller to specify own face on suffix in annotation-functionJuri Linkov2021-01-301-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completion--insert-strings): Don't add 'completions-annotations' face when the caller specified own face in annotation-function. Remove no-op code for 'unless prefix' branch. (completion-metadata, completion-extra-properties): Update docs of affixation-function. Suggested by Clemens <clemera@posteo.net> (bug#45780) * test/lisp/minibuffer-tests.el: Rename package name from completion-tests.el to minibuffer-tests.el. Add new test completion--insert-strings-faces. * doc/lispref/minibuf.texi (Completion Variables) (Programmed Completion): Update descriptions of annotation-function and affixation-function.
* | Reduce flicker in Isearch modeAugusto Stoffel2021-01-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lazy highlighting now happens immediately when the search string is at least as long as the value of the new custom variable `lazy-highlight-no-delay-length`. Also avoid updating the lazy count in the echo area too often. * isearch.el (lazy-highlight-no-delay-length): New defcustom. * isearch.el (lazy-lazy-count-format): Avoid a momentarily incorrect count when reversing search direction. * isearch.el (isearch-lazy-highlight-new-loop): Avoid a call to `isearch-message` that is quickly succeed by a second echo area update, thus causing flicker. * isearch.el (isearch-lazy-highlight-new-loop): Start lazy highlight immediately if appropriate. * etc/NEWS: Announce the change. * doc/emacs/search.texi: Document `lazy-highlight-no-delay-length'. Copyright-paperwork-exempt: yes
* | Improve :foreground description in the manualLars Ingebrigtsen2021-01-301-1/+1
| | | | | | | | | | * doc/lispref/frames.texi (Font and Color Parameters): Make the description less confusing (bug#38710).
* | Describe pointer shapes in the manualLars Ingebrigtsen2021-01-291-4/+25
| | | | | | | | | | * doc/lispref/frames.texi (Pointer Shape): Describe what the typical pointer shapes are (and add `nhdrag') (bug#39246).
* | Add a command for redisplay during keyboard macrosMarco Wahl2021-01-291-0/+8
| | | | | | | | | | | | | | | | * doc/emacs/kmacro.texi (Basic Keyboard Macro): Document it (bug#39252). * lisp/kmacro.el (kdb-macro-redisplay): New function. (kmacro-keymap): Bind it.
* | Avoid recommending GoogleStefan Kangas2021-01-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | * doc/misc/org.texi (Link Abbreviations): * lisp/net/webjump.el (webjump-sample-sites): * lisp/org/ol.el (org-link-shell-confirm-function) (org-link-elisp-confirm-function): * lisp/org/org.el (org-highlight-links): * lisp/wdired.el: Avoid recommending Google. squash! Avoid recommending Google
* | Merge from origin/emacs-27Glenn Morris2021-01-271-2/+15
|\ \ | |/ | | | | 3443a1c698 Fix last change
| * Fix last changeEli Zaretskii2021-01-231-2/+15
| | | | | | | | | | | | | | * doc/lispref/text.texi (Undo): Add a cross-reference to the description of 'undo-amalgamate-change-group'. (Atomic Changes): Expand and improve the description of 'undo-amalgamate-change-group'. (Bug#42303)
| * Mention undo-amalgamate-change-group in the lispref manualLars Ingebrigtsen2021-01-231-0/+5
| | | | | | | | | | | | | | * doc/lispref/text.texi (Atomic Changes): Mention undo-amalgamate-change-group (bug#42303). (cherry picked from commit ba25a82855a2c03c25fec83f3056c166b692e94f)
* | Some Tramp fixesMichael Albinus2021-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (GVFS-based methods): Ban sftp RemoteCommand option. * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file): Avoid calling jka-compr when writing the target file. * lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p): Skip GROUP test on *BSD machines. * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory-one-file): Skip for tamp-crypt.el. (tramp--test-sh-no-ls--dired-p): Ignore errors.
* | Improve documentation of 'read-regexp' and friendsEli Zaretskii2021-01-272-12/+18
| | | | | | | | | | | | | | | | | | * doc/emacs/glossary.texi (Glossary): Add "Tag" to the Glossary. * doc/emacs/maintaining.texi (Xref): Mention that identifiers are also known as "tags". * lisp/replace.el (read-regexp, read-regexp-suggestions): Improve wording of doc strings. (Bug#46088) (Bug#46089)
* | Fix typos and punctuationEli Zaretskii2021-01-261-5/+5
| | | | | | | | | | | | | | * src/w32fns.c: * src/frame.h: * doc/lispref/frames.texi (Frame Layout): * etc/NEWS: Fix typos and punctuation in recent changes.
* | Add distinct controls for child frames' borders (Bug#45620)Alexander Miller2021-01-261-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The background of the 'child-frame-border' face instead of the 'internal-border' face now controls the color of child frames' borders. The 'child-frame-border-width' frame parameter is now used for the width of child frames' borders instead of internal-border-width', though we still fall back on using the latter if the former is not set. * doc/lispref/frames.texi (Frame Layout): Mention 'child-frame-border' and 'child-frame-border-width'. (Layout Parameters): Mention 'child-frame-border-width'. * etc/NEWS: Mention new face 'child-frame-border' and frame parameter 'child-frame-border-width'. * lisp/faces.el (child-frame-border): New face. * src/dispextern.h (enum face_id): Add CHILD_FRAME_BORDER_FACE_ID. * src/frame.c (Fframe_child_frame_border_width): New function. (gui_report_frame_params): Add entry for Qchild_frame_border_width. * src/frame.h (struct frame): New slot child_frame_border_width. (FRAME_CHILD_FRAME_BORDER_WIDTH): New inlined function. * src/nsfns.m (ns_set_child_frame_border_width): New function. (Fx_create_frame): Handle Qchild_frame_border_width parameter. (ns_frame_parm_handlers): Add ns_set_child_frame_border_width. * src/nsterm.m (ns_clear_under_internal_border): Handle CHILD_FRAME_BORDER_FACE_ID. * src/w32fns.c (w32_clear_under_internal_border): Handle CHILD_FRAME_BORDER_FACE_ID. (w32_set_internal_border_width): New function. (Fx_create_frame): Handle Qchild_frame_border_width parameter. (w32_frame_parm_handlers): Add w32_set_child_frame_border_width. * src/xfaces.c (lookup_basic_face, realize_basic_faces): Handle CHILD_FRAME_BORDER_FACE_ID. * src/xfns.c (x_set_child_frame_border_width): New function. (Fx_create_frame): Handle Qchild_frame_border_width parameter. (x_frame_parm_handlers): Add x_set_child_frame_border_width. * src/xterm.c (x_clear_under_internal_border) (x_after_update_window_line): Handle CHILD_FRAME_BORDER_FACE_ID.
* | Add a mechanism for buffer-local thing-at-pointsLars Ingebrigtsen2021-01-231-0/+19
| | | | | | | | | | | | | | * doc/lispref/text.texi (Buffer Contents): Document it. * lisp/thingatpt.el (thing-at-point-provider-alist): New variable. (thing-at-point): Use it.
* | Mention undo-amalgamate-change-group in the lispref manualLars Ingebrigtsen2021-01-221-0/+5
| | | | | | | | | | * doc/lispref/text.texi (Atomic Changes): Mention undo-amalgamate-change-group (bug#42303).
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2021-01-221-101/+62
| |
* | Use RemoteCommand option for Tramp's sshx and scpx methodsMichael Albinus2021-01-221-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods) <sshx>: (External methods) <scpx>: Adapt call sequence. (Remote shell setup): Mention, that sshx and scpx overwrite RemoteCommand. (Remote processes): Restriction: direct asynchronous processes cannot be used when RemoteCommand is in use. `tramp-remote-process-environment' is not ignored any longer. * lisp/net/tramp-sh.el (tramp-methods) <sshx, scpx>: Handle login shell via RemoteCommand. Remove `tramp-direct-async' parameter. (tramp-maybe-open-connection): Add "-i" to login. * lisp/net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_NOT_SUPPORTED". (tramp-smb-handle-insert-directory): Fix point moving error. * test/lisp/net/tramp-tests.el (tramp-test34-explicit-shell-file-name): Use `get-buffer-process' where appropriate.
* | Make Message respect header removal instructions moreLars Ingebrigtsen2021-01-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/message.texi (Forwarding): Document it. * lisp/gnus/message.el (message-forward-ignored-headers): Improve documentation. (message-forward-included-headers): Ditto. (message-forward-included-mime-headers): New user option. (message-remove-ignored-headers): Use it to preserve the necessary MIME headers. (message-forward-make-body): Remove headers when forwarding as MIME, too.
* | Fix up example in the Modifying Menus node in the lispref manualLars Ingebrigtsen2021-01-201-3/+2
| | | | | | | | | | * doc/lispref/keymaps.texi (Modifying Menus): Make the second example more regular (bug#14257).
* | Mention that the mouse will switch on transient-mark-mode in manualLars Ingebrigtsen2021-01-201-1/+3
| | | | | | | | | | * doc/lispref/markers.texi (The Mark): Mention that the mouse will enable the `(only)' transient mark mode (bug#14945).
* | Some Tramp fixes, resulting from test campaignMichael Albinus2021-01-191-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote shell setup): Clarifications for `tramp-actions-before-shell' example. * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Do not expand FILENAME explicitely. (tramp-open-shell): Add "-i" for interactive shells. * test/lisp/net/tramp-tests.el (tramp-test07-file-exists-p) (tramp-test14-delete-directory) (tramp-test43-asynchronous-requests): Skip for MS windows.