Timeline for Read a sentence with completion for words from a collection
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 1, 2017 at 21:43 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Aug 2, 2017 at 21:31 | history | edited | AlwaysLearning | CC BY-SA 3.0 | deleted 88 characters in body |
| Aug 2, 2017 at 21:29 | answer | added | AlwaysLearning | timeline score: 1 | |
| Aug 2, 2017 at 21:03 | history | edited | AlwaysLearning | CC BY-SA 3.0 | added 144 characters in body |
| Aug 2, 2017 at 9:17 | comment | added | wvxvw | Also, you may find that Prolog already offers a very similar interface. Unless you know this already, a Prolog program consists of a database (the part written by the programmer, typically the larger body of the whole product), and the interactive prompt, where users can query the database (created dynamically, while using the database). There are also some bindings of Prolog to relational databases, s.a. SQLite. I'd be very interested to see an integration of Prolog with Emacs, where you could query a database in a "prolog way" from minubuffer. | |
| Aug 2, 2017 at 9:12 | comment | added | wvxvw | Sorry, I got confused by the comments suggesting "a temporary buffer". | |
| Aug 2, 2017 at 9:08 | comment | added | AlwaysLearning | @wvxvw I don't see the similarity between regexp-builder and what I am describing... | |
| Aug 2, 2017 at 6:43 | comment | added | wvxvw | You may want to look at the source of regexp-builder as the way you describe the interaction is similar to what it does. You may also find sphinxsearch.com to be of interest since it has a query language similar to what you describe and can produce results later useful for completion (it can sort the search results intelligently based on query parameters). | |
| Aug 2, 2017 at 6:13 | comment | added | AlwaysLearning | @Drew I tried to pass the company mode's keymap to read-from-buffer in the post that I cited in my comment above and it still did not work... | |
| Aug 1, 2017 at 23:43 | history | edited | Drew | edited tags | |
| Aug 1, 2017 at 23:42 | comment | added | Drew | Yes, it can. I just thought it might be less confusing for a user and easier for you, since you don't have to bother with the minibuffer keymaps. | |
| Aug 1, 2017 at 21:52 | comment | added | AlwaysLearning | @Drew Why do you say "a temporary buffer"? Can't completion work in the mini-buffer? Please see my post where I report trying this out: emacs.stackexchange.com/q/34593/16048 | |
| Aug 1, 2017 at 20:19 | comment | added | Drew | Have you tried letting the user work in a temporary buffer to construct the query expression, completing individual names in that buffer using completion-at-point? | |
| Aug 1, 2017 at 20:18 | history | rollback | AlwaysLearning | Rollback to Revision 2 | |
| Aug 1, 2017 at 20:17 | history | edited | Drew | edited tags | |
| Aug 1, 2017 at 20:17 | history | edited | AlwaysLearning | CC BY-SA 3.0 | edited title |
| Aug 1, 2017 at 19:40 | history | asked | AlwaysLearning | CC BY-SA 3.0 |