-
Notifications
You must be signed in to change notification settings - Fork 35
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
Imcompatible with Emacs 25 #330
Comments
I don't have Emacs 25 (I'm still using emacs 24.3), but it seems like an eieio issue. Can you get a backtrace and let me know what version of eieio emacs 25 is using? |
The error message:
|
You could try to downgrade to ergoemacs-mode stable. Issue #322 reports the stable version works in emacs 25. |
I've tested all stable versions, BUT under emacs25 2014-10-03, ergoemacs-mode-5.14.7.3 works. |
I still have the same problem on Emacs 25.0.50.1 of 2015-03-12 with ergoemacs-mode 5.14.7.3 I'm waiting as well :) |
I agree. Perhaps someone can point me to some windows binaries. I do have some issues with finding where the issue is with the current backtrace. I think you would need to remove all the eieio |
I confirm the bug on GNU Emacs 25.0.50.1 (on linux) Error message: |
I sent an error message to the cedet development folks to see what is happening. I'm not sure what changed. |
A more complete backtrace is:
|
eieio has been rewritten their objects so they are no longer compatable... |
The latest unstable works with the new eieio implementation, at least for me. |
I will mark this as closed, unless anyone sees the problem again. |
ergoemacs-mode-20150318.1413 on GNU Emacs 25.0.50.1 2014-10-03 goes smoothly. BUT on GNU Emacs 25.0.50.1 snapshot 2015-03-13 still have the problem: Debugger entered--Lisp error: (invalid-slot-name "#" nil) |
Work-around for new eieio implementation. See #330 Conflicts: ergoemacs-theme-engine.el
I've also modified the last stable to have the work-around with emacs 25. I have also contacted Stefan Monnier about the eieio issue. |
Do you mean the branch 5.14.7.3.1? I use this latest stable with Emacs 25 snapshot, Debugger entered--Lisp error: (invalid-slot-name "#<ergoemacs-theme-component-map-list ergoemacs-theme-component-map-list>" standard)
signal(invalid-slot-name ("#<ergoemacs-theme-component-map-list ergoemacs-theme-component-map-list>" standard))
#[1027 "\300\301\302��!�D\"\207" [signal invalid-slot-name eieio-object-name] 8 "Method invoked when an attempt to access a slot in OBJECT fails.\nSLOT-NAME is the name of the failed slot, OPERATION is the type of access\nthat was requested, and optional NEW-VALUE is the value that was desired\nto be set.\n\nThis method is called from `oref', `oset', and other functions which\ndirectly reference slots in EIEIO objects.\n\n(fn OBJECT SLOT-NAME OPERATION &optional NEW-VALUE)"]([eieio-class-tag--ergoemacs-theme-component-map-list "" nil nil #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ( ...))] standard oset :map-list) |
Yes, I meant the branch 5.14.7.3.1; It worked in the emacs 25 that I downloaded (precompiled windows binaries, but I forget the revision). However, Stefan said that he ran into another error. He is trying to track it down from the eieio/emacs core perspective. On my end, I'm trying to remove eieio dependence. |
I haven't worked on other bugs since removing the eieio dependence changes the core structure of ergoemacs-mode. At that point, I will work on resolving the other bugs... |
The new branch |
I figured it might. It is also faster. However, it is very unstable currently. |
It no longer depends on eieio, but has some issues still. I need to rewrite some core funtions still and establish the command loop again. |
Yes, that new branch works much faster than |
If you are brave you can try it. I currently need to work on hooks for keymaps (which means that minibuffer keymaps may not behave as expected), local keymaps in the command loop, modal support, and allowing the command loop to recover if there is an error in emacs. Once that happens I will merge it into the main branch and then start working on incorporating backward compatible functions (such as generating a keyboard image). |
The master branch now may work correctly with emacs 25. I haven't verified this, though. It depends on eieio indirectly with persistent-soft, though I don't think that this is likely an issue with emacs 25. |
can't init both 24.4 and 25,
|
Yes, latest from branch master, I.e., the error occurs when the following sentence is enabled (ergoemacs-theme-component pan ()
"My personal modifications to ergoemacs-mode keys."
(global-set-key (kbd "C-'") 'ido-switch-buffer)
(global-set-key (kbd "<C-next>") 'next-buffer)
(global-set-key (kbd "<C-prior>") 'previous-buffer)
(global-set-key (kbd "M-t") 'ispell-word)
(global-set-key "\M-c" 'toggle-current-char-case)
(global-set-key "\C-e" 'eshell)
(global-set-key "\C-w" 'ergoemacs-close-current-buffer)
(global-set-key (kbd "C-S-o") 'xah-open-in-external-app)
(global-set-key (kbd "C-S-d") 'ergoemacs-open-in-desktop)
(global-set-key (kbd "M-;") 'comment-dwim)
(global-set-key (kbd "<menu> b") 'bbdb)
;; (global-set-key (kbd "<f6>") 'undefined)
)
(ergoemacs-require 'pan) |
error msg in minibuffer is:
|
Hm. I tried again to run emacs 24.4 and 24.5 and there was some issues. I will try again to get it to work correctly. |
(It was working earlier today... :() |
Maybe this is related to Issue #351 |
It seems to work for me now. |
Does anyone know if emacs 25 works? I don't have ready access to the unstable emacs 25. |
under GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.14.13) of 2015-08-11 on lgw01-06
|
@magichowl, if you can post a link to your configuration, I can try to see if I can figure out where this keymapp issue is coming from. |
Sorry for the delayed reply. Debugger entered--Lisp error: (void-function format-message)
format-message("The package `%s' has already been loaded by\npackage.el, attempting to load el-get version instead. To avoid\nthis warning either uninstall one of the el-get or package.el\nversion of %s, or call `el-get' before `package-initialize' to\nprevent package.el from loading it." dash dash)
apply(format-message "The package `%s' has already been loaded by\npackage.el, attempting to load el-get version instead. To avoid\nthis warning either uninstall one of the el-get or package.el\nversion of %s, or call `el-get' before `package-initialize' to\nprevent package.el from loading it." (dash dash))
lwarn(el-get :warning "The package `%s' has already been loaded by\npackage.el, attempting to load el-get version instead. To avoid\nthis warning either uninstall one of the el-get or package.el\nversion of %s, or call `el-get' before `package-initialize' to\nprevent package.el from loading it." dash dash)
el-get-do-init(dash)
el-get-init-and-install(nil)
el-get(sync)
eval-buffer(#<buffer *load*-883058> nil "/home/pan/.emacs.d/lisp/init-el-get.el" nil t) ; Reading at buffer position 1092
load-with-code-conversion("/home/pan/.emacs.d/lisp/init-el-get.el" "/home/pan/.emacs.d/lisp/init-el-get.el" nil t)
#<subr require>(init-el-get nil nil)
ad-Advice-require(#<subr require> init-el-get)
apply(ad-Advice-require #<subr require> init-el-get)
require(init-el-get)
eval-buffer(#<buffer *load*-133535> nil "/home/pan/.emacs.d/lisp/init-loadpackages.el" nil t) ; Reading at buffer position 330
load-with-code-conversion("/home/pan/.emacs.d/lisp/init-loadpackages.el" "/home/pan/.emacs.d/lisp/init-loadpackages.el" nil nil)
load("~/.emacs.d/lisp/init-loadpackages.el")
eval-buffer(#<buffer *load*> nil "/home/pan/.emacs.d/init.el" nil t) ; Reading at buffer position 1566
load-with-code-conversion("/home/pan/.emacs.d/init.el" "/home/pan/.emacs.d/init.el" t t)
load("/home/pan/.emacs.d/init" t t)
#[0 "�\205\262 my config is ;; ergoemacs-mode
(setq ergoemacs-theme nil)
(setq ergoemacs-keyboard-layout "us")
(el-get 'sync 'ergoemacs-mode)
(require 'ergoemacs-mode)
(setq ergoemacs-handle-ctl-c-or-ctl-x 'only-C-c-and-C-x)
(ergoemacs-mode 1)
;; the following remap is need only under windows' emacs
(when *windows*
(define-key key-translation-map (kbd "<apps>") (kbd "<menu>")))
(ergoemacs-theme-component pan ()
"My personal modifications to ergoemacs-mode keys."
(global-set-key (kbd "<C-next>") 'next-buffer)
(global-set-key (kbd "<C-prior>") 'previous-buffer)
(global-set-key (kbd "M-t") 'ispell-word)
(global-set-key "\M-c" 'toggle-current-char-case)
(global-set-key "\C-e" 'eshell)
(global-set-key "\C-w" 'ergoemacs-close-current-buffer)
(global-set-key (kbd "C-S-o") 'xah-open-in-external-app)
(global-set-key (kbd "C-S-d") 'ergoemacs-open-in-desktop)
(global-set-key (kbd "M-;") 'comment-dwim)
(global-set-key (kbd "<menu> b") 'bbdb)
(global-set-key "\M-s" 'other-window) ;; (global-set-key (kbd "<f6>") 'undefined)
)
;; (add-hook 'ergoemacs-mode-hook
;; (lambda ()
;; (ergoemacs-require 'pan)))
(ergoemacs-require 'pan)
;; customize keys start with <menu>
;; (global-set-key (kbd "M-s") 'ergoemacs-move-cursor-next-pane)
(global-set-key (kbd "C-\'") 'ido-switch-buffer)
(global-set-key (kbd "<menu>") nil)
(global-set-key (kbd "<menu> <C-prior>") 'previous-buffer)
(global-set-key (kbd "<menu> <C-next>") 'next-buffer)
(global-set-key (kbd "<menu> a") 'scratch)
(global-set-key (kbd "<menu> c") 'calendar)
(global-set-key (kbd "<menu> d") 'delete-rectangle)
(global-set-key (kbd "<menu> e") 'eshell)
(global-set-key (kbd "<menu> f") 'ergoemacs-copy-full-path)
(global-set-key (kbd "<menu> g") 'insert-register)
(global-set-key (kbd "<menu> r") 'copy-rectangle-as-kill)
(global-set-key (kbd "<menu> i") 'string-insert-rectangle)
(global-set-key (kbd "<menu> j") 'jump-to-register)
(global-set-key (kbd "<menu> m") 'mu4e-update-mail-and-index)
(global-set-key (kbd "<menu> n") 'rectangle-number-lines)
(global-set-key (kbd "<menu> p") 'ergoemacs-copy-dir-path)
(global-set-key (kbd "<menu> s") 'copy-to-register)
(global-set-key (kbd "<menu> t") 'transpose-words)
(global-set-key (kbd "<menu> v") 'yank-rectangle)
(global-set-key (kbd "<menu> x") 'kill-rectangle)
(global-set-key (kbd "<menu> SPC") 'point-to-register)
(global-set-key (kbd "<menu> <menu>") 'execute-extended-command)
(global-set-key (kbd "<menu> 8") 'bookmark-set)
(global-set-key (kbd "C-\"") 'bookmark-jump)
(provide 'init-ergoemacs) and under emacs 24.4.1 Error in post-command-hook (ergoemacs-map--modify-active): (wrong-type-argument stringp nil) occurs the first or second time calling |
From a clean state, I evaluated your code, and could not produce the issue. I also noticed the |
Maybe some of my configs implicitly conflict with ergoemacs-mode, I'll troubleshoot one by one. You may close the issue now. Thanks. |
Please let me know any issues you find. |
Are you using the melpa version? On Thu, Oct 6, 2016, 11:03 AM Alex notifications@github.com wrote:
|
Hi, I'm trying to get ergoemacs+emacs (25.1-x86_64-w64-mingw32) running on my office Windows 7 computer. However I get the following error on loading ergoemacs package: Ergoemacs 5.14.7.3 package was installed using elpa. This is the closest thread I could find on this error. Thanks! |
Here's the back-trace from emacs debug: |
Thanks. Sorry it took so long to get back to you. I haven't updated the stable melpa or elpa repository recently. I need to update this so it can be used on emacs 25.1 |
Glad to hear that. Will look forward to getting back on ergoemacs soon! And thank you! |
I have updated the stable melpa, but haven't updated the stable elpa. |
Hi Matt, Would you be updating the stable Elpa soon? If not I'll go ahead and add the melpa repo to my emacs. Thanks! |
I can't remember how. I need to find the help page again... On Mon, Oct 17, 2016, 12:57 PM SpaceSageSeven notifications@github.com
|
No worries. I just went ahead with the melpa repo. Thanks! :) |
Install ergoemacs-mode from melpa. It's work with Emacs 25.1 |
hello, here is my .emacs file (custom-set-variables after starting emacs there is a warning message: Pls let me know whats wrong with it. Regards |
Installing ergoemacs within Emacs 25 will lead to the following error message:
The text was updated successfully, but these errors were encountered: