Coder Social home page Coder Social logo

nsis-mode's Issues

Compile commands fail on 64 bit emacs

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.

void-variable nsis-start-keywords

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.

nsis-mode.el compiles with error

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 with special continuation line

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.