-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Question mark (?) command fails to find documentation for named argument #1735
Comments
There is a problem with the “name” of a command in that commands are case and package independent but the file manager doesn’t know that. So while the symbols SEE, see, CL:SEE and the strings "see" and "SEE" can be used to invoke the command, Without getting too far ahead of the design issues around commands vs.functions, I would propose that we name a command with the INTERLISP package symbol all uppercase as the 'canonical' way of defining a command i.e. the DEFCOMMAND definer would (IL:MKATOM (IL:UCASE NAME)) and similarly the COMMANDS and WHERIS database. This is a general problem but in this case the ? command in the CL Exec seems to pick up on xcl-user::? |
In PRINT-ALL-DOCUMENTATION only one of two places was checked for the documentation string. (Also, MAKEFILE updated the LAMA variable in the CMLEXECCOMS.) Issue #1735
The command |
Describe the bug
The ? command alone displays documentation for all commands. If given a FUNCTION or COMMAND name, it reports "No documentation found". (I did not check with other definition types that have documentation strings.)
To Reproduce
Steps to reproduce the behavior:
? see
[enter]No documentation found
is displayed?
[enter]Expected behavior
The documentation for the named argument is correctly displayed.
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: