./devel/lua-mode, Emacs major mode for editing Lua code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20210802nb1, Package name: lua-mode-20210802nb1, Maintainer: cheusov

Lua-mode is a major Emacs mode for editing source code written in Lua
programming language.


Required to run:
[editors/emacs26]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 52.449 KB

Version history: (Expand)


CVS history: (Expand)


   2022-08-17 14:43:43 by Tobias Nygren | Files touched by this commit (2)
Log message:
lua-mode: convert to github.mk
   2022-05-15 00:25:42 by David A. Holland | Files touched by this commit (90)
Log message:
Bump all elisp packages for the CONFLICTS change.
   2022-04-14 12:21:21 by Nikita | Files touched by this commit (2)
Log message:
lua-mode: Update to 20210802

Changelog from https://github.com/immerrr/lua-mode/tags

v20210802
 * performance optimizations for automatic indentation
  * lua-skip-ws-and-comments-forward, lua-skip-ws-and-comments-backward: add new
    functions
  * lua-comment-start-pos: make sure point inside comment starter "--" is
    considered inside comment
  * lua-funcname-at-point: refactor to avoid copying syntax table to improve
    performance
  * lua--signum: add backward compat helper
  * code cleanups & minor refactors
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-11-05 23:34:33 by Nikita | Files touched by this commit (2)
Log message:
devel/lua-mode: Update to Version 20201010

Changelog, taken from NEWS file and https://github.com/immerrr/lua-mode/releases:

v20201010
* minimum Emacs version requirement is now 24.3

* fix multiline literals propertization not to break subsequent syntax

* lua--fill-paragraph: fix to not move point away

* lua-default-application: ensure it is possible to use (HOST . PORT) to
connect to remote lua process

* lua-kill-process: clean up process-related variables

* lua-indent-nested-block-content-align, lua-indent-close-paren-align: new
variables to control placement of nested blocks and their respective closers.

With lua-indent-nested-block-content-align and lua-indent-close-paren-align set
to nil, it is now possible to auto-indent code like this:

foo = bar(baz, {
      qux,
      quux,
}, {
      xyzzy
})

* lua-rx: fix compatibility with new-style rx macros introduced in Emacs 27

* lua-start-process: ensure comint-prompt-regexp is set locally in inferior
process buffer

* make "git archive" revision format reproduceable by not including \ 
the date of
the archiving operation

* imenu: add "require" lines to the index

* lua-backward-up-list: new navigation command that puts point before the
current parenthetic construction/block

* lua-indent-line: improve auto-indentation of implicitly continued statements,
add some performance optimizations

* font-lock: stop highlighting syntax errors in assignment statements

* font-lock: add highlighting of function parameters and "for" loop \ 
variables

* font-lock: fix couple of corner cases of highlighting of keywords inside
strings and comments

* Release v20151025
** allow setting lua-indent-level as file local variable (issue #108)

** add luadoc keyword fontification (issue #71)

** fix comments being spilled into the code (issue #25)

** add `run-lua' alias for `lua-start-process' (issue #97)

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

** add builtin functions and modules for Lua 5.3 (issue #90)

** fix lua-beginning-of-proc matching (issue #85)

** add `lua-documentation-function' to customize the way the documentation is
   shown, rename `lua-search-url-prefix' to `lua-documentation-url',
   auto-detect lua documentation installed in /usr/share/doc/lua (issue #82)

** fix some errors with `lua-kill-process' (issue #69)

** improve `next-error' integration in Lua subprocess buffer: "stdin:N:"
   entries are no longer highlighted and no longer prompt for "stdin" files

* 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

** add support for local functions in imenu (issue #65)

** fix font lock of functions with underscores (issue #63)

** don't send shebang when sending lua buffer to subprocess (issue #61)

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

** 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
   2020-07-02 12:26:19 by Nia Alarie | Files touched by this commit (29)
Log message:
Add 'lua' category to Lua modules.

While here, normalize some packages with strange variable order.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.