-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Rename prompter
concepts
#2601
Comments
But then |
Other than that, |
Oops, good point @aartaka. I forgot to update the
|
Well, there can be other shorter terms for current suggestion. Like |
The issue is that |
I mean, |
Fair. Let's wait for @Ambrevar's input. |
Well, Let's sleep over this. |
@Ambrevar I'd like to ping on this issue since it's extremely important. The prompt buffer entry on the manual is perhaps the most important one, since this special buffer is the main interface from the user's perspective. In other to write a proper entry, we need to settle on a set consistent concepts between When we reach consensus, let's incorporate this into #2630. |
I'm fine with the suggestion from the original post. |
Didn't add this bit as part of #2630 so that it would be easier to review. Will open a separate PR on that. |
While working on #2555, I noticed that
prompter
's concepts can be difficult to internalize.I suggest the following rename (reasoning below):
selection
->current-suggestion
selection-actions
->current-suggestion-actions
marks
->selection
marks-actions
->selection-actions
The key observation is that
marks
only exist whenmulti-selection-p
is non-nil, which immediately makes us think of a selection (a set of items). But that collides with our concept for "the current suggestion", which we call itselection
...In #2527 I have proposed
marks
to be a singular concept, andselection
falls in that category too. This proposal makes #2527 obsolete.With this rename the overview of the
prompter
library would be as follows.The text was updated successfully, but these errors were encountered: