[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] branch elpa/bash-completion created (now 8e9c20dbfe)
From: |
ELPA Syncer |
Subject: |
[nongnu] branch elpa/bash-completion created (now 8e9c20dbfe) |
Date: |
Sat, 3 Dec 2022 10:58:40 -0500 (EST) |
elpasync pushed a change to branch elpa/bash-completion.
at 8e9c20dbfe Replace or quote certain single quotes in docstrings
(#55)
This branch includes the following new commits:
new f7bfc68ea2 bash completion
new f5885ec87a test case for bash-complete
new 7dc290e1c7 exclude quotes from result
new a79137cc86 escaped quotes
new b307dc24c3 keep cword
new 7ce100b7eb cursor position
new 208cb5ab76 Join
new b281e1e181 bash-complete-add-to-alist
new 53f2c5d30e parse complete -p output
new 47a890dd72 launch process, send commands
new 540f8f516a build bash cmdline
new 7186a18cad Integrated into comm
new f6e1c44057 put everything together
new b5c2fbf4a2 add hooks
new c10cfef5b8 complex line split
new 6eebe8f965 cleaned up process launch
new 0d360a45cd fixed test case
new 11e52fce6f Fixed initialization
new 28ec870dd1 only one -complete method
new e81c478032 bash-complete -> bash-completion
new 482383dcd7 handle slash for directory, usable completion
new aa9bea48ba fix position
new 8270e09294 pass words as command-line arguments to the function
new 34d11220dd add prefix if missing
new 9eb026ae0b fixed current directory for adding slash, workaround for
bash ~ expansion
new cd2ec103d1 Expand directory names with quotes and spaces, but no
further
new 1d7af7e40d Remove debug messages
new 3036ef0394 disable quote_readline to get good whitespace handling
for bash 3.2 at least
new dda4697cfb included bash-completion into google env
new 02d1acf260 wordbreaks
new 3e1481741c remove messages
new 5b76fc4a33 remove wrong a=b variable prefix handling
new 3c58afdb0d expand file names in colon-separated paths
new fc96b621e2 pass all tests in bash-completion, new test for -send
new 0ffaad3ef0 wordbreak-split
new c28492a749 wordbreak before and after
new 5931a2ba43 completion-fix
new 6a0ada6278 completed test cases
new 581864111e integration test harness, process buffer cleanup, hidden
buffer
new 1c6b2efb67 enormous test
new 0dcf43f91e don't run integration tests by default
new 5501cb63cf Turn off mail warning
new 80cd654c35 turn off mailwarn and checkjobs, continue if this failed
new a78fd6b587 turn off mailwarn and checkjobs, continue if this failed
new 21eabde7f9 Reimplemented split
new 8b02aafc67 separators
new e515453141 from an alist to (string start stop)
new 6b1be0da4c from split to tokenize and parse
new 9f02a62609 re-enabled parse-line cursor at the beginning/in the
middle tests
new cc1a462415 tested complex line, detect escaped separators
new f5384c6176 A little refactoring, test case for wordbreak completion
new 062acfab3e updated documentation
new ba83e81651 bash-completion-generate-line
new a2d322fb79 Added customization group
new 42441e36b0 more documentation, a little refactoring
new 1144ae69a9 documented the tokenizer
new 376dd532e2 modre documentation, up until wordbreak
new a8b652d00a commented all functions
new 9ac7f58758 Gone through compgen
new b4fe25b51c update tests for latest refactorings
new 2390d5cdf3 more commends and documentation; still need a commentary
section
new 2d6ad3980a fixes for emacs 22
new 7697f1a87c comments about tried systems
new 3f86d75644 Trim strange results that are a subset of the current
value
new 7f0160d271 Trim strange results that are a subset of the current
value: test case
new 75e5de1494 fix initial completion
new 3efe7cb03c escape #
new 9583153e0b Fixed issue with wordbreak character being the first
character
new dd34b278bf stopping at point; the easy way
new aadb2e20b2 simplified bash-completion-parse-line
new c64ca7a992 simplified parse-current-command, all tests pass
new f1d8d73b42 changed comment
new ca24f8ada4 forward last open quote
new 8cc9c2fdc6 bugfix
new 679d6f7765 bugfix at try afterbreak
new 49ae0ada64 keep open quote
new 3ec615a4ef added id
new fd7e0e6fbe added documentation
new f9903d4bd4 ran checkdoc again, re-ran integration tests
new 6f7c2b8b4f removed initial version
new 6fb6bf5588 Mention ghardy bash version
new 8c771b10d1 fix typo
new 7615b1bda5 changed e-mail address
new 1aff6d8806 comment about shell-command
new 9ca7e3a77f Fixed errors in documentation
new 3eb77ec9c4 Moved shell configuration into config. Got rid of
*/init.el, going back to */subdirs.el
new 7dec35f302 Set MAIL to the empty string in case shopt -u mailwarn
is not enough (and it wasn't enough for me)
new 8a246f40da bash-completion-generate-line: add missing compgen
option to complete command (duh!).
new 97cace2287 Split shopt sets; if one fails the rest can run
new 52af1ff8f7 Really disable mail check this time ? Set MAILCHECK to -1
new 582b489fb3 Added message about mailcheck
new b4fc1a73cb removed unnecessary elisp directory
new db0545f469 Add a markdown README file
new c0f7c20a6b added license and missing test dependency
new 96d764fb18 removed unnecessary quote escapes in documentation
new 711ccc2df1 format example properly
new ffe8bc46a2 Ignore 'cd' stdout, in case someone (like me) is crazy
enough to override the builtin command
new 5661a34c4a updated test case for cd 2>/dev/null
new 33ed66e567 bash-completion-nospace option
new 7d6236e6e7 ignore .elc files
new cf42ed1057 add compatibility information for emacs 24.1.1 with OSX
10.7 / 10.8
new a2cf41d7fc put in accidentally removed blank line from README
new 583ecc7707 Merge pull request #1 from kemmason/master
new b1ff763566 Clear PROMPT_COMMAND when creating bash process
new aedcc114dc Minor fixes to eliminate byte-compiler warnings.
new 983f5c28e9 Merge pull request #2 from frankpzh/patch-1
new e77c841dac Merge pull request #3 from seanmcl/master
new 3859be798a Add support for complete -D.
new bab4cf6e8d Merge remote-tracking branch 'origin/master' into
complete_D
new 7f4bcd03a8 Avoid cluttering .bash_history with commands from
bash-completion.
new 007765fdd1 Make bash-completion.el work under emacs trunk.
new abeee42e65 Set comint-completion-addsuffix again in pre-emacs-24.1
mode.
new c8ddd11ec3 Fix tests after "Make bash-completion.el work under
emacs trunk."
new d2745d8923 Extended history, added a pointer to github
new 094da8d6f8 Fallback to comint-dynamic-simple-complete for
shellcommand, even under emacs 24.1 for now.
new 6413d662ba Rewrote the tests using ert instead of regress.
new 102316ebf9 Test bash-completion-dynamic-complete-standard instead
of bash-completion-dynamic-complete-legacy.
new d65f7e018d Skip integration tests if /bin/bash is not executable.
new dce43a54c5 Update comment in bash-completion-test
new 5209200f3b Using cl-letf instead of flet.
new 920bbc25bf Run integration tests successfully on system where "hel"
expand to more than just "help".
new acdedd0b48 Remove colon added by mistake in -test.el
new ec557d8949 shell-command.el is unnecessary, and has probably been
so for years... remove any mention of it. Remove the unnecessary -legacy
variant of bash-completion.
new bac0fb55f1 More integration test cleanup made possible by the move
to ert.
new 9588a9c0dd Updated README
new 1659c7ca38 Quoting fix: fix parentheses in a file name, improve
double quoting within double-quotes.
new b49dbe1457 Don't require obsolete and unused cl.
new 4e8090c081 Wrap use of obsolete fn in backward compatibility code
path.
new c5f2b2756f Define sz-testutils as a global variable.
new 0af9a70ff9 Merge pull request #16 from tarsius/master
new f085c41d8d Add defcustom for bash-completion-args
new d673bf1ed0 Merge pull request #17 from svend/bash-flags
new 8ca917f428 Stop escaping = in completion. fixes #18
new f639154925 Add bash-completion-dynamic-complete-nocomint for issue
#13
new 318e32979f Display completion progress message only if completion
takes too long. issue #12
new 8fa510a174 Fix comments in header of bash-completion.el: - Mention
bash-completion-dynamic-complete-nocomint introduced in f639154 - Remove
unnecessary history from header. Now pointing to github.
new dda29cb470 Fix backward-compatibility code for supporting pre-24
Emacs versions, broken by f639154.
new 319886faa9 Add / after directory names - even if they contain
spaces or special characters, escaped with \\.
new f3b11e1221 Preserve original, quoted version of the string being
completed when returning results.
new 2378b04eeb More easily call
bash-completion-dynamic-complete-nocomint, faking bash calls.
new f2ea2b65df Detect directories when expanding commands and add a
slash instead of a space. fixes #11
new 432c2d15c9 Add a space after the completion candidate for single
completion.
new 43348d0be1 Bugfixes: remove references to nonexistent variables,
such as bash-completion-open-quote, now that the mapcar hack to call
bash-completion-fix is gone. Also a small fix for the test.
new 44bc73449e Fixes strange behavior when completing --.
new b4757884b0 Expand the tests to better cover wordbreak and command
argument completion. Fixes a potential issue that might have caused an
unnecessary wordbreak completion to run when there were no wordbreak.
new 0f3f8c22b4 Add a space after a single custom completion.
new eacb8061e3 Fallback to filename completion when custom completion
didn't find anything.
new 6ab1fe406b Always quote the stub before passing it to compgen.
new 3ffc296e0b Close opened quote for all completion candidate that
don't end with a special character. Add a space afterwards, if it is a single
candidate or a command completion.
new 6bf1536325 Fix occasional escaping issue with candidates containing
quotes.
new 583d1dde61 Remove usage of seq-position with a custom
implementation.
new 21149fdc27 Introduce the variable bash-completion-start-files, that
allow configuring the shell files that are loaded on the bash completion
subprocess, by default ~/.emacs_bash.sh and ~/.emacs.d/init_bash.sh, to
preserve backward compatibility.
new 5e05365dc8 Cleanup tests, split them into unit and integration
tests.
new c444230670 Add run_tests.sh, to run tests from the command-line,
with specific versions of emacs or bash.
new a789093cd3 Run tests on older versions of Emacs.
new 081d03bedc Fix issue #21 completion bug
new 664452aca2 Merge pull request #22 from
kfogel/21-fix-completion-re-21149fdc
new 62c6567af6 Complete argument rename
new 1c2153d287 Call make-obsolete with three arguments
new 7965b914da Re-enable directory expansion for custom completion.
fixes #23
new 31bc1c1c21 Compile bash-completion.el before running tests.
new ad8d72c626 README nit pick ;)
new 2c0b8d6a6e Merge pull request #27 from vorburger/patch-1
new 6aedd69000 Delete duplicates when extracting candidates. fixes #26
new 09c93ffbdb Explicitly disable support for Emacs version older than
24.1.
new 5eb85cf1fc Remove obsolete functions
bash-completion-dynamic-complete-0 and bash-completion--try-wordbreak-complete.
new 9b94818f88 Remove support for pre-Emacs24.1 backward compatibility.
new c494a89070 Run tests under Emacs 24.1: alias letf to cl-letf.
new f523a290a6 Make the integration tests run on Emacs 24.1.
new 912e1e8153 Add an option to disable default Readline completion
when no matches are found (#29)
new 959e27dae3 Add remote shell support
new bbff4fa527 Merge branch 'master' of
github.com:szermatt/emacs-bash-completion
new a8f7de1e91 Merge remote-tracking branch
'montag451/remote-shell-support-rebase' fixes #8
new 0c77c64b50 Disable bash-completion-enable-caching if
completion-table-with-cache is unavailable, such as on Emacs 24.1.
new 68f7d937b7 Make wordbreak completion work with
bash-completion-enable-caching.
new 9521f79b33 Display the emacs command run by the tests.
new fc3f762d16 Track and support options -o default, filenames and
nospace.
new 2cf76221c2 Rely on compgen for default completion, instead of doing
it with another call to compgen. "-o default" implies filenames option.
new f01d8726de Remove support filenames options.
new 5171866b65 Simplify options a bit, since the only useful option is
nospace.
new a223260f2d Get rid of bash-completion-alist completely.
new c6df9be78d Store the alist as process property.
new 4f13e00702 Execute wordbreak completion "properly", as part of the
normal completion, instead of as an extra completion, when nothing matches.
new 8756e80737 Replace 'options' in the completion struct with
'nospace'.
new 34221c1fdd Make bash-completion-enable-caching the default, remove
the customization.
new 2c4cb6edd2 Replace bash-completion-integration-test with a
higher-level test for builtin completion.
new 8c3995aa98 run_tests.sh displays the bash command to test against.
new 0aed19067b When using Bash 4, split words as Bash 4 does.
new 4581a7823f Bash 4: set COMP_TYPE and COMP_KEY to TAB, to let
completion functions know they should do the full tab completion.
new 3eba6922e6 Use executable-find instead of hardcoding /bin/bash.
new fefe5ae88e Introduce bash-completion-remote-prog.
new 1d41c58bd5 Send initialization command as one string, as long as
possible.
new 0c4557a5ed Integration test for default completion (-D).
new 802eb4e5a8 Set EMACS_BASH_COMPLETE even on remote (tramp)
completion.
new c5d4f92e6d Still EMACS_BASH_COMPLETE using setenv for local
processes.
new 24088ede85 Explicitly mention compatibility with Bash 3 and 4.
new 0f6466eeb4 Tell minibuffer not to delay after displaying a message
while running the integration tests.
new fbdc78b877 Support compopt when using Bash 4.
new d99ad71050 Add a new option to disable the use of separate
processes to perform completion
new e7869dd68d Fix a bug when no process is associated with the current
buffer
new f1bd3d528f Improve some docstrings
new ce59fb017a Fallback to the use of a separate process if an error
occurs
new 24f78df106 Improve output handling
new cc9a3dcab4 Stop cluttering the Bash history
new 80be2f37a9 Check the buffer uses comint-mode before using the same
process
new 58447c67bf Merge the send functions
new 0a6fa499ad Fix one parameter name of
bash-completion--wait-for-prompt
new 3bd30eea3f Use the correct function to send string to completion
process
new fa49dbb382 Improve status code retrieval
new 2010d8bf9e Fix history uncluttering
new fd2f8e277e Improve prompt detection
new ffe0640440 Cosmetic changes
new bb044ff2f0 Try to handle prompts with ANSI escape sequences
new e7ee0a5e07 Add a new prop to completion process to detect if it has
been setup
new f1bd7b0e17 Use more meaningful names for the functions returning
completion processes
new 1e13f6ffa4 Apply the name changes introduced by the previous commit
in the test files
new 4d6fb40bec Accept output only from the process performing completion
new 61592a1ce1 bash-completion.el (bash-completion-quote): Add case for
empty string (#37)
new 504dd26b1d Use cl-defstruct instead of defstruct (#39)
new ac3bd404e8 Fix typos (#40)
new 96ce14af96 Fix typo (#41)
new f31bb46ff4 Making sure that line editing is turned off (#42)
new 7822d84812 Added Cask with ert-runner to compile and run test.
new 3210a44081 Makefile allows specifying the path to bash.
new 2178030cdf Allow running unit and integration tests separately.
new ba8be293a4 Added test workflow to run tests on multiple versions of
Emacs.
new 31a01859b2 Do not run tests under Emacs 24.1.
new 21471cc542 Report result of running the test workflow on README.md.
new c564aff656 Add workflow for testing on MacOS with BASH 3.
new 783a1e79f0 Add melpa and melpa-stable badges to README.
new d8f02ecbb1 Merge branch 'master' into use-separate-processes-opt
new 10569a4625 Fix bash-completion-test-send.
new 1b7ec87915 Fix byte-compilation error under Emacs 24 and 25.
new 98a2a21be7 Provide a way of refreshing the completion table.
new a2da7b910b Updated README to push for
bash-completion-use-separate-processes.
new fd3ba68800 Force bash-completion-use-separate-processes to t in
tests.
new 7f4410ebcb Extend integration tests to cover single-process
use-case.
new 0a757bd5f4 Test calling completion from non-comint and non-bash
shell buffers.
new f8c2083a14 Rename bash-completion-get-process.
new c25f2203f5 Fix typo and extend note about
use-separate-processes-opt.
new c99083233f Fix shell-type detection logic for remote processes.
new 4fcddf83c9 Make /etc/bash_completion scripts work with escaped
spaces.
new 685ed73df0 Allow completion to replace the word being completed.
new 7dc20e1b09 Use separate processes in integration tests when it
doesn't matter.
new a0a5816ce4 Attempt to make in-process execution more robust.
new 4a1d89f01e Support -o vi and emacs even in single-process mode.
new cad904abfd Redefine quote_readline from setup-bash-common.
new 2dbc7e61f6 Extend bash-completion-refresh to refresh everything,
test it.
new aec357fbf1 Test default completion with both value of
use-separate-process.
new 04393bca0f Apply filename post-processing even when prefix doesn't
match.
new 5447034cdc Respect completion-ignore-case setting from .inputrc.
new 38c82e5d59 Conserve quotes even when expanding case-insensitively.
new 6a66eeda45 Add test-case to cover tilde and tilde expansion.
new 42630fe6cc Fix test case to cover substring completion.
new 2a937b3763 Don't let Emacs post-filter completions built by bash.
new e95867c993 completion-table-with-cache captures and restore buffer
and variables.
new 8f33a2aac4 Better document calling bash-completion from
completion-at-point.
new 20feaf909d Fix markdown markup.
new 96d2cef799 Prepare for a 3.0 release.
new 4aafffe76a Create CONTRIBUTING.md
new 2b9eba14fa Update README.md
new 79ce50bec9 Update README.md title
new b9e519e2ad Fix typo
new 2684ea9e46 Fix issue with case-insensitive completion.
new 747920fdbf Avoid having to set BASH_COMPLETION.
new 6d74dd30ba Avoid interference from PROMPT_COMMAND in single process
mode.
new f15176ee59 Fix to properly evaluate PROMPT_COMMAND after restoring
it.
new b4ae893243 Test prompt and history manipulation, fix $? in prompt.
new 8713edbb92 Mention that completion works with bash 5
new 23a3402844 Trying to disable the warning on MacOS that breaks the
tests.
new 1598101f06 Remove the fallback to a separate process.
new 4b80c75c43 Take current directory from shell when in single-process
mode.
new ea5cc15b99 Let status code of compgen through when in
single-process mode.
new 18ed1504ce Add test cases for TRAMP shell.
new 5e623ac270 Revert "Add test cases for TRAMP shell."
new 23dbe5b537 Change minimum supported Emacs version from 24.1 to 24.3.
new c3797e0d09 Avoid running the same completion multiple times.
new 702859f319 Cleanup strings containing bash commands.
new 0210d346f1 Make bash-completion-use-separate-processes default to
nil.
new 19d4fec42f Use && instead of ; after cd, so completion fails if cd
fails.
new c584d4936b Explicitly ignore error from the history command.
new de033933bd Chain function definitions with && during setup.
new e24a596631 Make integration tests stabler.
new 51c7770758 Fix and update README.md
new c6decb1d6c Avoid escaping all non-ASCII characters.
new 4c216c4eea Add an integration test to cover multiple completion
results.
new 8f877dc2ce Let bash compute COMP_POINT, always at the end of
COMP_LINE.
new 377969faa7 Fix typos in README.md
new 12da4f0e91 Better handle slow completion functions.
new 054ecdfce3 ignore file ert-profile created by ert-runner
new 72e9fce93d Properly apply filter passed to the dynamic completion
function.
new 7a1f127851 Test and fix the dynamic table function that's returned.
new 3dbbd1beff Fix tests to run under Emacs 24.3.
new d47edb9d41 Bump version to 3.1, a bugfix release.
new 35d38fd3dc Workaround for output containing \r\n instead of \n.
new 666244383e Workaround for command-line being echoed.
new abb72c36b8 Merge branch 'master' of
github.com:szermatt/emacs-bash-completion
new faefaf6950 Add command M-x bash-completion-debug
new e35943f37e Fix backward-compatibility issue on 24.3: avoid using
alist-get.
new fa5557709e GitHub Actions now runs tests on Emacs 27.1.
new abbe3bc268 Cleanup implementation of bash-completion-debug.
new d6c28d3132 Add a troubleshooting section to README.md
new 0709a9803d Support newlines in the output of complete -p.
new fd853663ee Detect non-responsive processes more quickly.
new ca4fbce016 Turn off bash completion when non-bash prompts are
detected.
new d550256e3f Disable flakey test for now.
new 65e54c6f9c Temporarily revert fixes for issue #44.
new abe93ae2f6 Fix whitespace (#47)
new d9c97b741d Attempt to fix automated tests.
new df635e79fd Replace deprecated `cl` package with `cl-lib` (#50)
new c5eaeed156 Always ensure that a copy of the candidate list is
returned (#48)
new 29b5fc860a Shorten overly long docstring (#53)
new 8e9c20dbfe Replace or quote certain single quotes in docstrings
(#55)
- [nongnu] branch elpa/bash-completion created (now 8e9c20dbfe),
ELPA Syncer <=
- [nongnu] elpa/bash-completion 7dc290e1c7 003/313: exclude quotes from result, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 540f8f516a 011/313: build bash cmdline, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 6eebe8f965 016/313: cleaned up process launch, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 34d11220dd 024/313: add prefix if missing, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3036ef0394 028/313: disable quote_readline to get good whitespace handling for bash 3.2 at least, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ba83e81651 053/313: bash-completion-generate-line, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion f7bfc68ea2 001/313: bash completion, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion f5885ec87a 002/313: test case for bash-complete, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 208cb5ab76 007/313: Join, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 47a890dd72 010/313: launch process, send commands, ELPA Syncer, 2022/12/03