I haven't used Evil, but according to Emacswiki:

http://www.emacswiki.org/emacs/Evil

there is a variable 'evil-emacs-state-modes' where you should probably put 
matlab-shell-mode to disable evil.   Matlab-shell-mode has a few matlab-isms in 
it that evil probably doesn't translate well anyway.  I'm guessing this will 
work since Evil is all about messing around with keymaps, which is where the 
menus are.

Good Luck
Eric

-----Original Message-----
From: Jiangzhi Chen [mailto:jzchenjzart...@gmail.com] 
Sent: Thursday, October 10, 2013 1:29 AM
To: matlab-emacs-discuss@lists.sourceforge.net
Subject: [Matlab-emacs-discuss] Issue of drop-down menu with Evil

Hi all,

I am using matlab-emacs and I found that the drop-down menus "MATLAB", 
"Complete", "In/Out" and "Signals" are duplicated. I have isolated the issue to 
the package Evil. With Evil mode, even if I temperarily turn off Evil mode 
before I start matlab-shell mode, emacs will show duplicate menu items. A 
minimal configuration to reproduce this problem (if you already have Evil and 
matlab-emacs installed) is

(add-to-list 'load-path "~/.emacs.d")
;; Evil
(evil-mode 1)
;; matlab
(add-to-list 'load-path "~/.emacs.d/matlab-emacs")
         (load-library "matlab-load")

This issue does no harm, but it is kind of ugly. I hope there is some way to 
fix or workaround it. 

Thanks,
Jiangzhi
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to