patch - tab completion for quoted module and function names
Ulf Wiger
ulf.wiger@REDACTED
Fri Dec 18 00:18:18 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I thought I needed to try out the new patch submission procedure.
This is also my first Git adventure - hope I didn't mess up too
badly. :)
git fetch git://github.com/uwiger/otp.git shell_tab_completion
commit 6703530c922ffb7bc5fd56922c503228af15c0cf
Author: Ulf Wiger <ulf.wiger@REDACTED>
Date: Thu Dec 17 23:54:51 2009 +0100
Shell tab completion now works for quoted module and function names
While quoted atoms in module and function names are not common,
they are allowed, and sometimes quite useful. In OTP, they are
commonplace in ORBER, and can also be found in XMERL. Tab completion
needs to recognize quoted atoms and act accordingly. This patch
includes changes in edlin:over_word/1. It should be noted that these
changes also affect the 'kill word', 'forward word' and 'backward word'
commands in the line editor. The author thinks that the changes are
for the better. There are also minor changes in edlin_expand.erl -
mainly in regard to the conversion between atoms and strings.
Another change is that the list of matches is now sorted, partly
to simplify testing, but also because it seems sensible to present
the matches that way. A test suite, edlin_expand_SUITE, has been
added to the stdlib test suites.
BR,
Ulf W
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAksqvDoACgkQtqqFieqzed2mKwCgr1Yb+T6b7h1o58G2EZaDbqxT
Yp0Amwa4Wfu3jKMs38gENkfMPlZ9zV0R
=6C0s
-----END PGP SIGNATURE-----
More information about the erlang-patches
mailing list