Bug: Completition of categories and emojicons mixed up


(Robert) #1

Hello,

I have private subcategories with slug “private”. I mention them with #org:private

Unfortunately, when I entered the colon, I get suggestions for emojicons instead of categories (or sub categories).

Have a look here:


(Joshua Rosenfeld) #2

Thoughts on this @joffreyjaffeux?


(Sam Saffron) #4

Hmmm why are you including : in your category name, would it not be much simpler to call it #org-private then there is one less edge case to worry about.

There is a legit issue with the completion though cause test:hamburger: generates test:hamburger: and I incorrectly am getting the autocompleter here.


(Joffrey Jaffeux) #5

Yes I have the fix for not showing picker at that time, but filtering on sub categories when pressing : in a string starting with # would be a new feature and would require some non trivial changes to autocomplete.


(Sam Saffron) #6

I would just not worry about showing the emoji picker if it is directly after a letter. That is the bigger bug here.


(Robert) #7

I tried to remove redundancy in org:org-private in the category name and the path.