Open hmuniz opened 5 years ago
this flymake feature (found in the documentation of the flymake-diagnostic-functions
variable may help making fast (incremental) validations:
Currently, Flymake may provide these keyword-value pairs:
* :recent-changes, a list of recent changes since the last time
the backend function was called for the buffer. An empty list
indicates that no changes have been reocrded. If it is the
first time that this backend function is called for this
activation of flymake-mode, then this argument isn't provided
at all (i.e. it's not merely nil).
Each element is in the form (BEG END TEXT) where BEG and END
are buffer positions, and TEXT is a string containing the text
contained between those positions (if any) after the change was
performed.
I've slightly changed the syntax for lexical ids to not include spaces, but enclose the lexical id in square brackets: computer 1
becomes computer[1]
. this should make tokenization and searches easier, but will need to change the mode a bit.
I've updated https://github.com/own-pt/mill/wiki/Editor-Support with new features: go-to definition, list references, and sense TAB completion @arademaker @alexandretessarollo
I updated the first comment. Two questions there. One item removed.
I think it's better to ask the questions here! I've answered one of them, the other one I don't know what you mean — do you want to know how to implement it?
I don't know what would be the approach for "fill definition/example automatically"?
ah, I think this is a matter of WSD. I mean fill in the Emacs sense: https://www.gnu.org/software/emacs/manual/html_node/emacs/Filling.html
q
to exit)M-x mill-list-frames
q
to exit; by default this will only show you relations that match the current PoS and obj -- synset or wordsense)M-x mill-list-relations
M-q
) (how to make it?)