Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mill mode #15

Open
10 of 14 tasks
hmuniz opened this issue Aug 20, 2019 · 7 comments
Open
10 of 14 tasks

mill mode #15

hmuniz opened this issue Aug 20, 2019 · 7 comments

Comments

@hmuniz
Copy link
Contributor

hmuniz commented Aug 20, 2019

  • fontification
  • indentation
  • go to definition
  • show related synsets in two different wordnets side-by-side
  • find references
  • checker
  • list
    • frames (if you press ENTER it inserts the frame number for you, several frames may be picked; press q to exit) M-x mill-list-frames
    • relations (if you press ENTER it inserts the relation code for you; press 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
  • interactive features:
    • new synset creation
    • add frame/relation (show help text)
  • fill definition/example automatically (normally bound to M-q) (how to make it?)
  • syntax-highlight:
    • syntactic markers
      image
    • comments (properly -- currently comments will be highlighted even where they are not allowed)
@hmuniz hmuniz mentioned this issue Aug 20, 2019
@odanoburu
Copy link
Collaborator

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 added a commit that referenced this issue Sep 5, 2019
@odanoburu
Copy link
Collaborator

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 added a commit that referenced this issue Nov 29, 2019
related to #15

** add nomlex relations

** use new lexical id syntax

hopefully it's less buggy now

** better rx
@odanoburu
Copy link
Collaborator

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
Copy link
Member

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

@odanoburu
Copy link
Collaborator

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
Copy link
Member

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

@odanoburu
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants