kosh04 / newlisp-mode Goto Github PK
View Code? Open in Web Editor NEWnewLISP editing mode for Emacs.
newLISP editing mode for Emacs.
Hi,
I'm working auto-completion integration for newLISP, which depends on your newlisp-mode(the repo is at: https://github.com/kkspeed/ac-newlisp). I've written a routine to eval newlisp command and read back(the newlisp-command routine). I think this routine should be part of newlisp-mode or there should be similar routines.
Thanks.
M-:
is a very important, general-purpose Emacs hotkey for evaluating Emacs Lisp commands. Please don't override this key to evaluate newLISP code.
As a workaround, I've added:
(use-package newlisp-mode
:init
(define-key newlisp-mode-map (kbd "M-:") nil))
to my .emacs
.
I believe smartparens should be disabled for the quote symbol (')
the problem is:
when using smartparens typing a quote ('), also inserts a matching quote, which I believe is unwanted for any newlisp programmer, in most lisp modes I've used this doesn't happen, I can setup smartparens manually, but when I tried to make it work with a hook, for some reason I need to load the mode twice before it works (atleast on my spacemacs setup).
I believe the maintainer of this would know how to fix this (I'm not very experienced with elisp)
Thanks.
I try to add newlisp-complete-symbol
to completion-at-point-functions
to make it can used by company-mode
.
But it still popup candidates in *Completions*
buffer.
completion-at-point-functions
is Emacs standard completion interface.
Hi, is it a good idea to install newlisp-mode via emacs package management?(elpa or something?)
Thanks.
Hi kosh!
I just realized that you renamed your repo newlisp-files
to newlisp-mode.el
when I tried today to do a git clone of newlisp-files
(the old name). :)
My issue is that now, in my .emacs
file, when I say (require 'newlisp)
, Emacs (on Windoze) will complain that it cannot find "newlisp" and drop into the debugger. This ceased to be a problem after I renamed the Emacs Lisp code file from newlisp-mode.el
to newlisp.el
. I was surprised that require, which at first surely tried to load newlisp.el
, did not also try to load newlisp-mode.el
when it couldn't find newlisp.el
.
Therefore, I recommend that you to rename the .el
(Emacs Lisp code) file from newlisp-mode.el
back to newlisp.el
.
In addition, I would recommend that you rename the repo (not the Emacs Lisp file) from newlisp-mode.el
to newlisp-mode
. However, this rename is not as essential as the other one, since I can git clone git://github.com/kosh04/newlisp-mode.el.git newlisp-mode
.
By the way, I am "rickyboy" on the newLISP Fan Club (discussion board) and I have already thanked you there for your very nice newLISP mode for Emacs, but I thank you again here! :)
Best, --Rick (rickyboy)
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.