Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document and change behavior of doc:find with no arguments #1818

Open
1 task done
krader1961 opened this issue May 27, 2024 · 0 comments
Open
1 task done

document and change behavior of doc:find with no arguments #1818

krader1961 opened this issue May 27, 2024 · 0 comments

Comments

@krader1961
Copy link
Contributor

What new feature should Elvish have?

The doc:find function when run with no arguments outputs all of the symbols (variable and function names) it knows about. This should be documented. It also outputs those symbols with a trailing colon (e.g., os:mkdir:) that should be omitted. It also only outputs symbols in the builtin: namespace without that namespace prefix. It is probably preferable that it output both forms; e.g., all and builtin:all. Whether the latter form should only be included if the user has explicitly done use builtin is an open question but I'm inclined to output both forms regardless of whether use builtin has been executed.

Output of "elvish -version"

0.21.0-dev.0.20240320065707-10fa3d2aaf67

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant