own-pt / mill

crunch textual wordnet data
Apache License 2.0
2 stars 1 forks source link

mill mode #15

Open hmuniz opened 5 years ago

hmuniz commented 5 years ago
odanoburu commented 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.
odanoburu commented 4 years ago

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.

odanoburu commented 4 years ago

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

arademaker commented 4 years ago

I updated the first comment. Two questions there. One item removed.

odanoburu commented 4 years ago

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?

arademaker commented 4 years ago

I don't know what would be the approach for "fill definition/example automatically"?

odanoburu commented 4 years ago

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