[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vcomplete a7eb3b9365 25/91: ; Fixes and improvements to th
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vcomplete a7eb3b9365 25/91: ; Fixes and improvements to the Info node |
Date: |
Tue, 24 May 2022 15:59:07 -0400 (EDT) |
branch: elpa/vcomplete
commit a7eb3b9365d3f0a4bbfec5c84c6ab375da73f3e9
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
; Fixes and improvements to the Info node
---
vcomplete.texi | 34 +++++++++++++++-------------------
1 file changed, 15 insertions(+), 19 deletions(-)
diff --git a/vcomplete.texi b/vcomplete.texi
index d8078b7dcc..11b5356dbf 100644
--- a/vcomplete.texi
+++ b/vcomplete.texi
@@ -114,7 +114,9 @@ Simply download a release (from
Clone the repository and build the package archive:
@example
-$ git clone https://git.sr.ht/~dsemy/vcomplete $ cd vcomplete $ make
+$ git clone https://git.sr.ht/~dsemy/vcomplete
+$ cd vcomplete
+$ make
@end example
Install the package:
@@ -137,10 +139,11 @@ You can also add @code{(vcomplete-mode)} to your init
file, instead.
When @code{vcomplete-mode} is enabled, the @code{*Completions*} buffer
appears and updates automatically (by default), and the completion at
-point is highlighted. Note that the completion at point isn't
-highlighted when completing in-region, however switching to the
-@code{*Completions*} buffer stops completion in this case (this is
-default Emacs behavior).
+point in the @code{*Completions*} buffer is highlighted automatically.
+Automatic highlighting of the completion at point doesn't work when
+completing in-region (switching to the @code{*Completions*} buffer in
+this case ends completion by default in Emacs), however the following
+commands do work as described in this case.
The following commands are available when completion is in progress:
@@ -170,8 +173,8 @@ completions at a time with a prefix argument.
@cindex vcomplete-choose-completion
@table @asis
@item @kbd{M-RET}
-Choose the current completion (@code{vcomplete-choose-completion}).
-This command chooses the highlighted completion, ending completion.
+Choose the currently highlighted completion
+(@code{vcomplete-choose-completion}).
@end table
@xref{Completion commands} for information regarding defining new
@@ -201,16 +204,9 @@ update. Otherwise, operate according to
@node Completion commands
@section Completion commands
-Completion commands are used to perform operations on specific
-completion candidates. They are normal commands (interactive
-functions) which are bound to a key sequence in
-@code{vcomplete-command-map}. @code{vcomplete-next-completion},
-@code{vcomplete-prev-completion} and
-@code{vcomplete-choose-completion} are implemented as completion
-commands. Completion commands can inhibit updating the completion list
-buffer by setting @code{this-command} to @code{vcomplete--no-update}.
-Note that the completion list is updated after every command (via
-@code{post-command-hook}).
+Completion commands are used to perform actions while completing. They
+are normal commands (interactive functions) which are bound to a key
+sequence in @code{vcomplete-command-map}.
@defvar vcomplete-command-map
Key map which holds key bindings to completion commands. This key map
@@ -220,9 +216,9 @@ should be available whenever completion is initiated.
@defun vcomplete-current-completion pos
Get the completion candidate at POS.
The completion candidate is returned as a list of the form:
-@table @asis
+@example
(COMPLETION-STRING . (BEGINNING . END))
-@end table
+@end example
If no completion is found, this function returns nil. Note that this
function throws an error when the major mode of the buffer from which
it is called isn't derived from @code{completion-list-mode}.
- [nongnu] elpa/vcomplete aa4bdbf080 11/91: * vcomplete.el (vcomplete-mode): Ensure variables are reset, (continued)
- [nongnu] elpa/vcomplete aa4bdbf080 11/91: * vcomplete.el (vcomplete-mode): Ensure variables are reset, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 556a6c2cff 08/91: ; Document recent changes in the NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 8a921cf088 48/91: ; Optimize require's in vcomplete-embark.el, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete cbdde2fc09 61/91: Define a face for highlighting completions, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 0bbc9b391b 69/91: ; Improve docstrings and comments, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 18164dd260 71/91: ; Another small change to 'vcomplete-mode's docstring, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 6a3b02df46 76/91: * vcomplete.el (vcomplete-with-completions-buffer): Allow debugging body, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete dce24e895d 18/91: Replaced current completion variables with a function, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 36ae2920e4 17/91: * vcomplete.el (vcomplete-kill-buffer): Remove to simplify the package, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 12def7b143 19/91: Highlight the completion at point in the completion list buffer, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete a7eb3b9365 25/91: ; Fixes and improvements to the Info node,
ELPA Syncer <=
- [nongnu] elpa/vcomplete 6bc410d948 27/91: Handle cases where 'vcomplete-mode' starts before loading Embark, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete e37470eb13 05/91: ; Fix indentation, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 39f0aead10 13/91: Fix 'vcomplete--update-in-region' added to 'post-command-hook' globally, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete b6fd11b7c4 31/91: ; Update mail address, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 369a9fb9c4 03/91: ; Ignore Emacs' backup files, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete b1fa61dffd 16/91: Change the way the current completion is highlighted, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 14429ac79d 20/91: Exits 'completion-in-region-mode' when completions aren't visible, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 29423a4aa1 37/91: ; Documentation improvements, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 8441803b7a 38/91: Split 'vcomplete--setup-current' into two functions, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 50d812fc6a 39/91: Remove unnecessary hook removal, ELPA Syncer, 2022/05/24