File: NEWS

package info (click to toggle)
lua-mode 20140514-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 400 kB
  • ctags: 387
  • sloc: lisp: 4,046; makefile: 37; sh: 26
file content (76 lines) | stat: -rw-r--r-- 2,644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
* release v20140514

** add support for Lua 5.2 goto statements

** when indenting, don't anchor to block-open tokens
   somefunc({
            ^
            don't indent next line relative to this brace

** fix several `indent-new-comment-line'-related bugs

** skip shebang line when sending to inferior buffer (issue #61)

** rewrite lua-send-region to use "loadstring" rather than "dofile"
   - sending code to processes on remote hosts is now supported
   - stack traces for errors occurred in sent code point to proper lines in files
   - script path is preserved when sending code (issue #55)
   - no more hang ups when waiting for input (issue #48) or after sending code
     with no output (issue #60)

** increase consistency with Emacs ecosystem to improve user experience
   - fix character syntax hacks: '.' is now punctuation and '_' is now symbol
   - remove number highlighting
   - font-lock "nil", "true" and "false" as constants rather than keywords

** make builtin font-locking more stable, enable it after ".." operator

** add missing modulo operator (%) to line-continuation tokens

** fix interaction with electric-pair-mode (issue #54)

** when unindenting block-close tokens consider all of them, not just the first one
     x = foobar('arg1', function ()
                  print('foobar')
     end)
     ^ this line starts with two block-close tokens and is unindented
     accordingly


* Release rel-20130419
** highlight hash-bang line as comment

** make lua-mode-hook editable via customize

** fix several indentation bugs & quirks

** fix lua-send-proc not to send previous function when point is at the beginning of a function

** derive lua-mode from prog-mode for Emacs24

** add font-locking for builtins and numeric constants

** fix a bug causing exponential complexity in a keyword matching regexp

** add more unindentation cases for block-closing tokens

** improve multiline highlighting via font-lock-syntactic-keywords
   This should make font-locking of multiline literals more fluent & stable.  And
   it becomes customizable via standard font-lock configuration

** properly fontify variable definitions in 'local ...' & 'for ...'
   Also, perform some basic syntax verification in those lines.  Multi-line
   constructs not supported yet.

** fix indentation for blocks starting on continued lines
     local foo =
        {
           bar,
           baz
        }  ^
           1. these lines should be indented properly now
     ^
     2. the following lines should be unindented properly now

** extend imenu-generic-expression
   Now it matches 'foo = function(...)' function definitions