You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(9) |
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
(3) |
2010 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(13) |
May
(2) |
Jun
(4) |
Jul
(4) |
Aug
(4) |
Sep
|
Oct
(4) |
Nov
(2) |
Dec
(4) |
2011 |
Jan
(11) |
Feb
|
Mar
(18) |
Apr
|
May
(1) |
Jun
(12) |
Jul
(10) |
Aug
(4) |
Sep
(4) |
Oct
(5) |
Nov
|
Dec
(10) |
2012 |
Jan
(4) |
Feb
(26) |
Mar
|
Apr
(1) |
May
|
Jun
(8) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(14) |
Nov
(1) |
Dec
(2) |
2013 |
Jan
(5) |
Feb
(2) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
|
Jul
(8) |
Aug
(4) |
Sep
|
Oct
(7) |
Nov
(2) |
Dec
(7) |
2014 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
|
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(7) |
Oct
(9) |
Nov
(9) |
Dec
(5) |
2015 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
(10) |
Jul
(3) |
Aug
(4) |
Sep
(8) |
Oct
(1) |
Nov
(3) |
Dec
(3) |
2016 |
Jan
(12) |
Feb
(59) |
Mar
(23) |
Apr
(11) |
May
(4) |
Jun
(15) |
Jul
|
Aug
|
Sep
(9) |
Oct
(19) |
Nov
(12) |
Dec
(5) |
2017 |
Jan
(1) |
Feb
(5) |
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(5) |
Aug
|
Sep
(3) |
Oct
(12) |
Nov
(15) |
Dec
|
2018 |
Jan
(7) |
Feb
(6) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(2) |
Oct
(4) |
Nov
|
Dec
|
2019 |
Jan
(2) |
Feb
(9) |
Mar
(4) |
Apr
(9) |
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(6) |
Dec
(5) |
2020 |
Jan
(9) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(28) |
Dec
(5) |
2021 |
Jan
(11) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(15) |
Jun
(9) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(3) |
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(4) |
Jun
|
Jul
(22) |
Aug
(3) |
Sep
|
Oct
(1) |
Nov
|
Dec
(14) |
2024 |
Jan
|
Feb
|
Mar
|
Apr
(17) |
May
(35) |
Jun
(1) |
Jul
(18) |
Aug
(31) |
Sep
(5) |
Oct
(18) |
Nov
(20) |
Dec
(9) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eric L. <Eri...@ma...> - 2013-10-28 21:18:25
|
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:jzc...@gm...] Sent: Thursday, October 10, 2013 1:29 AM To: mat...@li... 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 Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2013-10-28 21:17:48
|
Hi Jack, That sounds like a good idea to me. Thanks for considering it. If you have suggestions on how to then update any download / INSTALL doc, let me know and I can push those changes. Thanks Eric From: Jack Morrison [mailto:Jac...@gm...] Sent: Monday, October 21, 2013 9:23 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Submit Matlab mode to MELPA Hi, I was wondering if anyone on this list had thought about submitting this code to MELPA (http://melpa.milkbox.net/) so that it could be installed in Emacs 24 with package.el. MELPA pulls straight from CVS, so no changes should be necessary to matlab-emacs. If no one opposes, I'd be happy to submit it. Cheers, Jack |
From: Jack M. <Jac...@gm...> - 2013-10-21 13:23:48
|
Hi, I was wondering if anyone on this list had thought about submitting this code to MELPA (http://melpa.milkbox.net/) so that it could be installed in Emacs 24 with package.el. MELPA pulls straight from CVS, so no changes should be necessary to matlab-emacs. If no one opposes, I'd be happy to submit it. Cheers, Jack |
From: Hunter M. <hun...@gm...> - 2013-10-11 14:48:05
|
Hi Xu, I am glad someone else ran into this issue... I actually called MathWorks about it and stumped them for a short while... Till we discovered that Matlab-emacs changes the "Editor" matlab uses. Go to Preferences->Editor/debugger and change the Editor back to "MATLAB Editor". Hope this works for you too! -Hunter On Fri, Oct 11, 2013 at 1:15 AM, Xu He <xu...@gm...> wrote: > Dear all, > > Following the install guide, I setup the matlab-emacs on my ubuntu 12.04 > system, and I can edit and run the m file with emacs. > > But I can not open nor edit m file with matlab. When I open the file in > the matlab window, > nothing happens. > > I tried to eliminate the lines about matlab-emacs in ~/.emacs file, but the > problem can not be solved. > > I need to edit and run the file in matlab. Thanks for any help. > > Best regards, > Xu He > > -- > Xu He > Postdoctor, > State Key Laboratory of Robotics, Shenyang Institute of Automation > (SIA),Chinese Academy of Sciences, > NO.114, Nanta Street, Shenhe District, Shenyang City, 110016, P.R. China > > Office D.307 > Tel. +86 024 23970713 > > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > |
From: Xu He <xu...@gm...> - 2013-10-11 05:15:30
|
Dear all, Following the install guide, I setup the matlab-emacs on my ubuntu 12.04 system, and I can edit and run the m file with emacs. But I can not open nor edit m file with matlab. When I open the file in the matlab window, nothing happens. I tried to eliminate the lines about matlab-emacs in ~/.emacs file, but the problem can not be solved. I need to edit and run the file in matlab. Thanks for any help. Best regards, Xu He -- Xu He Postdoctor, State Key Laboratory of Robotics, Shenyang Institute of Automation (SIA),Chinese Academy of Sciences, NO.114, Nanta Street, Shenhe District, Shenyang City, 110016, P.R. China Office D.307 Tel. +86 024 23970713 |
From: Jiangzhi C. <jzc...@gm...> - 2013-10-10 05:29:36
|
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 |
From: André L. T. R. <and...@gm...> - 2013-08-18 22:16:03
|
On Fri, 2013-08-16 at 23:53 +0000, mat...@li... wrote: > Today's Topics: > > 1. Emacs matlab-mode (Andr? Luiz Tietb?hl Ramos) > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 17 Jul 2013 08:00:45 -0300 > From: Andr? Luiz Tietb?hl Ramos <and...@gm...> > Subject: [Matlab-emacs-discuss] Emacs matlab-mode > To: mat...@li..., el...@ma... > Message-ID: <1374058845.8334.11.camel@Sigmatech> > Content-Type: text/plain; charset="utf-8" > > Hello, > > I'm trying to use this mode in ubuntu 13.04 to no avail and would like > your support. CEDET 1.1 is installed. The relevant parts of my .emacs > are below. > > CEDET: > > ;; Load CEDET. > ;; See cedet/common/cedet.info for configuration details. > ;; IMPORTANT: For Emacs >= 23.2, you must place this *before* any > ;; CEDET component (including EIEIO) gets activated by another > ;; package (Gnus, auth-source, ...). > (load-file "/usr/share/emacs/site-lisp/cedet-1.1/common/cedet.el") > ;; (load-file "~/cedet-VERSION/common/cedet.el") > ;; Enable EDE (Project Management) features > (global-ede-mode 1) > ;; Enable EDE for a pre-existing C++ project > ;; (ede-cpp-root-project "NAME" :file "~/myproject/Makefile") > ;; Enabling Semantic (code-parsing, smart completion) features > ;; Select one of the following: > ;; * This enables the database and idle reparse engines > (semantic-load-enable-minimum-features) > ;; * This enables some tools useful for coding, such as summary mode, > ;; imenu support, and the semantic navigator > (semantic-load-enable-code-helpers) > ;; * This enables even more coding tools such as intellisense mode, > ;; decoration mode, and stickyfunc mode (plus regular code helpers) > ;; (semantic-load-enable-gaudy-code-helpers) > ;; * This enables the use of Exuberant ctags if you have it installed. > ;; If you use C++ templates or boost, you should NOT enable it. > ;; (semantic-load-enable-all-exuberent-ctags-support) > ;; Or, use one of these two types of support. > ;; Add support for new languages only via ctags. > ;; (semantic-load-enable-primary-exuberent-ctags-support) > ;; Add support for using ctags as a backup parser. > ;; (semantic-load-enable-secondary-exuberent-ctags-support) > ;; Enable SRecode (Template management) minor-mode. > ;; (global-srecode-minor-mode 1) > > MATLAB: > > ;; MATLAB mode > ;; Replace path below to be where your matlab.el file is. > ;; Add matlab location > (add-to-list 'load-path "/opt/matlab/bin") > ;; (add-to-list 'load-path > "/usr/share/emacs/site-lisp/emacs-goodies-el") > (add-to-list 'load-path "/usr/share/emacs/site-lisp/matlab-emacs") > ;; (add-to-list 'load-path > "/home/andreltr/Documents/matlab/matlab-emacs/") > (require 'matlab-load) > (autoload 'matlab-mode "matlab" "Enter MATLAB mode." t) > (setq auto-mode-alist > (cons '("\\.m\\'" . matlab-mode) auto-mode-alist)) > (autoload 'matlab-shell "matlab" "Interactive MATLAB mode." t) > ;; Turn off Matlab desktop > (setq matlab-shell-command-switches '("-nodesktop -nojvm")) > ;; User Level customizations (You need not use them all): > (setq matlab-indent-function-body t) ; if you want function bodies > indented > (setq matlab-verify-on-save-flag nil) ; turn off auto-verify on save > (defun my-matlab-mode-hook () > (setq fill-column 76)) ; where auto-fill should wrap > (add-hook 'matlab-mode-hook 'my-matlab-mode-hook) > (defun my-matlab-shell-mode-hook () > '()) > (add-hook 'matlab-shell-mode-hook 'my-matlab-shell-mode-hook) > ;; Enable CEDET feature support for MATLAB code. (Optional) > (matlab-cedet-setup) > ;; (autoload 'tlc-mode "tlc" "tlc Editing Mode" t) > (add-to-list 'auto-mode-alist '("\\.tlc$" . tlc-mode)) > (setq tlc-indent-function t) > > When I open a very simple .m file such as for instance one with the code > a=2 only, the matlab shell is not open and I receive the message Output > file descriptor of MATLAB is closed. Would anyone know how to solve this > issue? > I found the solution through the emacs newsgroup. My .emacs MATLAB section is below. ;; MATLAB mode ;; Replace path below to be where your matlab.el file is. ;; Add matlab location (add-to-list 'load-path "/opt/MATHWORKS_R2009B/bin") (add-to-list 'load-path "/opt/matlab/bin") (add-to-list 'load-path "~/.emacs.d/matlab-emacs") (load-library "matlab-load") (custom-set-variables '(matlab-shell-command-switches '("-nodesktop -nosplash"))) (add-to-list 'load-path "/usr/share/emacs/site-lisp/emacs-goodies-el") ;; (add-to-list 'load-path "/usr/share/emacs/site-lisp/matlab-emacs") ;; (add-to-list 'load-path "/home/andreltr/Documents/matlab/matlab-emacs/") (require 'matlab-load) (autoload 'matlab-mode "matlab" "Enter MATLAB mode." t) (setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist)) (autoload 'matlab-shell "matlab" "Interactive MATLAB mode." t) ;; Turn off Matlab desktop ;; (setq matlab-shell-command-switches '("-nodesktop -nojvm")) ;; User Level customizations (You need not use them all): (setq matlab-indent-function-body t) ; if you want function bodies indented (setq matlab-verify-on-save-flag nil) ; turn off auto-verify on save (defun my-matlab-mode-hook () (setq fill-column 76)) ; where auto-fill should wrap (add-hook 'matlab-mode-hook 'my-matlab-mode-hook) (defun my-matlab-shell-mode-hook () '()) (add-hook 'matlab-shell-mode-hook 'my-matlab-shell-mode-hook) ;; Enable CEDET feature support for MATLAB code. (Optional) (matlab-cedet-setup) ;; (autoload 'tlc-mode "tlc" "tlc Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.tlc$" . tlc-mode)) (setq tlc-indent-function t) I also defined an executable shell script called matlab.sh which, in this case, begins emacs in MATLAB mode automatically and sets the $PATH variable. It is required to do that is one uses the GNOME side panel ICON to call emacs because it doesn't read the .bashrc PATH seeting AFAIK. #! /bin/bash # environment variables export PATH=$PATH:/opt/gams:/opt/cmucl/bin:/opt/MagicDraw\ UML/bin:/opt/CPNTools:/opt/Protege:/opt/bin:/opt/android-sdk:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/smlnj:/opt/smlnj/bin:/opt/smlnj/lib:/opt/MATHWORKS_R2009B/bin:/opt/matlab/bin emacs --eval '(matlab-mode)' Andre Luiz > > > |
From: Brandon K. <br...@30...> - 2013-08-16 23:53:08
|
Thanks- that did it! The face was font-lock-type-face-- I did not know that matlab.el uses a generic face for operators rather than defining its own. "Save for future sessions" even intelligently updated my .emacs, which was lovely. Thanks! On 8/16/2013 3:20 PM, Hunter McClelland wrote: > Hi Brandon, > > I am just now learning emacs foo, but here is my suggestion: > > The key word/idea you need is "face". The "face" of the text > determines how it is displayed (color, underline, size, style, etc). > What you need to do is indentify which face(s) are hard for you to > see, and then change them to something that suits you. Try this: > > In Matlab mode, run the command: M-x list-faces-display. This brings > up a comprehensive list of all defined faces, and shows example text > of each. > > Find the offending face(s), and then customize the color to suit you > (for instance, change to light blue). I recommend left-click > (mouse-1) on the face name, which brings up a very nice customization > menu. Change the property as desired, then make sure to set either > for current session or for future session. > > Hope this works! > -Hunter > > P.S. You may encounter "inheritance." If the color is "inherited" > then simply change the color of the parent face (to change them both) > or disable the inheritance and give it it's own original > (un-inherited) color. > > > On Fri, Aug 16, 2013 at 4:28 PM, Brandon Kuczenski > <br...@30... <mailto:br...@30...>> wrote: > > Hi, > > I use emacs with a black background and the dark blue operators > are very > difficult to see. > > Is there an easy way to change the color? > > I am using version 3.3.1 from CVS. I'm a bit of a lisp novice- and my > cursory attempts to comb through the 6k lines of matlab.el were > unsuccessful. > > Thanks in advance- > Brandon > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Hunter M. <hun...@gm...> - 2013-08-16 22:21:09
|
Hi Brandon, I am just now learning emacs foo, but here is my suggestion: The key word/idea you need is "face". The "face" of the text determines how it is displayed (color, underline, size, style, etc). What you need to do is indentify which face(s) are hard for you to see, and then change them to something that suits you. Try this: In Matlab mode, run the command: M-x list-faces-display. This brings up a comprehensive list of all defined faces, and shows example text of each. Find the offending face(s), and then customize the color to suit you (for instance, change to light blue). I recommend left-click (mouse-1) on the face name, which brings up a very nice customization menu. Change the property as desired, then make sure to set either for current session or for future session. Hope this works! -Hunter P.S. You may encounter "inheritance." If the color is "inherited" then simply change the color of the parent face (to change them both) or disable the inheritance and give it it's own original (un-inherited) color. On Fri, Aug 16, 2013 at 4:28 PM, Brandon Kuczenski <br...@30...>wrote: > Hi, > > I use emacs with a black background and the dark blue operators are very > difficult to see. > > Is there an easy way to change the color? > > I am using version 3.3.1 from CVS. I'm a bit of a lisp novice- and my > cursory attempts to comb through the 6k lines of matlab.el were > unsuccessful. > > Thanks in advance- > Brandon > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Brandon K. <br...@30...> - 2013-08-16 21:23:48
|
Hi, I use emacs with a black background and the dark blue operators are very difficult to see. Is there an easy way to change the color? I am using version 3.3.1 from CVS. I'm a bit of a lisp novice- and my cursory attempts to comb through the 6k lines of matlab.el were unsuccessful. Thanks in advance- Brandon |
From: Stephen E. <S.J...@da...> - 2013-07-30 12:28:41
|
Many Emacs users (I imagine) use gnus for reading mail and newsgroups. Is there any objection to adding this email group to gmane so that I (and hopefully others) can easily read the email group through gmane/gnus? Stephen |
From: André L. T. R. <and...@gm...> - 2013-07-17 11:00:56
|
Hello, I'm trying to use this mode in ubuntu 13.04 to no avail and would like your support. CEDET 1.1 is installed. The relevant parts of my .emacs are below. CEDET: ;; Load CEDET. ;; See cedet/common/cedet.info for configuration details. ;; IMPORTANT: For Emacs >= 23.2, you must place this *before* any ;; CEDET component (including EIEIO) gets activated by another ;; package (Gnus, auth-source, ...). (load-file "/usr/share/emacs/site-lisp/cedet-1.1/common/cedet.el") ;; (load-file "~/cedet-VERSION/common/cedet.el") ;; Enable EDE (Project Management) features (global-ede-mode 1) ;; Enable EDE for a pre-existing C++ project ;; (ede-cpp-root-project "NAME" :file "~/myproject/Makefile") ;; Enabling Semantic (code-parsing, smart completion) features ;; Select one of the following: ;; * This enables the database and idle reparse engines (semantic-load-enable-minimum-features) ;; * This enables some tools useful for coding, such as summary mode, ;; imenu support, and the semantic navigator (semantic-load-enable-code-helpers) ;; * This enables even more coding tools such as intellisense mode, ;; decoration mode, and stickyfunc mode (plus regular code helpers) ;; (semantic-load-enable-gaudy-code-helpers) ;; * This enables the use of Exuberant ctags if you have it installed. ;; If you use C++ templates or boost, you should NOT enable it. ;; (semantic-load-enable-all-exuberent-ctags-support) ;; Or, use one of these two types of support. ;; Add support for new languages only via ctags. ;; (semantic-load-enable-primary-exuberent-ctags-support) ;; Add support for using ctags as a backup parser. ;; (semantic-load-enable-secondary-exuberent-ctags-support) ;; Enable SRecode (Template management) minor-mode. ;; (global-srecode-minor-mode 1) MATLAB: ;; MATLAB mode ;; Replace path below to be where your matlab.el file is. ;; Add matlab location (add-to-list 'load-path "/opt/matlab/bin") ;; (add-to-list 'load-path "/usr/share/emacs/site-lisp/emacs-goodies-el") (add-to-list 'load-path "/usr/share/emacs/site-lisp/matlab-emacs") ;; (add-to-list 'load-path "/home/andreltr/Documents/matlab/matlab-emacs/") (require 'matlab-load) (autoload 'matlab-mode "matlab" "Enter MATLAB mode." t) (setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist)) (autoload 'matlab-shell "matlab" "Interactive MATLAB mode." t) ;; Turn off Matlab desktop (setq matlab-shell-command-switches '("-nodesktop -nojvm")) ;; User Level customizations (You need not use them all): (setq matlab-indent-function-body t) ; if you want function bodies indented (setq matlab-verify-on-save-flag nil) ; turn off auto-verify on save (defun my-matlab-mode-hook () (setq fill-column 76)) ; where auto-fill should wrap (add-hook 'matlab-mode-hook 'my-matlab-mode-hook) (defun my-matlab-shell-mode-hook () '()) (add-hook 'matlab-shell-mode-hook 'my-matlab-shell-mode-hook) ;; Enable CEDET feature support for MATLAB code. (Optional) (matlab-cedet-setup) ;; (autoload 'tlc-mode "tlc" "tlc Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.tlc$" . tlc-mode)) (setq tlc-indent-function t) When I open a very simple .m file such as for instance one with the code a=2 only, the matlab shell is not open and I receive the message Output file descriptor of MATLAB is closed. Would anyone know how to solve this issue? Thanks in advance, Andre Luiz |
From: Eric L. <Eri...@ma...> - 2013-07-11 16:55:09
|
Hi, I had checked in about the original issue. It is a known regression that is already being tracked. The MATLAB Modes do not require the use of CEDET, so if you can't get it working, no worries. It just tries adding a few new features. Based on the error, you probably need to (require 'matlab) before requiring all the CEDET matlab specific stuff. Good Luck Eric From: emacs user [mailto:use...@gm...] Sent: Tuesday, July 09, 2013 10:00 AM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor hi Eric, I tried using matlab-shell again. Looks great. A couple of questions: I wasn't able to get cedet to work as it gives the following error message when I edit a Matlab file. I tried both the cedet in emacs 24.3 and downloading it from sourceforce, version 1.1. I don't know if this is a result of cedet not working, but when I get an error message in Matlab-shell the line number pointing to the problem in the Matlab code does not seem to appear as a clickable link. I wasn't able to see how to report issues/ bugs in the Matlab-emacs sourceforce page so am sending this here. best, E Debugger entered--Lisp error: (void-variable matlab-mode) byte-code("..." [matlab-mode semantic-matlab-dependency-system-include-path semantic-matlab-root-directory semantic-matlab-system-paths-include tmp0 mode defcustom-mode-local-semantic-dependency-system-include-path mapcar #[(cur) "\302! P\207" [semantic-matlab-root-directory cur file-name-as-directory] 2] "The system include paths from MATLAB." semantic-idle-summary-format-matlab-mode mode-local-bind semantic-idle-summary-function (mode-variable-flag t variable-documentation "Search project files, then search this omniscience database.\nIt is not necessary to to system or recursive searching because of\nthe omniscience database.") mode-local-map-mode-buffers #[nil "..." [tmp0 semantic-idle-summary-function make-local-variable] 2] put symbol-name nil intern-soft mode-local-symbol-table mode-local-parent derived-mode-parent variable-documentation "Function to use when displaying tag information during idle time." symbol bind name mode-local-active-mode major-mode] 6) semantic-default-matlab-setup() run-hooks(matlab-mode-hook) matlab-mode() set-auto-mode-0(matlab-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(#<buffer analyze_flow_solve.m> "~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" nil nil "~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" (22407275 16777218)) find-file-noselect("~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" nil nil t) find-file("~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" t) call-interactively(find-file) find-file-at-point() call-interactively(find-file-at-point nil nil) On Mon, Jul 8, 2013 at 12:29 PM, Eric Ludlam <Eri...@ma...<mailto:Eri...@ma...>> wrote: Hi, I think I understand a bit better. Clicking on the "line 3" which is supposed to call 'opentoline' is not calling the shadowed version. I gave this a try and discovered the same problem with newer MATLABs. I don't know what the problem is. Mostly it looks like the command window isn't actually running the MATLAB command in the link since the debugger won't stop there either. I'll need to look into it to see what's going on. In the meantime, you may need to use the matlab-shell in Emacs to get those links to work. Eric From: emacs user [mailto:use...@gm...<mailto:use...@gm...>] Sent: Tuesday, July 02, 2013 5:17 PM To: Eric Ludlam Cc: mat...@li...<mailto:mat...@li...> Subject: Re: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor Hi, thanks for the prompt response, I think I didn't explain that very clearly, let me try again. I have an init.m file: addpath('~/.emacs.d/matlab-emacs/toolbox','-begin'); rehash; emacsinit('/Applications/Emacs.app/Contents/MacOS/bin/emacsclient'); and then a opentoline_test.m file: a=zeros(3,4); b=zeros(3,3); c=a+b; in Matlab I do: >> which opentoline /Applications/MATLAB_R2013a.app/toolbox/matlab/codetools/opentoline.m >> init >> which opentoline /Users/eli/.emacs.d/matlab-emacs/toolbox/opentoline.m so the correct opentoline seems to be shadowing. Next, >> opentoline_test Error using + Matrix dimensions must agree. Error in opentoline_test (line 3) c=a+b; now if I click on "line 3" I get the matlab editor, if instead, I say >> opentoline('opentoline_test.m',3,0) then emacs is correctly invoked. does this help, or did I simply misunderstand your response? thanks again, best, Eli On Tue, Jul 2, 2013 at 4:46 PM, Eric Ludlam <Eri...@ma...<mailto:Eri...@ma...>> wrote: Hi, Not all the 'edit' like functions obey the preference to use an alternate editor. If you look in the toolbox directory that came with matlab.el, you will see "opentoline.m" which shadows the one that comes with matlab. Chances are that netcdf.open (which I am not familiar with at all) might need something similar. If you look at that fcn, it calls some lib function that you might be able to shadow in order to get what you want. Just stick it in the toolbox directory for Emacs, and you'll be all set. If it isn't related to some MATLAB toolbox, perhaps we can add the shadow to the matlab-emacs repository. Good Luck Eric From: emacs user [mailto:use...@gm...<mailto:use...@gm...>] Sent: Monday, July 01, 2013 3:01 PM To: mat...@li...<mailto:mat...@li...> Subject: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor hi, I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download of matlab-emacs and Matlab 2013a. when I follow the install directions, trying to click on the line number in something like this: Error using netcdf.open (line 45) brings up the matlab editor instead of emacsclient. if I try >> opentoline('myfile.m',1477,0) emacsclient is invoked and goes to the right line etc. Any idea what I may be doing wrong? additional information I can povide? many thanks... |
From: emacs u. <use...@gm...> - 2013-07-09 13:59:56
|
hi Eric, I tried using matlab-shell again. Looks great. A couple of questions: I wasn't able to get cedet to work as it gives the following error message when I edit a Matlab file. I tried both the cedet in emacs 24.3 and downloading it from sourceforce, version 1.1. I don't know if this is a result of cedet not working, but when I get an error message in Matlab-shell the line number pointing to the problem in the Matlab code does not seem to appear as a clickable link. I wasn't able to see how to report issues/ bugs in the Matlab-emacs sourceforce page so am sending this here. best, E Debugger entered--Lisp error: (void-variable matlab-mode) byte-code("..." [matlab-mode semantic-matlab-dependency-system-include-path semantic-matlab-root-directory semantic-matlab-system-paths-include tmp0 mode defcustom-mode-local-semantic-dependency-system-include-path mapcar #[(cur) "\302! P\207" [semantic-matlab-root-directory cur file-name-as-directory] 2] "The system include paths from MATLAB." semantic-idle-summary-format-matlab-mode mode-local-bind semantic-idle-summary-function (mode-variable-flag t variable-documentation "Search project files, then search this omniscience database.\nIt is not necessary to to system or recursive searching because of\nthe omniscience database.") mode-local-map-mode-buffers #[nil "..." [tmp0 semantic-idle-summary-function make-local-variable] 2] put symbol-name nil intern-soft mode-local-symbol-table mode-local-parent derived-mode-parent variable-documentation "Function to use when displaying tag information during idle time." symbol bind name mode-local-active-mode major-mode] 6) semantic-default-matlab-setup() run-hooks(matlab-mode-hook) matlab-mode() set-auto-mode-0(matlab-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(#<buffer analyze_flow_solve.m> "~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" nil nil "~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" (22407275 16777218)) find-file-noselect("~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" nil nil t) find-file("~/Internal-waves-DIA/my_flow_solve/Postprocessing/analyze_flow_solve.m" t) call-interactively(find-file) find-file-at-point() call-interactively(find-file-at-point nil nil) On Mon, Jul 8, 2013 at 12:29 PM, Eric Ludlam <Eri...@ma...>wrote: > Hi,**** > > ** ** > > I think I understand a bit better. Clicking on the “line 3” which is > supposed to call ‘opentoline’ is not calling the shadowed version. **** > > ** ** > > I gave this a try and discovered the same problem with newer MATLABs. I > don’t know what the problem is. Mostly it looks like the command window > isn’t actually running the MATLAB command in the link since the debugger > won’t stop there either. I’ll need to look into it to see what’s going on. > **** > > ** ** > > In the meantime, you may need to use the matlab-shell in Emacs to get > those links to work.**** > > ** ** > > Eric**** > > ** ** > > *From:* emacs user [mailto:use...@gm...] > *Sent:* Tuesday, July 02, 2013 5:17 PM > *To:* Eric Ludlam > *Cc:* mat...@li... > *Subject:* Re: [Matlab-emacs-discuss] emacsinit/ using emacs as an > external Matlab editor**** > > ** ** > > Hi, thanks for the prompt response, I think I didn't explain that very > clearly, let me try again. I have an init.m file:**** > > ** ** > > addpath('~/.emacs.d/matlab-emacs/toolbox','-begin');**** > > rehash;**** > > emacsinit('/Applications/Emacs.app/Contents/MacOS/bin/emacsclient');**** > > ** ** > > and then a opentoline_test.m file:**** > > a=zeros(3,4);**** > > b=zeros(3,3);**** > > c=a+b;**** > > ** ** > > in Matlab I do:**** > > ** ** > > >> which opentoline**** > > /Applications/MATLAB_R2013a.app/toolbox/matlab/codetools/opentoline.m**** > > >> init**** > > >> which opentoline**** > > /Users/eli/.emacs.d/matlab-emacs/toolbox/opentoline.m**** > > ** ** > > so the correct opentoline seems to be shadowing. Next,**** > > ** ** > > >> opentoline_test**** > > Error using + **** > > Matrix dimensions must agree.**** > > ** ** > > Error in opentoline_test (line 3)**** > > c=a+b;**** > > **** > > now if I click on "line 3" I get the matlab editor, if instead, I say **** > > ** ** > > >> opentoline('opentoline_test.m',3,0)**** > > ** ** > > then emacs is correctly invoked.**** > > ** ** > > does this help, or did I simply misunderstand your response? thanks > again, best, Eli**** > > ** ** > > ** ** > > On Tue, Jul 2, 2013 at 4:46 PM, Eric Ludlam <Eri...@ma...> > wrote:**** > > Hi,**** > > **** > > Not all the ‘edit’ like functions obey the preference to use an alternate > editor. If you look in the toolbox directory that came with matlab.el, you > will see “opentoline.m” which shadows the one that comes with matlab. > Chances are that netcdf.open (which I am not familiar with at all) might > need something similar. If you look at that fcn, it calls some lib > function that you might be able to shadow in order to get what you want. > Just stick it in the toolbox directory for Emacs, and you’ll be all set. > If it isn’t related to some MATLAB toolbox, perhaps we can add the shadow > to the matlab-emacs repository.**** > > **** > > Good Luck**** > > Eric**** > > **** > > *From:* emacs user [mailto:use...@gm...] > *Sent:* Monday, July 01, 2013 3:01 PM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] emacsinit/ using emacs as an external > Matlab editor**** > > **** > > hi, **** > > **** > > I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download > of matlab-emacs and Matlab 2013a. when I follow the install directions, > trying to click on the line number in something like this:**** > > **** > > Error using netcdf.open (*line 45*)**** > > **** > > brings up the matlab editor instead of emacsclient. if I try**** > > **** > > >> opentoline('myfile.m',1477,0)**** > > **** > > emacsclient is invoked and goes to the right line etc.**** > > **** > > Any idea what I may be doing wrong? additional information I can povide? > **** > > many thanks...**** > > **** > > ** ** > |
From: Eric L. <Eri...@ma...> - 2013-07-08 16:29:58
|
Hi, I think I understand a bit better. Clicking on the "line 3" which is supposed to call 'opentoline' is not calling the shadowed version. I gave this a try and discovered the same problem with newer MATLABs. I don't know what the problem is. Mostly it looks like the command window isn't actually running the MATLAB command in the link since the debugger won't stop there either. I'll need to look into it to see what's going on. In the meantime, you may need to use the matlab-shell in Emacs to get those links to work. Eric From: emacs user [mailto:use...@gm...] Sent: Tuesday, July 02, 2013 5:17 PM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor Hi, thanks for the prompt response, I think I didn't explain that very clearly, let me try again. I have an init.m file: addpath('~/.emacs.d/matlab-emacs/toolbox','-begin'); rehash; emacsinit('/Applications/Emacs.app/Contents/MacOS/bin/emacsclient'); and then a opentoline_test.m file: a=zeros(3,4); b=zeros(3,3); c=a+b; in Matlab I do: >> which opentoline /Applications/MATLAB_R2013a.app/toolbox/matlab/codetools/opentoline.m >> init >> which opentoline /Users/eli/.emacs.d/matlab-emacs/toolbox/opentoline.m so the correct opentoline seems to be shadowing. Next, >> opentoline_test Error using + Matrix dimensions must agree. Error in opentoline_test (line 3) c=a+b; now if I click on "line 3" I get the matlab editor, if instead, I say >> opentoline('opentoline_test.m',3,0) then emacs is correctly invoked. does this help, or did I simply misunderstand your response? thanks again, best, Eli On Tue, Jul 2, 2013 at 4:46 PM, Eric Ludlam <Eri...@ma...<mailto:Eri...@ma...>> wrote: Hi, Not all the 'edit' like functions obey the preference to use an alternate editor. If you look in the toolbox directory that came with matlab.el, you will see "opentoline.m" which shadows the one that comes with matlab. Chances are that netcdf.open (which I am not familiar with at all) might need something similar. If you look at that fcn, it calls some lib function that you might be able to shadow in order to get what you want. Just stick it in the toolbox directory for Emacs, and you'll be all set. If it isn't related to some MATLAB toolbox, perhaps we can add the shadow to the matlab-emacs repository. Good Luck Eric From: emacs user [mailto:use...@gm...<mailto:use...@gm...>] Sent: Monday, July 01, 2013 3:01 PM To: mat...@li...<mailto:mat...@li...> Subject: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor hi, I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download of matlab-emacs and Matlab 2013a. when I follow the install directions, trying to click on the line number in something like this: Error using netcdf.open (line 45) brings up the matlab editor instead of emacsclient. if I try >> opentoline('myfile.m',1477,0) emacsclient is invoked and goes to the right line etc. Any idea what I may be doing wrong? additional information I can povide? many thanks... |
From: emacs u. <use...@gm...> - 2013-07-02 21:17:06
|
Hi, thanks for the prompt response, I think I didn't explain that very clearly, let me try again. I have an init.m file: addpath('~/.emacs.d/matlab-emacs/toolbox','-begin'); rehash; emacsinit('/Applications/Emacs.app/Contents/MacOS/bin/emacsclient'); and then a opentoline_test.m file: a=zeros(3,4); b=zeros(3,3); c=a+b; in Matlab I do: >> which opentoline /Applications/MATLAB_R2013a.app/toolbox/matlab/codetools/opentoline.m >> init >> which opentoline /Users/eli/.emacs.d/matlab-emacs/toolbox/opentoline.m so the correct opentoline seems to be shadowing. Next, >> opentoline_test Error using + Matrix dimensions must agree. Error in opentoline_test (line 3) c=a+b; now if I click on "line 3" I get the matlab editor, if instead, I say >> opentoline('opentoline_test.m',3,0) then emacs is correctly invoked. does this help, or did I simply misunderstand your response? thanks again, best, Eli On Tue, Jul 2, 2013 at 4:46 PM, Eric Ludlam <Eri...@ma...>wrote: > Hi,**** > > ** ** > > Not all the ‘edit’ like functions obey the preference to use an alternate > editor. If you look in the toolbox directory that came with matlab.el, you > will see “opentoline.m” which shadows the one that comes with matlab. > Chances are that netcdf.open (which I am not familiar with at all) might > need something similar. If you look at that fcn, it calls some lib > function that you might be able to shadow in order to get what you want. > Just stick it in the toolbox directory for Emacs, and you’ll be all set. > If it isn’t related to some MATLAB toolbox, perhaps we can add the shadow > to the matlab-emacs repository.**** > > ** ** > > Good Luck**** > > Eric**** > > ** ** > > *From:* emacs user [mailto:use...@gm...] > *Sent:* Monday, July 01, 2013 3:01 PM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] emacsinit/ using emacs as an external > Matlab editor**** > > ** ** > > hi, **** > > ** ** > > I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download > of matlab-emacs and Matlab 2013a. when I follow the install directions, > trying to click on the line number in something like this:**** > > ** ** > > Error using netcdf.open (*line 45*)**** > > ** ** > > brings up the matlab editor instead of emacsclient. if I try**** > > ** ** > > >> opentoline('myfile.m',1477,0)**** > > ** ** > > emacsclient is invoked and goes to the right line etc.**** > > ** ** > > Any idea what I may be doing wrong? additional information I can povide? > **** > > many thanks...**** > > ** ** > |
From: Eric L. <Eri...@ma...> - 2013-07-02 21:09:34
|
Hi, Not all the 'edit' like functions obey the preference to use an alternate editor. If you look in the toolbox directory that came with matlab.el, you will see "opentoline.m" which shadows the one that comes with matlab. Chances are that netcdf.open (which I am not familiar with at all) might need something similar. If you look at that fcn, it calls some lib function that you might be able to shadow in order to get what you want. Just stick it in the toolbox directory for Emacs, and you'll be all set. If it isn't related to some MATLAB toolbox, perhaps we can add the shadow to the matlab-emacs repository. Good Luck Eric From: emacs user [mailto:use...@gm...] Sent: Monday, July 01, 2013 3:01 PM To: mat...@li... Subject: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor hi, I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download of matlab-emacs and Matlab 2013a. when I follow the install directions, trying to click on the line number in something like this: Error using netcdf.open (line 45) brings up the matlab editor instead of emacsclient. if I try >> opentoline('myfile.m',1477,0) emacsclient is invoked and goes to the right line etc. Any idea what I may be doing wrong? additional information I can povide? many thanks... |
From: emacs u. <use...@gm...> - 2013-07-01 19:01:14
|
hi, I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download of matlab-emacs and Matlab 2013a. when I follow the install directions, trying to click on the line number in something like this: Error using netcdf.open (*line 45*) brings up the matlab editor instead of emacsclient. if I try >> opentoline('myfile.m',1477,0) emacsclient is invoked and goes to the right line etc. Any idea what I may be doing wrong? additional information I can povide? many thanks... |
From: Eric L. <Eri...@ma...> - 2013-05-08 15:55:48
|
Hi Xavier, For me, block comments work ok as long as they are not part of the first block of comments. Basically, the indentation engine doesn't know when the line that doesn't s tart with % is part of a comment or not. I attached a patch that makes the basic indentation for this case work, but I'll guess it will have performance implications. It will take some more effort to make sure indentation performance doesn't get too broken. Thanks Eric -----Original Message----- From: Xavier Raynaud [mailto:xav...@gm...] Sent: Wednesday, May 08, 2013 4:52 AM To: mat...@li... Subject: [Matlab-emacs-discuss] percent-brace Matlab gives the possibility to insert comments which span several lines inside percent-brace %{ %} It seems that matlab-emacs does not handle correctly indentation when this feature is used. Here is an example: function y= f(x) % first comment %{ second comment: induces unwanted indentation. %} % Third comment y=x end This indentation does not correspond to the one produced by the matlab editor. I wonder if this is something that could be easily changed. When writing code with others, it is important to have same indentation policy and matlab own editor then sets the standard. Thank you for your help. Xavier Raynaud. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2013-05-08 15:40:07
|
Hi Troy, I'm not entirely sure what happens to the MATLAB string when it gets set as the Editor preference. I didn't think you needed to use "" in that string. I think you should try it as: emacsinit('<path to emacs>\emacsclient -n --server-file=<path to emacs server file>'); and then use the: >> desktop command, which will disconnect from Emacs, but then you can open up preferences for the editor, and look for the external editor option, and see what it got set to. If you use the preferences to get files to open in your Emacs, then you can use the string you discover there in your emacsinit command for nexttime you start MATLAB in Emacs. All other doc srcs are on the matlab-emacs.sf.net web page. There isn't much there. Eric From: Daniels, Troy (US SSA) [mailto:tro...@ba...] Sent: Tuesday, April 30, 2013 3:31 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Matlab and emacsclient Hello, I found this discussion of using emacs with matlab, some of which is several years old. http://blogs.mathworks.com/community/2009/09/14/matlab-emacs-integration-is-back/ I am trying to get this to work on windows with R2011b. I tried editing edit.m as suggested there to work on Windows, but it appears that my edits are ignored. Is there something special about the files in the matlab toolbox? Since I could not get rid of the quotes on the system command, I added extra ones to my emacsinit call: emacsinit('"<path to emacs>\emacsclient -n --server-file=<path to emacs server file>"'); This works, but edit opens a command prompt. Is there a way to get rid of that window? Are there other pages with more advice about integrating emacs and matlab on windows? Troy |
From: Xavier R. <xav...@gm...> - 2013-05-08 08:52:09
|
Matlab gives the possibility to insert comments which span several lines inside percent-brace %{ %} It seems that matlab-emacs does not handle correctly indentation when this feature is used. Here is an example: function y= f(x) % first comment %{ second comment: induces unwanted indentation. %} % Third comment y=x end This indentation does not correspond to the one produced by the matlab editor. I wonder if this is something that could be easily changed. When writing code with others, it is important to have same indentation policy and matlab own editor then sets the standard. Thank you for your help. Xavier Raynaud. |
From: Daniels, T. (US SSA) <tro...@ba...> - 2013-04-30 20:05:42
|
Hello, I found this discussion of using emacs with matlab, some of which is several years old. http://blogs.mathworks.com/community/2009/09/14/matlab-emacs-integration-is-back/ I am trying to get this to work on windows with R2011b. I tried editing edit.m as suggested there to work on Windows, but it appears that my edits are ignored. Is there something special about the files in the matlab toolbox? Since I could not get rid of the quotes on the system command, I added extra ones to my emacsinit call: emacsinit('"<path to emacs>\emacsclient -n --server-file=<path to emacs server file>"'); This works, but edit opens a command prompt. Is there a way to get rid of that window? Are there other pages with more advice about integrating emacs and matlab on windows? Troy |
From: Eric L. <Eri...@ma...> - 2013-04-30 15:37:47
|
How about: M-m % :) You can also make the region be just one line by pressing C-space C-; Eric From: Mann [mailto:x6...@ya...] Sent: Monday, April 29, 2013 11:23 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Line Comments With the standard matlab editor, you can comment a line with ctrl+/ and uncomment with ctrl+t. With matlab emacs, commenting a line seems impossible with key combination. Ctrl+; comments an entire region. While that's good in certain situations, I would prefer to be able to comment a single line without necessary commenting the entire region. Any suggestions? |
From: Mann <x6...@ya...> - 2013-04-30 03:23:35
|
With the standard matlab editor, you can comment a line with ctrl+/ and uncomment with ctrl+t. With matlab emacs, commenting a line seems impossible with key combination. Ctrl+; comments an entire region. While that's good in certain situations, I would prefer to be able to comment a single line without necessary commenting the entire region. Any suggestions? |
From: Eric L. <Eri...@ma...> - 2013-04-16 15:12:49
|
Hi, With Emacs, it is self documenting. Use “C-h m” – describe mode to learn more about the basics of the mode. You can also use C-h b to get all the keybindings. Lastly, the comment at the top of matlab-mode.el describes some other stuff you can do with it. These are all typical tricks you can do for any Emacs program you download. Good Luck Eric From: Bo...@gm... [mailto:Bo...@gm...] Sent: Tuesday, April 09, 2013 2:26 PM To: mat...@li... Subject: [Matlab-emacs-discuss] manual-tutorial? Hallo i got matlab-emacs run on my system without problems. Now i would like to read about all the posibillities of this mode. Is there a manual or something similar where i can find all shortcuts and special options? Thanks Seb |