cjohansen / .emacs.d Goto Github PK
View Code? Open in Web Editor NEWMy Emacs config
My Emacs config
I like your preset, but only one thing:
C-x o
is bound to other-window
, but now it's bound to find-file-in-project
, so I cannot run other-window
again.
Can you improve this? maybe bound find-file-in-project
to another key?
Error when starting Emacs:
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "dash")
require(dash)
eval-buffer(#<buffer *load*-113912> nil "/Users/my-username/.emacs.d/settings/setup-package.el" nil t) ; Reading at buffer position 35
load-with-code-conversion("/Users/my-username/.emacs.d/settings/setup-package.el" "/Users/my-username/.emacs.d/settings/setup-package.el" nil t)
require(setup-package)
eval-buffer(#<buffer *load*> nil "/Users/my-username/.emacs.d/init.el" nil t) ; Reading at buffer position 2248
load-with-code-conversion("/Users/my-username/.emacs.d/init.el" "/Users/my-username/.emacs.d/init.el" t t)
load("/Users/my-username/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1ff9c7c183f1>) #f(compiled-function () #<bytecode 0x1ff9c7c19c0d>) t)
command-line()
normal-top-level()
Emacs version (installed via Homebrew):
$ emacs --version
GNU Emacs 27.2
Copyright (C) 2021 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
macOS version:
$ sw_vers
ProductName: macOS
ProductVersion: 12.1
BuildVersion: 21C52
Dash is installed on my system (version 6.2.2).
Hi
I am happy using your emacs configuration.
I meet some issue, using clojure.
Latest cider use the '-some->' function from dash, but site-lisp/dash is old.
When I run cider-connect, error occurred
Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 0)
nrepl--message-color()
nrepl-log-message((---> "op" "clone" "id" "1"))
An old version site-lisp/clj-refactor
Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 1)
nrepl-op-supported-p("artifact-list")
funcall(nrepl-op-supported-p "artifact-list")
(not (funcall pred it))
(if (not (funcall pred it)) (progn (setq result (cons it result))))
(let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result)))))
(while list (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result))))) (setq it-index (1+ it-index)) (setq list (cdr list)))
(let ((list list) (it-index 0)) (while list (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result))))) (setq it-index (1+ it-index)) (setq list (cdr list))))
(let (result) (let ((list list) (it-index 0)) (while list (let ((it (car list))) (if (not (funcall pred it)) (progn (setq result (cons it result))))) (setq it-index (1+ it-index)) (setq list (cdr list)))) (nreverse result))
-remove(nrepl-op-supported-p ("artifact-list" "artifact-versions" "clean-ns" "configure" "extract-definition" "find-debug-fns" "find-symbol" "find-unbound" "hotload-dependency" "rename-file-or-dir" "resolve-missing" "stubs-for-interface" "version" "warm-ast-cache"))
(let ((missing-ops (-remove (quote nrepl-op-supported-p) cljr--nrepl-ops))) (if missing-ops (progn (cider-repl-emit-interactive-err-output (format "WARNING: The following nREPL ops are not supported:\n%s\nPlease, install (or update) refactor-nrepl and restart REPL.\nYou can mute this warning by changing cljr-suppress-middleware-warnings." (s-join " " missing-ops))))))
cljr--check-nrepl-ops()
(if cljr-suppress-middleware-warnings nil (cljr--check-nrepl-ops) (cljr--check-middleware-version))
cljr--init-middleware()
run-hooks(nrepl-connected-hook)
nrepl-start-client-process("localhost" 57968)
cider-connect("localhost" 57968)
edn, inflections, hydra
Thanks
Warning (initialization): An error occurred while loading `/Users/mlb/.emacs.d/init.el':
Symbol's function definition is void: define-elnode-handler
Debugger entered--Lisp error: (void-function --each)
(--each packages (if (not (package-installed-p it)) (progn (package-install it))))
packages-install((....
init--install-packages()
I've tried this on mac(GNU Emacs 25.1.1) and linux(GNU Emacs 24.5), both got the same error.
I tried the method on bbatsov/prelude#312 ,
to delete all elc files and recompile. After restart emacs on my mac, it shows:
Debugger entered--Lisp error: (void-variable it)
packages-install((...
init--install-packages()
both errors refer to the same function packages-install
.
It seems Emacs does not recognize the --each...it
iteration.
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.