Hi, I use Emacs with Matlab mode and its working absolutely great. There is one minor issue though. The semantic autocompletion parser scans every file in my Matlab directory (including all packages and examples). Thus it is incredibly slow when trying to autocomplete. Also if I stop typing after one character is starts scanning for possible autocompletions starting with that character which takes forever. Is there any way to exclude the matlab toolboxes and examples from the semantic scanner? I attached the relevant parts of my .emacs file below.
Thanks, Chris (add-to-list 'semantic-default-submodes 'global-semantic-idle-summary-mode t) (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t) ;;(add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t) ;; Enable Semantic (semantic-mode 1) ;;auto-complete (require 'auto-complete) (ac-config-default) (global-auto-complete-mode t) (require 'auto-complete-config) (ac-config-default) ;; start after 3 characters were typed (setq ac-auto-start 3) ;; show menu immediately... ;; MATLAB integration (add-to-list 'load-path "~/.emacs.d/matlab-mode") (load-library "matlab-load") ;; (require 'matlab) ;; (require 'mlint) (matlab-cedet-setup) ;; (add-to-list 'company-backends 'company-anaconda) (add-hook 'company-backends (lambda () (defvar company-backends '((company-anaconda))))) (defvar flycheck-matlab-mlint-executable "mlint") (eval-after-load 'flycheck '(require 'flycheck-matlab-mlint)) (autoload 'matlab-mode "matlab" "Matlab Editing Mode" t) (add-hook 'matlab-mode-hook 'auto-complete-mode) (add-hook 'matlab-mode-hook 'rainbow-delimiters-mode) (add-hook 'matlab-shell-mode-hook 'evil-emacs-state) (setq-default matlab-function t) (setq-default matlab-highlight-cross-function-variables t) (setq-default matlab-functions-have-end t) (setq-default matlab-show-mlint-warnings nil) (setq-default matlab-indent-function t) ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Matlab-emacs-discuss mailing list Matlab-emacs-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss