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

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

[nongnu] elpa/lua-mode 625ed2f 281/468: Move credits to AUTHORS, cleanup


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 625ed2f 281/468: Move credits to AUTHORS, cleanup Commentary section a bit
Date: Thu, 5 Aug 2021 04:58:53 -0400 (EDT)

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

    Move credits to AUTHORS, cleanup Commentary section a bit
---
 AUTHORS     | 39 +++++++++++++++++++++++++++++++++
 lua-mode.el | 72 +++++++++++--------------------------------------------------
 2 files changed, 52 insertions(+), 59 deletions(-)

diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..72cf433
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,39 @@
+Thanks to:
+
+- Thanks to Juergen Fuhrmann <juergen.fuhrmann@web.de> (tiny change)
+
+- Thanks to guoxx <guoxx@me.com> for imenu expression extension (tiny change).
+
+- Vedat Hallac <github.com/vhallac> for sharing some of his fixes and updates
+  to core indentation logics.
+
+- Julien Danjou <julien@danjou.info> for a patch deriving lua-mode from
+  prog-mode with define-derived-mode
+
+- Rafael Sanchez <rafael@cornerdimension.com> for patch adding lua-mode to
+  interpreter-mode-alist.
+
+- Thanks to Leonardo Etcheverry <leo@kalio.net> for enabling narrow-to-defun
+  and fixing lua-send-defun.
+
+- Thanks to Tobias Polzin <polzin@gmx.de> for function indenting patch: Indent
+  "(" like "{".
+
+- Thanks to Fabien <fleutot@gmail.com> for imenu patches.
+
+- Thanks to Simon Marshall <simonm@mail.esrin.esa.it> and Olivier Andrieu
+  <oandrieu@gmail.com> for font-lock patches.
+
+- Additional font-lock highlighting and indentation tweaks by Adam D. Moss
+  <adam@gimp.org>.
+
+- Juergen Hoetzel <juergen@hoetzel.info> for hard work maintaining lua-mode 
during
+  2006 -- 2010.
+
+- Reuben Thomas <rrt@sc3d.org> for hard work maintaining lua-mode during 2010
+  -- 2011.
+
+- Rolando Pereira <rolando_pereira@sapo.pt> for adding support for goto keyword
+
+Ideas:
+- thanks to d87 <github.com/d87> for an idea of highlighting lua builtins
diff --git a/lua-mode.el b/lua-mode.el
index 0106b1e..b8532f0 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -40,65 +40,18 @@
 
 ;;; Commentary:
 
-;; Thanks to d87 <github.com/d87> for an idea of highlighting lua
-;; builtins/numbers
+;; lua-mode provides support for editing Lua, including automatical
+;; indentation, syntactical font-locking, running interactive shell,
+;; interacting with `hs-minor-mode' and online documentation lookup.
 
-;; Thanks to Vedat Hallac <github.com/vhallac> for sharing some of
-;; his fixes and updates to core indentation logics
+;; Interesting variables:
+;; - `lua-indent-level': indentation offset
+;; - `lua-default-application': command to use as the interpreter
+;; - `lua-default-command-switches': arguments to the interpreter
+;; - `lua-search-url-prefix': url to use for documentation lookup
 
-;; Thanks to Rafael Sanchez <rafael@cornerdimension.com> for patch
-;; adding lua-mode to interpreter-mode-alist
-
-;; Thanks to Leonardo Etcheverry <leo@kalio.net> for enabling
-;; narrow-to-defun functionality
-
-;; Thanks to Tobias Polzin <polzin@gmx.de> for function indenting
-;; patch: Indent "(" like "{"
-
-;; Thanks to Fabien <fleutot@gmail.com> for imenu patches.
-
-;; Thanks to Simon Marshall <simonm@mail.esrin.esa.it> and Olivier
-;; Andrieu <oandrieu@gmail.com> for font-lock patches.
-
-;; Additional font-lock highlighting and indentation tweaks by
-;; Adam D. Moss <adam@gimp.org>.
-
-;; INSTALLATION:
-
-;; To install, just copy this file into a directory on your load-path
-;; (and byte-compile it). To set up Emacs to automatically edit files
-;; ending in ".lua" or with a lua hash-bang line using lua-mode add
-;; the following to your init file:
-;;
-;; (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
-;; (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
-;; (add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
-
-;; Usage
-
-;; Lua-mode supports c-mode style formatting and sending of
-;; lines/regions/files to a Lua interpreter. An interpreter (see
-;; variable `lua-default-application') will be started if you try to
-;; send some code and none is running. You can use the process-buffer
-;; (named after the application you chose) as if it were an
-;; interactive shell. See the documentation for `comint.el' for
-;; details.
-
-;; Lua-mode works with Hide Show minor mode (see ``hs-minor-mode``).
-
-;; Key-bindings
-
-;; To see all the keybindings for Lua mode, look at `lua-setup-keymap'
-;; or start `lua-mode' and type `\C-h m'.
-;; The keybindings may seem strange, since I prefer to use them with
-;; lua-prefix-key set to nil, but since those keybindings are already used
-;; the default for `lua-prefix-key' is `\C-c', which is the conventional
-;; prefix for major-mode commands.
-
-;; You can customise the keybindings either by setting `lua-prefix-key'
-;; or by putting the following in your .emacs
-;;      (define-key lua-mode-map <your-key> <function>)
-;; for all the functions you need.
+;; See "M-x apropos-command ^lua-" for a list of commands.
+;; See "M-x customize-group lua" for a list of customizable variables.
 
 
 ;;; Code:
@@ -681,8 +634,9 @@ Groups 6-9 can be used in any of argument regexps."
       (lua--setq-local syntax-propertize-function
                        'lua--propertize-multiline-bounds)
     (with-no-warnings
-     (lua--setq-local
-      font-lock-syntactic-keywords 'lua-font-lock-syntactic-keywords)))
+      ;; font-lock-syntactic-keywords are deprecated since 24.1
+      (lua--setq-local
+       font-lock-syntactic-keywords 'lua-font-lock-syntactic-keywords)))
   (lua--setq-local font-lock-extra-managed-props  '(syntax-table))
   (lua--setq-local parse-sexp-lookup-properties   t)
   (lua--setq-local indent-line-function           'lua-indent-line)



reply via email to

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