hlolli / csound-mode

Emacs major mode for coding in Csound
41 stars 14 forks source link

Some requirements for Emacs26 #10

Closed sohet closed 1 year ago

sohet commented 4 years ago

I need following init elisp before installing csound-mode (20191108.2359) from melpa to Emacs26 (GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2019-02-04, modified by Debian).

;; for lexical-let* in csound-score.el
(require 'cl)

;; for ->, ->> in csound-mode.el, csound-repl.el, csound-score.el, csound-util.el
(require 'subr-x)
(defalias '-> 'thread-first)
(defalias '->> 'thread-last)

Then repl and editing mode for orchestra and score work fine including eldoc, but font-lock does not seem to work there (no colored text). Enabled minor modes are,

Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption
Blink-Cursor Display-Time Eldoc Electric-Indent File-Name-Shadow
Font-Lock Global-Eldoc Global-Font-Lock Line-Number Mouse-Wheel
Shell-Dirtrack Tooltip Transient-Mark
hlolli commented 4 years ago

ah yeh. I'm getting these from dash.el. I'm going to add that. Since I'm a clojure developer, I find the thread first and thread second currently from dash. I'm also writing tests now, that should catch these regressions.

sohet commented 4 years ago

Thank you very much for the fix. The status on my Emacs26 is,

sohet commented 4 years ago

After an awaiting fix, the status is,

sohet commented 1 year ago

Now latest version (csound-mode-20230825.946 in melpa) resolves all the issues above.