mattfidler / nsis-mode Goto Github PK
View Code? Open in Web Editor NEWNSIS mode for editing NSIS files
NSIS mode for editing NSIS files
The compile commands use (getenv "ProgramFiles")
to find the NSIS executables. This doesn't work on a 64 bit machine with 64 bit emacs because NSIS is currently 32 bit. It can be fixed as a kludge by substituting (getenv "ProgramFiles(x86)")
, but that might not work on a 32 bit machine. I don't know enough about emacs Lisp to come up with a generic solution.
Worked fine when I installed it from elpa. However, if I shut down Emacs and, later, restart it, going to a .nsi file gets me an error:
File mode specification error: (void-variable nsis-start-keywords) defvar: Symbol’s value as variable is void: nsis-start-keywords File mode specification error: (void-variable nsis-start-keywords) [2 times]
Only way I can recover from this that I've found so far is by re-installing nsis mode from elpa.
This is using Emacs 29.1 on Windows 11.
Hello,
Whenever we use "name" or "caption" in a define it gets wrongly highlighted:
Basically all the words in https://github.com/mattfidler/nsis-mode/blob/master/nsis-mode.el#L128 are highlighted too greedy not matter what.
nsis-mode.el:949:5: Error: Symbol’s value as variable is void: nsis-syntax-variable
this error happens in batch mode emacs -Q --batch --eval '(byte-compile-file "nsis-mode.el")'
and interactively via menu with Emacs
Emacs hangs, if a continuation line starts with an equal sign.
How to reproduce:
load a file with nsis-mode
;====== snippet begin ====
MessageBox MB_OK "Installation failed!$\r$\n
#= abort installation"
MessageBox MB_OK "Installation failed!$\r$\n
= abort installation"
;====== snippet end ====
delete the hash => emacs hangs immediately and needs to be killed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.