completion_mode setting

Bug #2099780 reported by ownedbycats
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

ID: completion_mode

By default, when completing items, calibre will show you all the candidates that start with the text you have already typed. You can instead have it show all candidates that contain the text you have already typed. To do this, set completion_mode to 'contains'. For example, if you type asi it will match both Asimov and Quasimodo, whereas the default behavior would match only Asimov.

I think would be useful to have one that separates it by the delimiting period that's used in hierarchy (sorry, don't remember words).

Example where tag is "Sci-Fi.Isaac Asimov" if you type isaa it finds it because it's after the period. But not for asi.

Is it feasible?

Revision history for this message
Kovid Goyal (kovid) wrote :

I dont follow, asi is also after the period, so I dont see why it
wouldnt be found?

Changed in calibre:
status: New → Incomplete
Revision history for this message
ownedbycats (ownedbycats) wrote :

I want to find the first thing after the period.

Revision history for this message
Kovid Goyal (kovid) wrote :

Sorry still dont follow, you want to type asi and have it match which
tag exactly?

Revision history for this message
ownedbycats (ownedbycats) wrote :

The entire tag. So put in "Sci" or "Isaac" and they would match because the first. But "fi" or "asimov" wouldn't match.

Revision history for this message
Kovid Goyal (kovid) wrote :

Ah you mean in the mode where you arent matching on contents but on
start.

Revision history for this message
ownedbycats (ownedbycats) wrote :

Yes. Maybe a new setting.

Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.