Comments (8)
Thanks for the report.
I've looked through, it appears that to reproduce that I need to download/install vagrant + travis image of emacs-lisp worker, don't I?
from lua-mode.
Uhm no. There is no such thing as a “travis image of emacs lisp work”…
You need install Lua mode from MELPA, and non-interactively run a piece of Emacs Lisp, that inserts file contents into a temporary buffer, and attempts to enable Lua mode, e.g. something like the following:
(with-temp-buffer
(insert-file-contents "foo" t)
(lua-mode))
That should freeze after printing prefix key set to "C-c"
to standard output, as described in the referenced Flycheck issue.
from lua-mode.
I did the following:
- created new user so that my configuration doesn't alter environment
- installed carton via
wget ...
command specified on its github page - cloned
flycheck
- ran
make deps
- ran carton
exec emacs --no-site-file --no-site-lisp --batch -l tests/testsuite.el -l tests/test-lua/test-lua.el
~/flycheck$ carton exec emacs --no-site-file --no-site-lisp --batch -l tests/testsuite.el -l tests/test-lua/test-lua.el
Running tests on Emacs 24.2.1
prefix key set to "C-c"
~/flycheck$
And it ran fine so far. I guess that's the same as you described, locally it runs OK.
from lua-mode.
You didn't run anything. You have to actually execute the test suite. Take a look at the Makefile
to see how.
But as said, you don't need to run the Flycheck test suite. Any kind of Emacs Lisp snippet like the one I sketched up will do.
from lua-mode.
Ok, figured that out, I guess:
~/flycheck$ ~/.carton/bin/carton exec emacs --no-site-file --batch -l tests/testsuite.el --eval '(ert-run-tests-batch-and-exit "lua")'
Running tests on Emacs 24.2.1
prefix key set to "C-c"
Running 1 tests (2013-03-19 16:36:54+0400)
passed 1/1 checker-lua-missing-quote
Ran 1 tests, 1 results as expected (2013-03-19 16:36:54+0400)
from lua-mode.
I guess that means you we're unable to re-produce this issue. I'll promise to check again myself ASAP, but please be patient, I've got a lot of other things to do currently.
from lua-mode.
I, too, have been unable to re-produce the issue in the latest MELPA packages of Lua mode. I am thus closing this issue. Please excuse the hassle.
from lua-mode.
Sure, no problem, glad it helped.
from lua-mode.
Related Issues (20)
- wrong syntax highlighting in long strings HOT 2
- highlighting and auto-indent problem with [[strings]] HOT 5
- 'local a =' makes '=' in warning face HOT 3
- Manually installation never working for emacs 27.0.90 HOT 3
- Please tag a new release HOT 4
- No highlighting in comment. HOT 5
- Very slow performance when inserting newlines HOT 5
- No license in the repository HOT 1
- sending whole buffer (lua-send-buffer) cause error
- Add an option to indent with tabs HOT 2
- unindenting 'end' without hitting RET HOT 2
- Indent lines of closers accroding to the first closer instead of the last closer HOT 3
- lua-send-buffer, unfinished string error HOT 1
- Extremely slow font-locking on lines with lots of dot operators HOT 1
- Extremely slow indentation inside tables HOT 3
- init-tryout ist distributed as part of the MELPA package
- Really bad performance while edit big lua table. HOT 3
- Support luacheck via Flymake HOT 1
- Indenting and new lines and other things I don't understand
- Indenting suggestion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-mode.