emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode b195cdc 205/468: Bump TODO


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode b195cdc 205/468: Bump TODO
Date: Thu, 5 Aug 2021 04:58:37 -0400 (EDT)

branch: elpa/lua-mode
commit b195cdc09b8573e6ef402fafeb539be4e215a146
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    Bump TODO
---
 TODO | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 51 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index 72f5153..a57e895 100644
--- a/TODO
+++ b/TODO
@@ -9,7 +9,55 @@
     - [[http://www.lua.org/manual/5.2/manual.html#9][syntax]]
     - [[http://www.lua.org/manual/5.2/#index][function index]]
 
-* TODO Support line-continuation with commas [0/2]
+
+* TODO Fontify function parameters as variable names
+* TODO Fontify variable names in line-continuation statements
+  - local
+      foo,bar,baz = xyz,xyyz,xyyz
+  - function xyzzy(
+        foo,
+        bar,
+        baz
+    )
+
+* TODO left-shift parenthesis that closes function parameter block
+  local foobar = function(
+      param1,
+      param2,
+      param3
+  )
+      dosmth()
+  end
+
+* TODO issue #33
+  a = 
+     {
+     }
+     b = 
+        {
+        }
+
+* TODO finish works in lua-compat branch for Emacs21/Emacs22
+
+* TODO put text property 'lua-last-stmt-begin
+  - continuation-line detection becomes a one-liner
+  - multiline fontification becomes easier
+  - beginning-of-defun is a one-liner
+
+  - if property value is a marker, it will get updated on each edit,
+    that's not necessary and might cause performance impact
+  - if property value is an integer, it needs to be updated before use
+    1. `buffer-access-fontify-functions' / `buffer-access-fontified-property'
+    2. maintain `stmt-begin-up-to-date-pos' point
+       - after-change function sets `stmt-begin-up-to-date-pos' to
+         (line-beginning-position)
+       - (defun get-stmt-beginning-pos (pos) ...)
+        - (when (< stmt-begin-up-to-date-pos pos)
+             ...
+             (setq stmt-begin-up-to-date-pos pos))
+         - return property at position pos
+
+* TODO Support line-continuation statements [0/2]
   - [ ]  assignments
     x,y = long_value,
           other_long_value
@@ -26,8 +74,6 @@
     contain more than one key) and all keys but the first one are
     silently removed. Maybe there's a better way to do it.
 
-* TODO [#C] Redo syntax engine using semantic/wisent
-
 * DONE Fix braces/parens that reduce indent by const offset
    this causes wrong behavior when indented block was
    anchored to first line, e.g.
@@ -42,3 +88,5 @@
   - [X] don't recognize [[ in comments or literals
   - [X] extend region backwards if BEGIN is inside multiline literal
   - [X] don't change buffer-modified-p state
+
+* TODO [#C] Redo syntax engine using semantic/wisent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]