Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config in chemacs2 #1

Open
DarkBuffalo opened this issue Nov 24, 2022 · 4 comments
Open

config in chemacs2 #1

DarkBuffalo opened this issue Nov 24, 2022 · 4 comments

Comments

@DarkBuffalo
Copy link

Hello,
First of all congratulations, your configuration is great.
Is there a particular manipulation to integrate it with chemacs2?

@kimim
Copy link
Owner

kimim commented Dec 4, 2022

That's a good idea. But I am not familiar with chemacs2. I'll need some time to learn.

@kimim
Copy link
Owner

kimim commented Dec 4, 2022

could you have a try?

Clone to ~/.emacs.kimim

git clone https://github.com/kimim/kimim-emacs ~/.emacs.kimim

Add to chemacs2 profile

(("default" . ((user-emacs-directory . "~/.emacs.default")))
 ("kimim" . ((user-emacs-directory . "~/.emacs.kimim"))))

Start emacs with this config:

emacs --with-profile kimim

@DarkBuffalo
Copy link
Author

Thanks @kimim
here is the error encountered
we would say that it does not take into account the .emacs ?

Debugger entered--Lisp error: (void-variable kimim/path-kimim-emacs)
  (concat kimim/path-kimim-emacs "README.org")
  (defvar readme-org (concat kimim/path-kimim-emacs "README.org"))
  load-with-code-conversion("/home/darkbuffalo/kimim-emacs/init.el" "/home/darkbuffalo/kimim-emacs/init.el" t t)
  load("/home/darkbuffalo/kimim-emacs/init.el" t t)
  (let ((init-file (expand-file-name "init.el" user-emacs-directory))) (setq package-user-dir (expand-file-name "elpa" user-emacs-directory)) (load init-file t t) (let ((chemacs-custom-file (chemacs-profile-get 'custom-file init-file))) (if (not custom-file) (progn (setq custom-file chemacs-custom-file) (if (equal custom-file init-file) nil (if (file-exists-p custom-file) nil (let (...) (save-current-buffer ... ...))) (load custom-file))))))
  chemacs-load-user-init()
  load-with-code-conversion("/home/darkbuffalo/.emacs.d/init.el" "/home/darkbuffalo/.emacs.d/init.el" t t)
  load("/home/darkbuffalo/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1453e7b45ffc272a>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cdc35>) t)
  command-line()
  normal-top-level()

@kimim
Copy link
Owner

kimim commented Jan 28, 2023

I put the variables in kimim-emacs/early-init.el, if your chemacs2 do not have early-init.el in .emacs.d, you will not get variables configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants