pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-mode devel/lua-mode: Update to Version 20201010



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67e5b7c5d83d
branches:  trunk
changeset: 441553:67e5b7c5d83d
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Thu Nov 05 22:34:33 2020 +0000

description:
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

diffstat:

 devel/lua-mode/Makefile |   8 ++++----
 devel/lua-mode/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (38 lines):

diff -r a2f24659c549 -r 67e5b7c5d83d devel/lua-mode/Makefile
--- a/devel/lua-mode/Makefile   Thu Nov 05 21:17:02 2020 +0000
+++ b/devel/lua-mode/Makefile   Thu Nov 05 22:34:33 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2020/07/02 10:26:17 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/11/05 22:34:33 nikita Exp $
 
-DISTNAME=      rel-${VERSION}
-VERSION=       20130419
+DISTNAME=      v${VERSION}
+VERSION=       20201010
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}lua-mode-${VERSION}
 CATEGORIES=    devel lua
 MASTER_SITES=  https://github.com/immerrr/lua-mode/archive/
@@ -11,7 +11,7 @@
 COMMENT=       Emacs major mode for editing Lua code
 LICENSE=       gnu-gpl-v2 # or newer
 
-WRKSRC=                        ${WRKDIR}/lua-mode-rel-${VERSION}
+WRKSRC=                        ${WRKDIR}/lua-mode-${VERSION}
 
 USE_LANGUAGES=         # none
 NO_CONFIGURE=          yes
diff -r a2f24659c549 -r 67e5b7c5d83d devel/lua-mode/distinfo
--- a/devel/lua-mode/distinfo   Thu Nov 05 21:17:02 2020 +0000
+++ b/devel/lua-mode/distinfo   Thu Nov 05 22:34:33 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 03:27:48 agc Exp $
+$NetBSD: distinfo,v 1.6 2020/11/05 22:34:33 nikita Exp $
 
-SHA1 (rel-20130419.tar.gz) = 8c199a29fba43185f7d1c1735b2ecf4fb1ef037e
-RMD160 (rel-20130419.tar.gz) = ad210b679ab26c5dd32d7a7d8d657aeb2d9bbcd3
-SHA512 (rel-20130419.tar.gz) = 1fecd953b5b08dad26345c6e0d2006f35f92082d7cd244e4d668808a2694271605f10eb15d7b62ab8fbdf029fa6bac8bcebe8c8d4ef782dbd63ebcce8abc8439
-Size (rel-20130419.tar.gz) = 26236 bytes
+SHA1 (v20201010.tar.gz) = 1b0d3b6f581592761360bccad09db6574a45f3a9
+RMD160 (v20201010.tar.gz) = 5b13ba9c57062d27ff18fc3fb5db8fa3ccef49a4
+SHA512 (v20201010.tar.gz) = 7df283c4a6445979b4ceb1e398d1b48e8967d2f631f33be3f58171758ceb613ea8a4c7a466975bbe77d2a361b70dc9f30b7a244be34a87de0e6434b61088a6a4
+Size (v20201010.tar.gz) = 42458 bytes



Home | Main Index | Thread Index | Old Index