own-pt / sensetion.el

Emacs word-sense annotation interface
GNU General Public License v3.0
4 stars 2 forks source link

dev: relax and restrict mode #141

Closed hmuniz closed 5 years ago

hmuniz commented 5 years ago

For now, we cant write a lemma to a token or glob if that lemma is not part of wordnet. In some projects, we need alow that. So it is important to create a restrict and a relax mode.

arademaker commented 5 years ago

I couldn't glob Late Cretaceous

hmuniz commented 5 years ago

9b183cef7d947a9250fdbb26a923eb803fc4a040 should implement the option to toggle the lemma restriction. To switch between relax and restrict mode you need to customize Sensation Restrict Lemmas variable. When you add a lemma in relax mode that is not in wn and contains a space you need to quote it: C-q <space> to really enter a space instead try completing.

See: https://stackoverflow.com/questions/17473478/how-to-enter-a-space-in-the-minibuffer-instead-of-completing-a-word

arademaker commented 5 years ago

@odanoburu , did you check this implementation? code review please.

odanoburu commented 5 years ago

we have done a code review, yes!

arademaker commented 5 years ago

We need to document how to configure the modes in the use-package command. Maybe it is time to start wikipages with documentations

odanoburu commented 5 years ago

I've added documentation about customization in 270661d678437cac777931a4335050ece8978f56

arademaker commented 5 years ago

README file? I asked to start to use the wiki! We will need to start to take documentation seriously.

odanoburu commented 5 years ago

keeping documentation up-to-date is much easier when it's close to the source code and under version control. plus every user reads the README file, most don't even know the wiki option.

if you want I can change it, but I find it more likely that it will become outdated.

another issue is that while we don't have a unified version a common wiki is recipe for confusion.

arademaker commented 5 years ago

A single README will not scale. wikis in GitHub are under version control too. But fine if we start another org file with documentation/manual. possible creating a doc/ folder.