Skip to content

Commit

Permalink
todo update
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarco committed Jun 11, 2020
1 parent 2fa8f5f commit 4b775fa
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions todo.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,26 @@
* Do it now
** DONE cdlatex accents
And use the accent engine to make the ~abar -> \bar{a}~ style snippets.
** TODO Decide what cdlatex snippets to keep
** TODO Decide syntax for power
Needed expansions: =^i=, =^j=, =^ij=, =^k=, =^n=, and maybe =+1= versions too
*** Options
We only need to consider collisions with words that start with 1 alphabet letter
and then one of these expantions, see regexes.
**** =p= prefix
=pi=, =pj=, =pn=. Matching regex: =^[A-Za-z]p[ijkn]=
**** =p= postfix
=ip=, =jp=, =np=. Matching regex: =^[A-Za-z][ijkn]p=
*** TODO check regexes against English words
** TODO Try to find how to generate undo entries
So users can easily undo expansions. Maybe even bind DEL in a transient map
after expansions to undo expansions.

Look at ~buffer-undo-list~ and how smartparens does it.
** STRT Org table <-> elisp code pipeline
The table -> code is preferable I think
*** TODO Figure what to
The table -> code is preferable I think. Currently we have code -> table but
we'd need to separate into separate vars holding snippet list source in order to
format it to separate tables.
** DONE Yasnippet expansions
Store the snippets source in a list/hashmap instead of separate files.
*** DONE Smart frac
Expand Down

0 comments on commit 4b775fa

Please sign in to comment.