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

HELP no longer shows user words of a type #1155

Open
rebolbot opened this issue Jul 26, 2009 · 1 comment
Open

HELP no longer shows user words of a type #1155

rebolbot opened this issue Jul 26, 2009 · 1 comment
Labels

Comments

@rebolbot
Copy link
Collaborator

Submitted by: Sunanda

alpha-70:
b: copy []
help block!
block! is a datatype

It is defined as a series of values
It is of the general type block

Found these words:

   b               block!    length: 0
   datatypes       block!    length: 56

But alpha-76:

== []
>> help block!
block! is a datatype

It is defined as a series of values
It is of the general type block

Found these words:

   datatypes       block!    length: 56
***

Not sure exactly which version made the change. Probably related to the separation of user and system contexts,

CC - Data [ Version: alpha 76 Type: Bug Platform: All Category: Documentation Reproduce: Always Fixed-in:none ]

@rebolbot
Copy link
Collaborator Author

Submitted by: BrianH

Note that only the user context words are not shown. The system context words are shown:

>> help char!
char! is a datatype

It is defined as a 8bit and 16bit character
It is of the general type scalar

Found these words:

   backslash       char!     #"\"
   backspace       char!     #"^H"
   bs              char!     #"^H"
   cr              char!     #"^M"
   escape          char!     #"^["
   lf              char!     #"^/"
   newline         char!     #"^/"
   newpage         char!     #"^L"
   null            char!     #"^@"
   slash           char!     #"/"
   sp              char!     #" "
   space           char!     #" "
   tab             char!     #"^-"

Given that the user context will mostly be made up of duplicate words from the system context, solving this is not an easy problem. Nonetheless, we will need a solution, especially once the system and exports contexts are split as well.

Perhaps a couple refinements to HELP would be in order: /user (to search the user context instead) and /module name (to search the exports of a module). Maybe something less awkward than the /module option would be better...

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

No branches or pull requests

1 participant