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: Hera He <nj...@gm...> - 2012-10-10 07:10:08
|
Hi all, To keep it short, does anyone know how does debugging work? Are there any documentations for it? Thank you very much!! Hera |
From: Dieter V. E. <die...@st...> - 2012-10-06 13:10:12
|
Hello, Since I've started using emacs, I use it more and more often (through ubuntu command window). Now i'd like to move matlab to emacs too. Installation is ok, just have some minor questions: - On the screenshot on [ http://blogs.mathworks.com/community/2009/09/14/matlab-emacs-integration-is-back/ ] you see the usage of 'a workspace' and 'file browser' inside emacs. I can use whos and what, but I'd prefer a fixed 'window/cell' (split command window in 2 or 3 parts) for the workspace variables. How do I do this? -Is there a cheat-sheet with quick key bindings available or do i have to define everything in ~/.emacs? -how does the debugging work? thanks in advance, Dieter |
From: Hanzhi D. <di...@ho...> - 2012-08-05 09:09:28
|
Hello, I am a newbie to emacs-matlab-mode. I have finished installation and it seems to work. But I now have a trouble in the original MATLAB environment. I cannot open any m files in the original MATLAB window, using either double click or 'File -> open...'. The editor window never comes out after the emacs-matlab-mode is installed. However, I can still create a new empty file. By the way, is there a reference card for this mode? I can find the information of key bindings nowhere but only in the MATLAB menu in emacs. It couldn't be better if there exists a detailed map of shortcuts. Thank you. Kind Regards Hanzhi |
From: Strozzi, D. J. <str...@ll...> - 2012-07-24 18:43:16
|
Thanks a lot for your reply! Yes it was a while ago. I will probably not have time to look at this for a little while, but will keep it handy. Dave On 6/15/12 10:02 AM, "Eric Ludlam" <Eri...@ma...> wrote: >Hi David, > >Cell mode support in matlab.el can be summed up like this: > >% in your major mode > (make-local-variable 'page-delimiter) > (setq page-delimiter "^\\(\f\\|%% \\)") > >then use forward-page to find the boundary of the cell, and run that >region. > >There is very little magic involved, and this is a common tactic for >other modes as far as I know. > >If you intend to copy stuff from matlab-mode, understand that many of the >original authors are not around to provide releases that would allow your >code to become a part of Emacs or the lisp archive later. > >Enjoy >Eric > >-----Original Message----- >From: Strozzi, David J. [mailto:str...@ll...] >Sent: Friday, June 15, 2012 12:53 PM >To: mat...@li... >Subject: [Matlab-emacs-discuss] matlab cell-like mode for Yorick > >I am not trying to incite a holy war but will try to be ecumenical and >syncretist: > >Yorick is a free, open-source interpreter for numerics (and with a >parallel mode) written primarily by Dave Munro at Livermore. I've always >felt if people were choosing tools based on their merits and not inertia, >marketing, etc it would be much more widely used. But that's not my >point! > >Dave M.'s written a nice emacs package for yorick, and the prime way >people are supposed to run yorick is within emacs. As for OSes, "Linux >is nice but I prefer emacs". It would be very handy to have something >like Matlab's cell mode when working with Yorick source - both to >navigate source and to execute chunks. > >I'm emailing this list since I have almost no familiarity with elisp. I >wonder if it's simple to adapt some of the matlab-mode coding to add a >cell capability to editing Yorick source. If someone is willing to hold >my hand or point me to the relevant .el matlab source, we'd be forever >grateful. > >As things stand, the yorick emacs package lets you send the selected >region to the yorick interpreter session for execution. It just wastes >time to constantly select a chunk, execute it, edit it a bit, re-select, >etc. > >Thanks! >Dave > > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and threat >landscape has changed and how IT managers can respond. Discussions will >include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Matlab-emacs-discuss mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2012-07-17 18:12:59
|
Hi, I believe you need to add MATLAB's bin directory to your exec path. Thus, from the command line if you can type: matlab -nodesktop and have that work, then Emacs will also be able to find and run MATLAB if you start Emacs from the same shell you start MATLAB from. Also, make sure your command switches includes the -nodesktop option, otherwise you will get the MATLAB desktop, and not get MATLAB in Emacs. Good Luck Eric From: André Luiz Tietböhl Ramos [mailto:and...@gm...] Sent: Sunday, July 15, 2012 6:44 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Setup installation problem with MATLAB 2009 in ubuntu 12.04 Hello, I'm trying to run this MATLAB configuration to no avail. It cannot start MATLAB from emacs despite having the menu setup correctly. The MATLAB/bin directory is in the path variable too. My .emacs is below. ;; MATLAB mode ;; Turn off Matlab desktop (setq matlab-shell-command-switches '("-nojvm")) ;; ;; Add local lisp folder to load-path (setq load-path (append load-path (list "~/elisp"))) ;; Add matlab location (add-to-list 'load-path "/opt/MATLAB_2009/bin") ;; Replace path below to be where your matlab.el file is. (add-to-list 'load-path "/usr/share/emacs/site-lisp/matlab-emacs") (add-to-list 'load-path "/usr/share/emacs/site-lisp/emacs-goodies-el") (autoload 'matlab-mode "matlab" "Enter MATLAB mode." t) (setq auto-mode-alist (cons '("\\.m\\'<file:///\\.m\'>" . matlab-mode) auto-mode-alist)) (autoload 'matlab-shell "matlab" "Interactive MATLAB mode." t) ;; 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) Thanks for any help! Andre Luiz |
From: André L. T. R. <and...@gm...> - 2012-07-15 22:44:19
|
Hello, I'm trying to run this MATLAB configuration to no avail. It cannot start MATLAB from emacs despite having the menu setup correctly. The MATLAB/bin directory is in the path variable too. My .emacs is below. ;; MATLAB mode ;; Turn off Matlab desktop (setq matlab-shell-command-switches '("-nojvm")) ;; ;; Add local lisp folder to load-path (setq load-path (append load-path (list "~/elisp"))) ;; Add matlab location (add-to-list 'load-path "/opt/MATLAB_2009/bin") ;; Replace path below to be where your matlab.el file is. (add-to-list 'load-path "/usr/share/emacs/site-lisp/matlab-emacs") (add-to-list 'load-path "/usr/share/emacs/site-lisp/emacs-goodies-el") (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) ;; 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) Thanks for any help! Andre Luiz |
From: <xa...@gm...> - 2012-06-21 13:34:34
|
Oh, it seems I spoke too soon. - color-theme seems to break the customization group, but not the auto-completion - i had set comint-prompt-read-only in my .emacs file, and that broke the auto-completion Hope this helps someone else. I couldn't find any info on debugging the matlab auto-completion on google. The output with comint-prompt-read-only looks like: >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR;matlabMCRprocess.mtFindAllTabCompletions('mfil'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'mfilename' 'mfilt' 'mfiltcicdecimdemo' 'mfiltdecimatorsdemo' 'mfilter' 'mfiltgettingstarteddemo' 'mfiltinterpolatorsdemo' >> >> Sandy On Wed, Jun 20, 2012 at 6:14 PM, xa...@gm... <xa...@gm...> wrote: > Thanks for your help Eric, > > Here's how I got it working for osx lion. (for posterity?) > > 1) use emacs 24.1 from http://emacsformacosx.com/builds (i had been > using a version I built with cocoa support from brew) > > 2) cedet 1.1 is what you want, I have no idea what's in 24.1 or how to > figure that out, but I had to download cedet-1.1.tar.gz, extract it > and add the following to my .emacs > (load-file "~/.emacs.d/site-lisp-backup/cedet-1.1/common/cedet.el") > > 3) there seemed to be some conflicts with the color-theme I was using, > I removed the color-theme settings, and that fixed the broken > customization group: (MATLAB menu -> Configuration). Also fixed the > tab completion breaking. I had the euophoria color-theme version > 6.6.0. > > Thanks for pointing me in the right direction. I was also able to > compile both cedet and matlab-emacs per their instructions. > > Sandy > > > On Wed, Jun 20, 2012 at 3:44 PM, Eric Ludlam <Eri...@ma...> wrote: >> Hi, >> >> I'm not sure about the bug with custom mode. That just looks like an important face is missing. Did you override (or have old versions of) custom or widget libraries? >> >> For CEDET setup, if you use the version of CEDET that comes with Emacs, the matlab setup hasn't been updated to use that yet. There are dependencies on features in CEDET 1.1 which uses different file names. When CEDET 1.1 is integrated into Emacs 24, I will need to go back and fix the require statements in the CEDET support in matlab mode. >> >> For completion, the output you quoted implies that there is an erroneous line breaks in the output string. Look at 'matlab-shell-completion-list', to see how it builds the command, and make sure there aren't any stray line breaks in the strings. Perhaps there was a download problem. >> >> Eric >> >> -----Original Message----- >> From: xa...@gm... [mailto:xa...@gm...] >> Sent: Monday, June 18, 2012 5:14 PM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] matlab-emacs configuration questions >> >> I've been struggling with getting matlab-emacs working for a bit now. >> I wonder if you'd mind trying to give me a hand sorting this out. >> >> The problems I"m having are that: >> >> 1) I can't seem to get matlab configuration options to work (MATLAB menu -> Configuration) gives an error >> Custom-mode: Symbol widget-mouse-face may not be buffer-local >> >> 2) I can't turn on the (matlab-cedet-setup) option: >> File error: Cannot open load file, semanticdb-search >> >> 3) the tab-completions don't work unless I include the command (setq matlab-shell-ask-MATLAB-for-completions nil) in my .emacs file. >> >>>> matlabMCRprocess = >>>> com.mathworks.jmi.MatlabMCR;matlabMCRprocess.mtFindAllTabCompletions( >>>> 'full'), clear('matlabMCRprocess'); >> ans = >> >> java.lang.String[]: >> 'full' >> 'fullfact' >> 'fullfile' >> >>>> >>>> >> >> >> I'm running OSX Lion with emacs GNU Emacs 23.4.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32) of 2012-04-24 >> >> >> I've tried a number of configurations to install matlab-emacs correctly, this is the closest I've found, the following lines are added to my .emacs file: >> >> >> (add-to-list 'load-path "~/.emacs.d/site-lisp-backup/matlab-emacs") >> (load-library "matlab-load") >> >> ;; Enable CEDET feature support for MATLAB code. (Optional) >> ;(matlab-cedet-setup) >> >> (setq matlab-cont-level 2) >> (setq matlab-indent-level 2) >> (setq matlab-shell-ask-MATLAB-for-completions nil) >> >> >> I have built matlab-emacs from the latest cvs: >> revision number 1.39 I think, and it builds with only warnings. >> >> I placed cedet 1.0.1 into the ../cedet folder. >> >> >> Any help would be appreciated. I'd be nice to have autocomplete and mlint working. >> >> Cheers, >> Sandy Patterson >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: <xa...@gm...> - 2012-06-20 22:14:52
|
Thanks for your help Eric, Here's how I got it working for osx lion. (for posterity?) 1) use emacs 24.1 from http://emacsformacosx.com/builds (i had been using a version I built with cocoa support from brew) 2) cedet 1.1 is what you want, I have no idea what's in 24.1 or how to figure that out, but I had to download cedet-1.1.tar.gz, extract it and add the following to my .emacs (load-file "~/.emacs.d/site-lisp-backup/cedet-1.1/common/cedet.el") 3) there seemed to be some conflicts with the color-theme I was using, I removed the color-theme settings, and that fixed the broken customization group: (MATLAB menu -> Configuration). Also fixed the tab completion breaking. I had the euophoria color-theme version 6.6.0. Thanks for pointing me in the right direction. I was also able to compile both cedet and matlab-emacs per their instructions. Sandy On Wed, Jun 20, 2012 at 3:44 PM, Eric Ludlam <Eri...@ma...> wrote: > Hi, > > I'm not sure about the bug with custom mode. That just looks like an important face is missing. Did you override (or have old versions of) custom or widget libraries? > > For CEDET setup, if you use the version of CEDET that comes with Emacs, the matlab setup hasn't been updated to use that yet. There are dependencies on features in CEDET 1.1 which uses different file names. When CEDET 1.1 is integrated into Emacs 24, I will need to go back and fix the require statements in the CEDET support in matlab mode. > > For completion, the output you quoted implies that there is an erroneous line breaks in the output string. Look at 'matlab-shell-completion-list', to see how it builds the command, and make sure there aren't any stray line breaks in the strings. Perhaps there was a download problem. > > Eric > > -----Original Message----- > From: xa...@gm... [mailto:xa...@gm...] > Sent: Monday, June 18, 2012 5:14 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] matlab-emacs configuration questions > > I've been struggling with getting matlab-emacs working for a bit now. > I wonder if you'd mind trying to give me a hand sorting this out. > > The problems I"m having are that: > > 1) I can't seem to get matlab configuration options to work (MATLAB menu -> Configuration) gives an error > Custom-mode: Symbol widget-mouse-face may not be buffer-local > > 2) I can't turn on the (matlab-cedet-setup) option: > File error: Cannot open load file, semanticdb-search > > 3) the tab-completions don't work unless I include the command (setq matlab-shell-ask-MATLAB-for-completions nil) in my .emacs file. > >>> matlabMCRprocess = >>> com.mathworks.jmi.MatlabMCR;matlabMCRprocess.mtFindAllTabCompletions( >>> 'full'), clear('matlabMCRprocess'); > ans = > > java.lang.String[]: > 'full' > 'fullfact' > 'fullfile' > >>> >>> > > > I'm running OSX Lion with emacs GNU Emacs 23.4.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32) of 2012-04-24 > > > I've tried a number of configurations to install matlab-emacs correctly, this is the closest I've found, the following lines are added to my .emacs file: > > > (add-to-list 'load-path "~/.emacs.d/site-lisp-backup/matlab-emacs") > (load-library "matlab-load") > > ;; Enable CEDET feature support for MATLAB code. (Optional) > ;(matlab-cedet-setup) > > (setq matlab-cont-level 2) > (setq matlab-indent-level 2) > (setq matlab-shell-ask-MATLAB-for-completions nil) > > > I have built matlab-emacs from the latest cvs: > revision number 1.39 I think, and it builds with only warnings. > > I placed cedet 1.0.1 into the ../cedet folder. > > > Any help would be appreciated. I'd be nice to have autocomplete and mlint working. > > Cheers, > Sandy Patterson > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2012-06-20 19:44:39
|
Hi, I'm not sure about the bug with custom mode. That just looks like an important face is missing. Did you override (or have old versions of) custom or widget libraries? For CEDET setup, if you use the version of CEDET that comes with Emacs, the matlab setup hasn't been updated to use that yet. There are dependencies on features in CEDET 1.1 which uses different file names. When CEDET 1.1 is integrated into Emacs 24, I will need to go back and fix the require statements in the CEDET support in matlab mode. For completion, the output you quoted implies that there is an erroneous line breaks in the output string. Look at 'matlab-shell-completion-list', to see how it builds the command, and make sure there aren't any stray line breaks in the strings. Perhaps there was a download problem. Eric -----Original Message----- From: xa...@gm... [mailto:xa...@gm...] Sent: Monday, June 18, 2012 5:14 PM To: mat...@li... Subject: [Matlab-emacs-discuss] matlab-emacs configuration questions I've been struggling with getting matlab-emacs working for a bit now. I wonder if you'd mind trying to give me a hand sorting this out. The problems I"m having are that: 1) I can't seem to get matlab configuration options to work (MATLAB menu -> Configuration) gives an error Custom-mode: Symbol widget-mouse-face may not be buffer-local 2) I can't turn on the (matlab-cedet-setup) option: File error: Cannot open load file, semanticdb-search 3) the tab-completions don't work unless I include the command (setq matlab-shell-ask-MATLAB-for-completions nil) in my .emacs file. >> matlabMCRprocess = >> com.mathworks.jmi.MatlabMCR;matlabMCRprocess.mtFindAllTabCompletions( >> 'full'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'full' 'fullfact' 'fullfile' >> >> I'm running OSX Lion with emacs GNU Emacs 23.4.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32) of 2012-04-24 I've tried a number of configurations to install matlab-emacs correctly, this is the closest I've found, the following lines are added to my .emacs file: (add-to-list 'load-path "~/.emacs.d/site-lisp-backup/matlab-emacs") (load-library "matlab-load") ;; Enable CEDET feature support for MATLAB code. (Optional) ;(matlab-cedet-setup) (setq matlab-cont-level 2) (setq matlab-indent-level 2) (setq matlab-shell-ask-MATLAB-for-completions nil) I have built matlab-emacs from the latest cvs: revision number 1.39 I think, and it builds with only warnings. I placed cedet 1.0.1 into the ../cedet folder. Any help would be appreciated. I'd be nice to have autocomplete and mlint working. Cheers, Sandy Patterson ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: <xa...@gm...> - 2012-06-18 21:13:57
|
I've been struggling with getting matlab-emacs working for a bit now. I wonder if you'd mind trying to give me a hand sorting this out. The problems I"m having are that: 1) I can't seem to get matlab configuration options to work (MATLAB menu -> Configuration) gives an error Custom-mode: Symbol widget-mouse-face may not be buffer-local 2) I can't turn on the (matlab-cedet-setup) option: File error: Cannot open load file, semanticdb-search 3) the tab-completions don't work unless I include the command (setq matlab-shell-ask-MATLAB-for-completions nil) in my .emacs file. >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR;matlabMCRprocess.mtFindAllTabCompletions('full'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'full' 'fullfact' 'fullfile' >> >> I'm running OSX Lion with emacs GNU Emacs 23.4.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32) of 2012-04-24 I've tried a number of configurations to install matlab-emacs correctly, this is the closest I've found, the following lines are added to my .emacs file: (add-to-list 'load-path "~/.emacs.d/site-lisp-backup/matlab-emacs") (load-library "matlab-load") ;; Enable CEDET feature support for MATLAB code. (Optional) ;(matlab-cedet-setup) (setq matlab-cont-level 2) (setq matlab-indent-level 2) (setq matlab-shell-ask-MATLAB-for-completions nil) I have built matlab-emacs from the latest cvs: revision number 1.39 I think, and it builds with only warnings. I placed cedet 1.0.1 into the ../cedet folder. Any help would be appreciated. I'd be nice to have autocomplete and mlint working. Cheers, Sandy Patterson |
From: Eric L. <Eri...@ma...> - 2012-06-15 17:02:58
|
Hi David, Cell mode support in matlab.el can be summed up like this: % in your major mode (make-local-variable 'page-delimiter) (setq page-delimiter "^\\(\f\\|%% \\)") then use forward-page to find the boundary of the cell, and run that region. There is very little magic involved, and this is a common tactic for other modes as far as I know. If you intend to copy stuff from matlab-mode, understand that many of the original authors are not around to provide releases that would allow your code to become a part of Emacs or the lisp archive later. Enjoy Eric -----Original Message----- From: Strozzi, David J. [mailto:str...@ll...] Sent: Friday, June 15, 2012 12:53 PM To: mat...@li... Subject: [Matlab-emacs-discuss] matlab cell-like mode for Yorick I am not trying to incite a holy war but will try to be ecumenical and syncretist: Yorick is a free, open-source interpreter for numerics (and with a parallel mode) written primarily by Dave Munro at Livermore. I've always felt if people were choosing tools based on their merits and not inertia, marketing, etc it would be much more widely used. But that's not my point! Dave M.'s written a nice emacs package for yorick, and the prime way people are supposed to run yorick is within emacs. As for OSes, "Linux is nice but I prefer emacs". It would be very handy to have something like Matlab's cell mode when working with Yorick source - both to navigate source and to execute chunks. I'm emailing this list since I have almost no familiarity with elisp. I wonder if it's simple to adapt some of the matlab-mode coding to add a cell capability to editing Yorick source. If someone is willing to hold my hand or point me to the relevant .el matlab source, we'd be forever grateful. As things stand, the yorick emacs package lets you send the selected region to the yorick interpreter session for execution. It just wastes time to constantly select a chunk, execute it, edit it a bit, re-select, etc. Thanks! Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Strozzi, D. J. <str...@ll...> - 2012-06-15 16:52:53
|
I am not trying to incite a holy war but will try to be ecumenical and syncretist: Yorick is a free, open-source interpreter for numerics (and with a parallel mode) written primarily by Dave Munro at Livermore. I've always felt if people were choosing tools based on their merits and not inertia, marketing, etc it would be much more widely used. But that's not my point! Dave M.'s written a nice emacs package for yorick, and the prime way people are supposed to run yorick is within emacs. As for OSes, "Linux is nice but I prefer emacs". It would be very handy to have something like Matlab's cell mode when working with Yorick source - both to navigate source and to execute chunks. I'm emailing this list since I have almost no familiarity with elisp. I wonder if it's simple to adapt some of the matlab-mode coding to add a cell capability to editing Yorick source. If someone is willing to hold my hand or point me to the relevant .el matlab source, we'd be forever grateful. As things stand, the yorick emacs package lets you send the selected region to the yorick interpreter session for execution. It just wastes time to constantly select a chunk, execute it, edit it a bit, re-select, etc. Thanks! Dave |
From: Eric L. <Eri...@ma...> - 2012-06-07 14:34:49
|
Hi, One flag you can modify to control how much memory is used is comint-buffer-maximum-size, where comint is a utility matlab-shell uses to interact with MATLAB. That controls how much text is in the buffer. I'm going to guess that is not the problem though. MATLAB shell has a feature where it scans the MATLAB output for things to highlight, such as error messages, anchors (like urls), and stacks, which enables you to click on some text for some action. This works by keeping a buffer of text matlab has recently output and scanning it for those things. When it finds something, it converts the text into urls, etc. In theory, it should only keep 1 line of text or close to it, and be periodically flushed. You can test that by checking the value of gud-marker-acc from in your matlab-shell buffer. (where gud is part of the Grand Unified Debugger, which is part of Emacs.) M-: gud-marker-acc RET If it has grown super huge, then it would indeed get very slow, since every time MATLAB output text it would be searching the buffer for errors, and probably re-tagging old errors. The key would be figuring out why the clear conditions aren't met. You can find that in a bit of code like this: (if (and matlab-prompt-seen ;; Don't collect during boot (not frame) ;; don't collect debug stuff (let ((start (string-match gud-matlab-marker-regexp-prefix gud-marker-acc))) (and start (not (string-match "\n" gud-marker-acc start)) ;;(not (string-match "^K?>>\\|\\?\\?\\?\\s-Error while evaluating" gud-marker-acc start)) ))) ;; We could be collecting something. Wait for a while. nil ;; Finish off this part of the output. None of our special stuff ;; ends with a \n, so display those as they show up... (while (string-match "^[^\n]*\n" gud-marker-acc) (setq output (concat output (substring gud-marker-acc 0 (match-end 0))) gud-marker-acc (substring gud-marker-acc (match-end 0)))) in matlab.el. It will require a bit of analysis to see why it is failing. Good Luck Eric -----Original Message----- From: Jan-Pieter Jacobs [mailto:jan...@gm...] Sent: Thursday, June 07, 2012 5:31 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Memory Leak? Hi all! I was really delighted to see an extension to a free editor that allows for usage of the Matlab debugger, etc. I installed the whole set of functions using dl_emacs_support. After a bit of fiddling with my .emacs file I have everything running. The problem that I encounter though, is that when using matlab-mode, Emacs' memory will steadily rise, also maxing out CPU load, up until the point I need to kill emacs because it does not respond any longer. I have the feeling that the problem lies with the communication between Emacs and Matlab, because before starting Matlab, everything goes well. I also noticed that upon every communication with Matlab (like when completing symbols etc), I get a new line + prompt sign (>>) in the matlab-shell window. For example, I've got some Matlab code that I'm debugging, and after stepping a few times through the code, emacs hardly responds, CPU load is 100% and memory is (according to top): Virt: 2244M Res: 1909M (or about 2Gb). The process of memory growth seems to go exponentially: Each attempt to access emacs makes the increase go faster and faster. I'm using Emacs 23.3.1 on Kubuntu 12.04 and Matlab R2011b (7.13.0.564). If anyone knows any solutions, or might point me where to look, I'd be really happy. Kind regards, Jan-Pieter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Jan-Pieter J. <jan...@gm...> - 2012-06-07 09:30:49
|
Hi all! I was really delighted to see an extension to a free editor that allows for usage of the Matlab debugger, etc. I installed the whole set of functions using dl_emacs_support. After a bit of fiddling with my .emacs file I have everything running. The problem that I encounter though, is that when using matlab-mode, Emacs' memory will steadily rise, also maxing out CPU load, up until the point I need to kill emacs because it does not respond any longer. I have the feeling that the problem lies with the communication between Emacs and Matlab, because before starting Matlab, everything goes well. I also noticed that upon every communication with Matlab (like when completing symbols etc), I get a new line + prompt sign (>>) in the matlab-shell window. For example, I've got some Matlab code that I'm debugging, and after stepping a few times through the code, emacs hardly responds, CPU load is 100% and memory is (according to top): Virt: 2244M Res: 1909M (or about 2Gb). The process of memory growth seems to go exponentially: Each attempt to access emacs makes the increase go faster and faster. I'm using Emacs 23.3.1 on Kubuntu 12.04 and Matlab R2011b (7.13.0.564). If anyone knows any solutions, or might point me where to look, I'd be really happy. Kind regards, Jan-Pieter |
From: Siyu Z. <jun...@gm...> - 2012-04-05 01:12:17
|
High! Everyone, I am new to Emacs and have a few dummy questions. 1. Running 'dl_emacs_support' in Matlab environment downloaded some .el files. How could I use them? 2. How do I start Emacs Matlab mode? 3. Do I need Admin authority to install Matlab mode for emacs? Thank you very much! -- Sincerely, Siyu Zhu |
From: Uwe B. <ou...@ma...> - 2012-02-29 13:28:36
|
>> On Wed, 29 Feb 2012 12:00:33 +0100, Sylvain Rousseau <th...@gm...> wrote: > Hello, > try the following patch: > http://sourceforge.net/tracker/?func=detail&aid=3468931&group_id=154105&atid=790448 > Sylvain. > Hello, > try the following patch: > http://sourceforge.net/tracker/?func=detail&aid=3468931&group_id=154105&atid=790448 very nice!!! Thanks! However I would recommend to have the variable matlab-change-current-directory set to t per default. Uwe |
From: Sylvain R. <th...@gm...> - 2012-02-29 11:00:45
|
Hello, try the following patch: http://sourceforge.net/tracker/?func=detail&aid=3468931&group_id=154105&atid=790448 Sylvain. |
From: Uwe B. <ou...@ma...> - 2012-02-28 19:59:40
|
>> On Tue, 28 Feb 2012 20:48:37 +0100, evelina dineva <ed...@de...> wrote: > try the command >> pwd > in the shell to see in which directory it currently is open works on > OSX/linux; not sure about windows yes of course, but then I have still to change the directory manually. That is: my *MATLAB* shell is in dir1, I have a matlab file at hand (which is in dir2) and run `matlab-shell-save-and-go' but it does not work because this file is in a different directory. As I said in MS windows a window pops up. Now in linux I have to switch to the matlab-shell run pwd and then run cd dir2. That is very cumbersome. So I came up with the following solution which I can fire up in the file (defun matlab-cd-dir-actual () (interactive) (matlab-shell-run-command (concat "cd " (file-name-directory (buffer-file-name)))) (message "You have changed the *MATLAB* shell to the current directory.")) This function is sort of overkill it is executed always, better would be to have a variable which checks whether the file is in the directory where the *MATLAB* shell runs. Uwe Brauer |
From: Uwe B. <ou...@ma...> - 2012-02-28 19:31:40
|
Hello The following works in windows. I use the built in editor and when to run the entire file, however the command shell is in a different directory. Then a windows pop up telling me this and offering me: either to add the current directory to the path or to change the command window prompt to the directory of the file, which is the option I almost ever chose. I thought that might not to difficult but then as a starter I cannot find a variable which tells me in which directory I started the matlab-shell. Uwe Brauer |
From: Dan B. <db...@gm...> - 2012-02-24 23:28:56
|
On Fri, Feb 24, 2012 at 10:55 AM, David Chappaz <dav...@fr...> wrote: > I'm sure we can imagine plenty more scenarios, and if emacs doesn't > constantly query matlab for the list of breakpoints, it would quickly get > out of sync. Agreed. For a quick personal hack it might be enough to hook into the C-x space etc commands, but to do it right you would want to query matlab. I looked at gud.el & gdb.el, and I think that getting the breakpoints to display will be harder than keeping track of them. gdb.el has a bunch of code to display breakpoints using overlays, but it's not at all obvious how one would go about re-using that code. Ideally it would all be abstracted into gud.el, but that looks looks like a big job for a gud/gdb novice. Even if I just wanted to get it working for matlab stuff, there would a lot of work to figure out exactly what to copy over into matlab.el. Probably not a good first project for a emacs lisp newbie. Dan -- Dan Becker |
From: David C. <dav...@fr...> - 2012-02-24 17:56:24
|
> I was thinking that as long as you only set breakpoints from within > emacs, you wouldn't need to query matlab In principle yes, that would be fine. In practise however, many things can alter breakpoints. E.g. when you issue "clear all" from matlab, a side effect is that all breakpoints are cleared, and emacs wouldn't notice a thing. I'm sure we can imagine plenty more scenarios, and if emacs doesn't constantly query matlab for the list of breakpoints, it would quickly get out of sync. |
From: Dan B. <db...@gm...> - 2012-02-24 17:14:02
|
I was thinking that as long as you only set breakpoints from within emacs, you wouldn't need to query matlab, and that would make things simpler. That thread mentions a couple pages of code, which doesn't sound too bad too me ... but that doesn't mean I'm volunteering to write said code ;-) But I've never done any real emacs lisp programming, so maybe writing something to hook into GUD would be a good first project. I will email the list if I come up with anything. Thanks for the replies! Dan On Thu, Feb 23, 2012 at 5:11 AM, David Chappaz <dav...@fr...> wrote: > >>> -----Original Message----- >>> From: Dan Becker [mailto:db...@gm...] >>> >>> Even if you set breakpoints through dbstop >>> commands in the matlab shell, it should still be able to keep track. >>> >>> Is there something about this that makes it much harder than it seems? > > This was shortly discussed in this message: > http://sourceforge.net/mailarchive/message.php?msg_id=28513597 > > > For matlab-shell to keep track of the breakpoints is not impossible but a > little tricky, because it would have to constantly query matlab with > "dbstatus". > > Everything would be much easier if matlab was itself sending a message to > matlab-emacs whenever the list of breakpoints changes (e.g. all breakpoints > are cleared, or a new one is added). This feature used to be present with > EmacsLink, but has now disappeared. > > My personal take on this is that if enough people complain to MathWworks > directly (not Eric), then they'll (perhaps) do something about it. > As I can't remember where my breakpoints are... I just stick with R2008 and > EmacsLink for now... > > -- Dan Becker |
From: David C. <dav...@fr...> - 2012-02-23 12:46:59
|
>> -----Original Message----- >> From: Dan Becker [mailto:db...@gm...] >> >> Even if you set breakpoints through dbstop >> commands in the matlab shell, it should still be able to keep track. >> >> Is there something about this that makes it much harder than it seems? This was shortly discussed in this message: http://sourceforge.net/mailarchive/message.php?msg_id=28513597 For matlab-shell to keep track of the breakpoints is not impossible but a little tricky, because it would have to constantly query matlab with "dbstatus". Everything would be much easier if matlab was itself sending a message to matlab-emacs whenever the list of breakpoints changes (e.g. all breakpoints are cleared, or a new one is added). This feature used to be present with EmacsLink, but has now disappeared. My personal take on this is that if enough people complain to MathWworks directly (not Eric), then they'll (perhaps) do something about it. As I can't remember where my breakpoints are... I just stick with R2008 and EmacsLink for now... |
From: Dan B. <db...@gm...> - 2012-02-22 22:07:55
|
Thanks for the response! I mostly remember my breakpoints, so I guess I'm mostly a good programmer! But in the case where you are setting and clearing breakpoints through GUD, shouldn't it be easy for GUD itself to keep track of which lines you have set breakpoints on? Especially since breakpoints are cleared every time you save. Even if you set breakpoints through dbstop commands in the matlab shell, it should still be able to keep track. Is there something about this that makes it much harder than it seems? Dan On Wed, Feb 22, 2012 at 7:21 AM, Eric Ludlam <Eri...@ma...> wrote: > The basic version of gud that integrates in a lot of basic command-line debuggers doesn't support stop sign icons. There is a special version of gdb w/ gud that does support the stop signs, but it depends on features in gdb to work. Older versions of MATLAB supported an API we used to use to show stop signs for MATLAB debugging, but when those undocumented APIs changed, we lost that feature. > > The philosophy is that good programmers can remember where they put their breakpoints, the same way good programmers in Emacs can remember where they set the mark, but I think it is mostly just that it's hard to implement against a random debugger sub-process that doesn't support triggers. > > Eric > > -----Original Message----- > From: Dan Becker [mailto:db...@gm...] > Sent: Wednesday, February 15, 2012 3:46 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] How can I get emacs to display a stop-sign icon when I set a breakpoint? > > (I also posted this question on Stackoverflow, so feel free to answer there if you like) > > I'm running emacs 23.4 on OSX, obtained from emacsformacosx.com. I'm writing matlab code, using the latest code from matlab-emacs.sourceforge.net. > > I can set breakpoints and step through matlab code with no problems. > However, when I set breakpoints, no "stop-sign" icon appears next to the lines that have breakpoints. The arrow icon indicating the line on which you are stopped *does* appear. > > I've seen emacs screenshots online that show stop-sign icons, but I can't find any GUD documentation on this. > > How can I get these icons to appear? Is this a problem with matlab-mode, or something in my setup? > > Thanks, > > Dan > -- > Dan Becker > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss -- Dan Becker |
From: Eric L. <Eri...@ma...> - 2012-02-22 14:22:03
|
The basic version of gud that integrates in a lot of basic command-line debuggers doesn't support stop sign icons. There is a special version of gdb w/ gud that does support the stop signs, but it depends on features in gdb to work. Older versions of MATLAB supported an API we used to use to show stop signs for MATLAB debugging, but when those undocumented APIs changed, we lost that feature. The philosophy is that good programmers can remember where they put their breakpoints, the same way good programmers in Emacs can remember where they set the mark, but I think it is mostly just that it's hard to implement against a random debugger sub-process that doesn't support triggers. Eric -----Original Message----- From: Dan Becker [mailto:db...@gm...] Sent: Wednesday, February 15, 2012 3:46 PM To: mat...@li... Subject: [Matlab-emacs-discuss] How can I get emacs to display a stop-sign icon when I set a breakpoint? (I also posted this question on Stackoverflow, so feel free to answer there if you like) I'm running emacs 23.4 on OSX, obtained from emacsformacosx.com. I'm writing matlab code, using the latest code from matlab-emacs.sourceforge.net. I can set breakpoints and step through matlab code with no problems. However, when I set breakpoints, no "stop-sign" icon appears next to the lines that have breakpoints. The arrow icon indicating the line on which you are stopped *does* appear. I've seen emacs screenshots online that show stop-sign icons, but I can't find any GUD documentation on this. How can I get these icons to appear? Is this a problem with matlab-mode, or something in my setup? Thanks, Dan -- Dan Becker ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |