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: David C. <dav...@fr...> - 2011-12-08 16:12:26
|
Hi Eric, Many thanks for your swift reply !! In fact I've just realised things are more complicated than that. Eventually I did manage to submit matlab as a Sun Grid Engine job, but then, the communication between emacs and matlab is broken because the two processes do not necessarily run on the same machine.. So it looks like the only way is to submit emacs as a job first, and start matlab normally from there (on the same machine !). On a slightly different note, I've been using EmacsLink for years, but only now am I starting to look at matlab-emacs. Undoubtedly there are a few things I need to learn and to get used to, but one thing that I miss terribly is the ability to "see" where my breakpoints are in the source code, pretty much in the same way as mlint warnings are reported (with linemark.el). Is this feature not supported ? Or is something broken in my configuration ? Cheers, David. _____ From: Eric Ludlam [mailto:Eri...@ma...] Sent: 08 December 2011 15:07 To: David Chappaz; mat...@li... Subject: RE: [Matlab-emacs-discuss] Matlab-Shell & Sun Grid Engine Hi, The variable 'matlab-shell-command' needs to be a string that represents a single executable. In your case, you want it to just be "qrsh". You would then set 'matlab-shell-command-switches' to be '("-b" "y" "-q" "single" "-V" .) with all your switches spelled out. It seems outlook is messing with my 'quote' marks, so you will need to type it in and not copy what I typed here. Good Luck Eric From: David Chappaz [mailto:dav...@fr...] Sent: Thursday, December 08, 2011 7:51 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Matlab-Shell & Sun Grid Engine Hi everyone, I'm having a simple problem configuring matlab-shell-command. The thing is I actually never run matlab locally on the machine I am logged on, but matlab is submitted as a job to a large pool of linux machines with the Sun Grid Engine. In other words, I don't use the "matlab" command at the shell prompt, but instead I use something like: qrsh -b y -q single -V -cwd -noshell matlab Now, everything works fine by default, if I set matlab-shell-command to "matlab". But if I set matlab-shell-command to "qrsh -b y -q single -V -cwd -noshell matlab", a problem occurs in matlab.el (matlab-shell function), and more specifically on this line : (switch-to-buffer (apply 'make-comint matlab-shell-buffer-name matlab-shell-command nil matlab-shell-command-switches)) which returns the error message Searching for program: no such file or directory, qrsh -b y -q single -V -cwd -noshell matlab As a workaround, I have tried defining an alias in my .cshrc, something like: alias sge_matlab 'qrsh -b y -q single -V -cwd -noshell matlab' and this works to manually start matlab from the shell. But again if I set matlab-shell-command to "sge_matlab", then I get apply: Searching for program: no such file or directory, sge_matlab So what is the proper way to get everything to work in my case ? Many thanks in advance ! Cheers, David. |
From: Eric L. <Eri...@ma...> - 2011-12-08 15:52:40
|
Hi, Good Luck getting your matlab shell working. It sounds like a tricky environment. EmacsLink depended on some Java APIs that aren't available any more. Most of what you may think of as EmacsLink, however, is the same as matlab-emacs except that matlab-emacs on SourceForge has a bunch of misc bug fixes. The matlab-shell command was an EmacsLink predecessor, and fortunately, still works. The breakpoint feature was one of the things not available. I would be possible to fake it out by reading commands that set breakpoints, and using linemark to remember them, but I imagine that would be quite tricky. It would probably work to have some command for matlab-shell that calls dbstatus, reads the breakpoints, and dumps out a lisp struct that could be read in to populate a linemark database. I picture a couple pages of code for that. You'd have to run the command to show the BP though. If someone would like to give it a try, I'll be happy to give some pointers. Eric From: David Chappaz [mailto:dav...@fr...] Sent: Thursday, December 08, 2011 10:23 AM To: Eric Ludlam; mat...@li... Subject: RE: [Matlab-emacs-discuss] Matlab-Shell & Sun Grid Engine Hi Eric, Many thanks for your swift reply !! In fact I've just realised things are more complicated than that... Eventually I did manage to submit matlab as a Sun Grid Engine job, but then, the communication between emacs and matlab is broken because the two processes do not necessarily run on the same machine.... So it looks like the only way is to submit emacs as a job first, and start matlab normally from there (on the same machine !). On a slightly different note, I've been using EmacsLink for years, but only now am I starting to look at matlab-emacs. Undoubtedly there are a few things I need to learn and to get used to, but one thing that I miss terribly is the ability to "see" where my breakpoints are in the source code, pretty much in the same way as mlint warnings are reported (with linemark.el). Is this feature not supported ? Or is something broken in my configuration ? Cheers, David. ________________________________ From: Eric Ludlam [mailto:Eri...@ma...] Sent: 08 December 2011 15:07 To: David Chappaz; mat...@li... Subject: RE: [Matlab-emacs-discuss] Matlab-Shell & Sun Grid Engine Hi, The variable 'matlab-shell-command' needs to be a string that represents a single executable. In your case, you want it to just be "qrsh". You would then set 'matlab-shell-command-switches' to be '("-b" "y" "-q" "single" "-V" ...) with all your switches spelled out. It seems outlook is messing with my 'quote' marks, so you will need to type it in and not copy what I typed here. Good Luck Eric From: David Chappaz [mailto:dav...@fr...] Sent: Thursday, December 08, 2011 7:51 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Matlab-Shell & Sun Grid Engine Hi everyone, I'm having a simple problem configuring matlab-shell-command. The thing is I actually never run matlab locally on the machine I am logged on, but matlab is submitted as a job to a large pool of linux machines with the Sun Grid Engine. In other words, I don't use the "matlab" command at the shell prompt, but instead I use something like: qrsh -b y -q single -V -cwd -noshell matlab Now, everything works fine by default, if I set matlab-shell-command to "matlab". But if I set matlab-shell-command to "qrsh -b y -q single -V -cwd -noshell matlab", a problem occurs in matlab.el (matlab-shell function), and more specifically on this line : (switch-to-buffer (apply 'make-comint matlab-shell-buffer-name matlab-shell-command nil matlab-shell-command-switches)) which returns the error message Searching for program: no such file or directory, qrsh -b y -q single -V -cwd -noshell matlab As a workaround, I have tried defining an alias in my .cshrc, something like: alias sge_matlab 'qrsh -b y -q single -V -cwd -noshell matlab' and this works to manually start matlab from the shell. But again if I set matlab-shell-command to "sge_matlab", then I get apply: Searching for program: no such file or directory, sge_matlab So what is the proper way to get everything to work in my case ? Many thanks in advance ! Cheers, David. |
From: Eric L. <Eri...@ma...> - 2011-12-08 15:06:46
|
Hi, The variable 'matlab-shell-command' needs to be a string that represents a single executable. In your case, you want it to just be "qrsh". You would then set 'matlab-shell-command-switches' to be '("-b" "y" "-q" "single" "-V" ...) with all your switches spelled out. It seems outlook is messing with my 'quote' marks, so you will need to type it in and not copy what I typed here. Good Luck Eric From: David Chappaz [mailto:dav...@fr...] Sent: Thursday, December 08, 2011 7:51 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Matlab-Shell & Sun Grid Engine Hi everyone, I'm having a simple problem configuring matlab-shell-command. The thing is I actually never run matlab locally on the machine I am logged on, but matlab is submitted as a job to a large pool of linux machines with the Sun Grid Engine. In other words, I don't use the "matlab" command at the shell prompt, but instead I use something like: qrsh -b y -q single -V -cwd -noshell matlab Now, everything works fine by default, if I set matlab-shell-command to "matlab". But if I set matlab-shell-command to "qrsh -b y -q single -V -cwd -noshell matlab", a problem occurs in matlab.el (matlab-shell function), and more specifically on this line : (switch-to-buffer (apply 'make-comint matlab-shell-buffer-name matlab-shell-command nil matlab-shell-command-switches)) which returns the error message Searching for program: no such file or directory, qrsh -b y -q single -V -cwd -noshell matlab As a workaround, I have tried defining an alias in my .cshrc, something like: alias sge_matlab 'qrsh -b y -q single -V -cwd -noshell matlab' and this works to manually start matlab from the shell. But again if I set matlab-shell-command to "sge_matlab", then I get apply: Searching for program: no such file or directory, sge_matlab So what is the proper way to get everything to work in my case ? Many thanks in advance ! Cheers, David. |
From: David C. <dav...@fr...> - 2011-12-08 13:22:17
|
Hi everyone, I'm having a simple problem configuring matlab-shell-command. The thing is I actually never run matlab locally on the machine I am logged on, but matlab is submitted as a job to a large pool of linux machines with the Sun Grid Engine. In other words, I don't use the "matlab" command at the shell prompt, but instead I use something like: qrsh -b y -q single -V -cwd -noshell matlab Now, everything works fine by default, if I set matlab-shell-command to "matlab". But if I set matlab-shell-command to "qrsh -b y -q single -V -cwd -noshell matlab", a problem occurs in matlab.el (matlab-shell function), and more specifically on this line : (switch-to-buffer (apply 'make-comint matlab-shell-buffer-name matlab-shell-command nil matlab-shell-command-switches)) which returns the error message Searching for program: no such file or directory, qrsh -b y -q single -V -cwd -noshell matlab As a workaround, I have tried defining an alias in my .cshrc, something like: alias sge_matlab 'qrsh -b y -q single -V -cwd -noshell matlab' and this works to manually start matlab from the shell. But again if I set matlab-shell-command to "sge_matlab", then I get apply: Searching for program: no such file or directory, sge_matlab So what is the proper way to get everything to work in my case ? Many thanks in advance ! Cheers, David. |
From: Matthieu L. <mat...@ho...> - 2011-10-29 20:40:22
|
Hello, I am trying to get semantic to work with my Matlab projects. I have the following defined in semanticdb-matlab.el: (defvar semanticdb-matlab-include-paths '("/home1/m/matthieu/projects/")) When I open a Matlab file under my "projects" in emacs, semanticdb spends some time "Searching for user files" (about 30 seconds). Then I select a function call that is defined somewhere else under "projects" and execute "semantic-ia-fast-jump". It fails with the message "Could not find suitable jump point for [my function name]". However, *after* opening the file where the function is defined, the jump works. I guess the semanticdb indexing function is not working for me, but I don't know what I am missing. Does the indexing work recursively? Is semanticdb-matlab-include-paths the right variable to use? (I recompiled all emacs-matlab files after adding my project directory and it still doesn't work). Thank you for your help, Matthieu |
From: Mark H. <mh...@gm...> - 2011-10-05 14:18:15
|
Thanks for the reply. I've been testing this over the past few weeks, and the issue still pops up sporadically for me, so you should not include the patch below. I think it may be related to using Aquamacs on Mac OS X. I've switched to using a more stock Emacs: 23.3 from http://emacsformacosx.com/builds. So far I haven't seen it, but if recurs I will look into it and let you know. Aquamacs seems to have multiple issues with matlab-shell, for anyone else that was thinking of using it. Best, Mark On Oct 5, 2011, at 8:48 AM, Eric Ludlam wrote: > Hi, > > Sorry for the delay in replying. > > I was not able to reproduce this issue, but the patch seems to continue working fine for me, so I'll include it in the next check-in unless I discover something else along the way. > > Thanks! > Eric > > -----Original Message----- > From: Mark Histed [mailto:mh...@gm...] > Sent: Thursday, September 08, 2011 1:58 PM > To: David Engster > Cc: Eric Ludlam; mat...@li... > Subject: Bug report (patch): matlab.el: previous command at shell prompt fix > > Hi, > > Using the latest CVS matlab.el, and Matlab 2011a, pressing M-p or the up arrow does not recall previous history. > Status line shows "History item 1", but the previous command gets inserted before the ">>" prompt and pressing RET gives an error like "Unknown operator >>" from Matlab. > > This patch fixes it. But it is unlikely to be the best solution. > > Best > Mark > > Subject: [PATCH] kludgy fix to make previous command history work at shell prompt > > --- > matlab.el | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/matlab.el b/matlab.el > index fee2bb9..d928458 100644 > --- a/matlab.el > +++ b/matlab.el > @@ -4729,6 +4729,7 @@ end\n" > (defun matlab-shell-previous-matching-input-from-input (n) > "Get the Nth previous matching input from for the command line." > (interactive "p") > + (end-of-line) > (if (comint-after-pmark-p) > (if (memq last-command '(matlab-shell-previous-matching-input-from-input > matlab-shell-next-matching-input-from-input)) > -- > 1.7.0.3 > > |
From: Eric L. <Eri...@ma...> - 2011-10-05 13:16:45
|
Hi, I was not able to reproduce this issue (I don't have a mac handy). Your emacs should have CEDET built in, so perhaps it is related to built-in CEDET not being overridden by cedet 1.0 which you installed separately? I never tried CEDET from Emacs 23.3 and matlab together, I've always used CEDET installed from CVS or, more recently, BZR. If you have the CEDET setup from the instructions that came with the cedet 1.0 tar ball you should be ok. Eric -----Original Message----- From: Cláudia Soares [mailto:cla...@gm...] Sent: Thursday, September 29, 2011 7:17 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Cedet integration Hi I'm trying to have a fully functional matlab-emacs + semantic installation, but I'm missing something. When typing code, sometimes I get this error: incremental parser error: "No support found to parse buffer \"problemInicialization.m\"" This seems to happen whenever I type a struct accessor (a dot) after a struct variable name. Can somebody give me a hint on what might be wrong with my setup? I'm running MacPorts Emacs 23.3(9.0), cedet 1.0, matlab-mode 3.3.1. In my init file all matlab-emacs related definitions are: (add-to-list 'load-path (concat elisp-dir "matlab-emacs")) (require 'matlab-load) (matlab-cedet-setup) (setq matlab-indent-function-body t) Thanks Claudia ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2011-10-05 12:48:48
|
Hi, Sorry for the delay in replying. I was not able to reproduce this issue, but the patch seems to continue working fine for me, so I'll include it in the next check-in unless I discover something else along the way. Thanks! Eric -----Original Message----- From: Mark Histed [mailto:mh...@gm...] Sent: Thursday, September 08, 2011 1:58 PM To: David Engster Cc: Eric Ludlam; mat...@li... Subject: Bug report (patch): matlab.el: previous command at shell prompt fix Hi, Using the latest CVS matlab.el, and Matlab 2011a, pressing M-p or the up arrow does not recall previous history. Status line shows "History item 1", but the previous command gets inserted before the ">>" prompt and pressing RET gives an error like "Unknown operator >>" from Matlab. This patch fixes it. But it is unlikely to be the best solution. Best Mark Subject: [PATCH] kludgy fix to make previous command history work at shell prompt --- matlab.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/matlab.el b/matlab.el index fee2bb9..d928458 100644 --- a/matlab.el +++ b/matlab.el @@ -4729,6 +4729,7 @@ end\n" (defun matlab-shell-previous-matching-input-from-input (n) "Get the Nth previous matching input from for the command line." (interactive "p") + (end-of-line) (if (comint-after-pmark-p) (if (memq last-command '(matlab-shell-previous-matching-input-from-input matlab-shell-next-matching-input-from-input)) -- 1.7.0.3 |
From: Timothy W. H. <hi...@un...> - 2011-10-04 15:32:39
|
In case anyone ever runs across this thread trying to solve this problem, this is a bug in MATLAB R2010b Service Pack 1 for Macs. There's a simple fix here: http://www.mathworks.com/support/bugreports/711742 For some reason, that link wasn't easy to find with google... -Tim > Hello, > > Thanks for the great emacs tool -- I've recently migrated back to Matlab > after a number of years using mostly other tools and I'm really glad > this package is available! > > I am getting this message repeatedly during matlab-shell sessions in emacs: > > 2011-09-23 09:28:18.168 MATLAB_maci64[9988:3003] > CFPropertyListCreateFromXMLData(): Old-style plist parser: missing > semicolon in dictionary. > > From the message text I think the error is coming from Matlab, not from > matlab-emacs, but it only appears in matlab-shell in emacs. If I run > the Matlab GUI I do not see the message. I posted to this list in hopes > that someone else might have seen this or know how to fix this? Or, > short of fixing it, how to suppress the message? It's annoying because > it takes the focus of matlab-shell so that running code regions with C-c > C-r does not work. > > I am running Matlab Version 7.11.1.866 (R2010b) Service Pack 1 64-bit > (maci64) on OS X 10.5.8. > > Thanks, > Tim > > -- > > Timothy W. Hilton > Postdoctoral Fellow, Department of Biology > University of New Mexico > hilton@... |
From: Cláudia S. <cla...@gm...> - 2011-09-29 23:16:46
|
Hi I'm trying to have a fully functional matlab-emacs + semantic installation, but I'm missing something. When typing code, sometimes I get this error: incremental parser error: "No support found to parse buffer \"problemInicialization.m\"" This seems to happen whenever I type a struct accessor (a dot) after a struct variable name. Can somebody give me a hint on what might be wrong with my setup? I'm running MacPorts Emacs 23.3(9.0), cedet 1.0, matlab-mode 3.3.1. In my init file all matlab-emacs related definitions are: (add-to-list 'load-path (concat elisp-dir "matlab-emacs")) (require 'matlab-load) (matlab-cedet-setup) (setq matlab-indent-function-body t) Thanks Claudia |
From: Eric L. <Eri...@ma...> - 2011-09-28 13:17:40
|
Hi, Sorry for the very slow reply. Supposedly, if you say 'yes' to configure your mlint, you can point that variable at your mlint programs. This is a list of places where mlint might be. If you set it to some places for mlint, it will attempt to find them either on your path, or in a MATLAB install area. If in the custom buffer you save for a future session, you should be ok. If it comes back at you a few times, just add mlint to your path before Emacs starts, and that will definitely fix it. Eric From: socrates smith [mailto:css...@gm...] Sent: Tuesday, August 16, 2011 5:52 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Fwd: how to see mlint error messages.. Hi, Every time I enable mlint warnings using, (setq matlab-show-mlint-warnings t) (setq matlab-highlight-cross-function-variables t) emacs says that mlint program has not been configured and asks me to configure it. How do I set a program as the mlint program? Thanks, S. Smith |
From: Timothy W. H. <hi...@un...> - 2011-09-23 16:11:02
|
Hello, Thanks for the great emacs tool -- I've recently migrated back to Matlab after a number of years using mostly other tools and I'm really glad this package is available! I am getting this message repeatedly during matlab-shell sessions in emacs: 2011-09-23 09:28:18.168 MATLAB_maci64[9988:3003] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary. >From the message text I think the error is coming from Matlab, not from matlab-emacs, but it only appears in matlab-shell in emacs. If I run the Matlab GUI I do not see the message. I posted to this list in hopes that someone else might have seen this or know how to fix this? Or, short of fixing it, how to suppress the message? It's annoying because it takes the focus of matlab-shell so that running code regions with C-c C-r does not work. I am running Matlab Version 7.11.1.866 (R2010b) Service Pack 1 64-bit (maci64) on OS X 10.5.8. Thanks, Tim -- Timothy W. Hilton Postdoctoral Fellow, Department of Biology University of New Mexico hi...@un... |
From: Mark H. <mh...@gm...> - 2011-09-08 17:58:38
|
Hi, Using the latest CVS matlab.el, and Matlab 2011a, pressing M-p or the up arrow does not recall previous history. Status line shows "History item 1", but the previous command gets inserted before the ">>" prompt and pressing RET gives an error like "Unknown operator >>" from Matlab. This patch fixes it. But it is unlikely to be the best solution. Best Mark Subject: [PATCH] kludgy fix to make previous command history work at shell prompt --- matlab.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/matlab.el b/matlab.el index fee2bb9..d928458 100644 --- a/matlab.el +++ b/matlab.el @@ -4729,6 +4729,7 @@ end\n" (defun matlab-shell-previous-matching-input-from-input (n) "Get the Nth previous matching input from for the command line." (interactive "p") + (end-of-line) (if (comint-after-pmark-p) (if (memq last-command '(matlab-shell-previous-matching-input-from-input matlab-shell-next-matching-input-from-input)) -- 1.7.0.3 |
From: socrates s. <css...@gm...> - 2011-08-16 09:52:22
|
Hi, Every time I enable mlint warnings using, (setq matlab-show-mlint-warnings t) (setq matlab-highlight-cross-function-variables t) emacs says that mlint program has not been configured and asks me to configure it. How do I set a program as the mlint program? Thanks, S. Smith |
From: socrates s. <css...@gm...> - 2011-08-16 09:38:28
|
Thanks Eric! On Tue, Jul 26, 2011 at 7:12 PM, Eric Ludlam <Eri...@ma...>wrote: > Hi,**** > > ** ** > > You can set breakpoints, and step over code a line at a time. This is all > done via GUD interface in Emacs (Grand Unified Debugger).**** > > ** ** > > The GUD menu is enabled in matlab files when you hit a break point. The > keybinding is **** > > ** ** > > C-x C-a b**** > > ** ** > > but if it doesn’t get set, you can always do:**** > > ** ** > > M-x gud-break RET**** > > ** ** > > on some line of code.**** > > ** ** > > In MATLAB Shell, you can do next/step with C-x C-n and C-x C-s. From the > source file, the prefix is C-x C-a.**** > > ** ** > > This is the standard GUD interface for debuggers.**** > > ** ** > > Today I founded my latest Matlab resisting showing the arrow during > debugging every time. It may be the process filters in Emacs need to be > updated with recent changes.**** > > ** ** > > Eric**** > > ** ** > > *From:* socrates smith [mailto:css...@gm...] > *Sent:* Wednesday, July 20, 2011 5:20 AM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] Insert break-points using matlab-emacs** > ** > > ** ** > > Hi all, > > Is it possible to insert breakpoints using the matlab-emacs interface. > Also, will I be able to run through the code step by step using (F5 or F10) > or any such key such as in matlab? > > Thanks, > Socrates**** > |
From: David E. <de...@ra...> - 2011-08-12 16:40:52
|
Graham Taylor writes: > Hello,I'm having problems when executing a region with C-c C-r > (matlab-shell-run-region) when the region contains a line like: > fprintf('My number is %d\n",4); This also happens with sprintf > lines. It seems that matlab-emacs interprets everything after the % as > a comment, and so only the first part of the line is executed. I'm > not an emacs lisp hacker at all. Does anyone have a solution? Graham That bug should be already fixed; please update from CVS. -David |
From: Graham T. <ess...@ho...> - 2011-08-12 16:28:17
|
Hello,I'm having problems when executing a region with C-c C-r (matlab-shell-run-region) when the region contains a line like: fprintf('My number is %d\n",4); This also happens with sprintf lines. It seems that matlab-emacs interprets everything after the % as a comment, and so only the first part of the line is executed. I'm not an emacs lisp hacker at all. Does anyone have a solution? Graham |
From: Eric L. <Eri...@ma...> - 2011-07-29 13:16:24
|
Hi, When you start MATLAB in the matlab-shell in Emacs, it causes Matlab to run 'emacsinit'. In Emacs init, it sets up emacsclient as the default editor. If your Emacs uses 'server-start' the, typing 'edit' in Matlab will cause the file to open in Emacs. Eric -----Original Message----- From: Laurent Jacques [mailto:lau...@uc...] Sent: Friday, July 29, 2011 8:29 AM To: mat...@li... Subject: Re: [Matlab-emacs-discuss] fprintf/disp output to another emacs buffer ? Dear all, Based on the previous exchange of emails with Eric, I would like now to standardize a bit this ability to redirect fprintf output to a shell. In particular, I'd like to design the equivalent of a figure in matlab but for text, let's call it a "message box", so that text messages are sent to it. More clearly, I'd like to achieve something like %% Opening a new buffer in emacs with a shell running inside >> open_msg_box %% get the current message box opened (a label to it) >> gc_msg_box ans = 'ttys0' %% print a message from matlab to this shell >> message("Hello World"); Here is my related question: Do you know if there is a way (e.g. with emacsclient) to open a new emacs buffer from matlab (running inside emacs in matlab-shell) and to run something inside (like "shell") ? Best, Laurent On 26/07/11 15:13, Laurent Jacques wrote: > This works great! Thanks Eric. > > Under Mac OS, once a terminal is open through emacs or not (say in > /dev/ttys001) > I can do now, inside a matlab script, > > fid=fopen('/dev/ttys001','w'); > fprintf(fid,'hello world\n'); > > and this message is truly printed in this terminal! > This is nothing but the stdout redirection I was looking for. > > Best, > Laurent > > On 26/07/11 14:54, Eric Ludlam wrote: >> I used to do this back in 1996 or so, and it worked like this: >> >> Use: >> M-x shell RET >> >> to create a shell, or create a shell with a name by using C-u prefix to the shell command. >> >> In the shell, you can find out which terminal it used. Sometimes it is an environment variable. I found I can use the 'tty' command on my linux box today. >> >> You can fopen that file name and write to it as long as permissions are set ok. >> >> I tried this in my emacs today with >> >> echo "moose">> /dev/pts/4 >> >> and that worked to get to my other shell window. >> >> Good Luck >> Eric >> >> -----Original Message----- >> From: Laurent Jacques [mailto:lau...@uc...] >> Sent: Tuesday, July 26, 2011 6:41 AM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] fprintf/disp output to another emacs buffer ? >> >> Dear all, >> >> Question: Do you know if it is possible to redirect the output of a matlab disp()/fprintf() (possibly using another command) to another emacs buffer than the one running matlab-shell ? >> >> Objective: When running a "cell" inside a matlab script, this possibility would allow me to display some computation messages or results without to be disturbed by the script code that is always recopied in the matlab shell with the fprintf/disp output. >> >> >> Best regards, >> Laurent >> >> >> >> >> -- >> Dr. Laurent JACQUES >> Postdoctoral Researcher, Return Grant, BELSPO, Belgium >> >> Institute of Information and Communication Technologies, >> Electronics and Applied Mathematics (ICTEAM-TELE) University of >> Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 >> 1348 Louvain-la-Neuve, Belgium >> >> Office: a.133 >> Tel: +32 10 47 81 24 >> Fax: +32 10 47 20 89 >> http://perso.uclouvain.be/laurent.jacques >> >> >> --------------------------------------------------------------------- >> --------- Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > -- Dr. Laurent JACQUES Postdoctoral Researcher, Return Grant, BELSPO, Belgium Institute of Information and Communication Technologies, Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 1348 Louvain-la-Neuve, Belgium Office: a.133 Tel: +32 10 47 81 24 Fax: +32 10 47 20 89 http://perso.uclouvain.be/laurent.jacques ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Laurent J. <lau...@uc...> - 2011-07-29 12:29:21
|
Dear all, Based on the previous exchange of emails with Eric, I would like now to standardize a bit this ability to redirect fprintf output to a shell. In particular, I'd like to design the equivalent of a figure in matlab but for text, let's call it a "message box", so that text messages are sent to it. More clearly, I'd like to achieve something like %% Opening a new buffer in emacs with a shell running inside >> open_msg_box %% get the current message box opened (a label to it) >> gc_msg_box ans = 'ttys0' %% print a message from matlab to this shell >> message("Hello World"); Here is my related question: Do you know if there is a way (e.g. with emacsclient) to open a new emacs buffer from matlab (running inside emacs in matlab-shell) and to run something inside (like "shell") ? Best, Laurent On 26/07/11 15:13, Laurent Jacques wrote: > This works great! Thanks Eric. > > Under Mac OS, once a terminal is open through emacs or not (say in > /dev/ttys001) > I can do now, inside a matlab script, > > fid=fopen('/dev/ttys001','w'); > fprintf(fid,'hello world\n'); > > and this message is truly printed in this terminal! > This is nothing but the stdout redirection I was looking for. > > Best, > Laurent > > On 26/07/11 14:54, Eric Ludlam wrote: >> I used to do this back in 1996 or so, and it worked like this: >> >> Use: >> M-x shell RET >> >> to create a shell, or create a shell with a name by using C-u prefix to the shell command. >> >> In the shell, you can find out which terminal it used. Sometimes it is an environment variable. I found I can use the 'tty' command on my linux box today. >> >> You can fopen that file name and write to it as long as permissions are set ok. >> >> I tried this in my emacs today with >> >> echo "moose">> /dev/pts/4 >> >> and that worked to get to my other shell window. >> >> Good Luck >> Eric >> >> -----Original Message----- >> From: Laurent Jacques [mailto:lau...@uc...] >> Sent: Tuesday, July 26, 2011 6:41 AM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] fprintf/disp output to another emacs buffer ? >> >> Dear all, >> >> Question: Do you know if it is possible to redirect the output of a matlab disp()/fprintf() (possibly using another command) to another emacs buffer than the one running matlab-shell ? >> >> Objective: When running a "cell" inside a matlab script, this possibility would allow me to display some computation messages or results without to be disturbed by the script code that is always recopied in the matlab shell with the fprintf/disp output. >> >> >> Best regards, >> Laurent >> >> >> >> >> -- >> Dr. Laurent JACQUES >> Postdoctoral Researcher, Return Grant, BELSPO, Belgium >> >> Institute of Information and Communication Technologies, >> Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 >> 1348 Louvain-la-Neuve, Belgium >> >> Office: a.133 >> Tel: +32 10 47 81 24 >> Fax: +32 10 47 20 89 >> http://perso.uclouvain.be/laurent.jacques >> >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > -- Dr. Laurent JACQUES Postdoctoral Researcher, Return Grant, BELSPO, Belgium Institute of Information and Communication Technologies, Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 1348 Louvain-la-Neuve, Belgium Office: a.133 Tel: +32 10 47 81 24 Fax: +32 10 47 20 89 http://perso.uclouvain.be/laurent.jacques |
From: Eric L. <Eri...@ma...> - 2011-07-26 13:42:59
|
Hi, You can set breakpoints, and step over code a line at a time. This is all done via GUD interface in Emacs (Grand Unified Debugger). The GUD menu is enabled in matlab files when you hit a break point. The keybinding is C-x C-a b but if it doesn't get set, you can always do: M-x gud-break RET on some line of code. In MATLAB Shell, you can do next/step with C-x C-n and C-x C-s. From the source file, the prefix is C-x C-a. This is the standard GUD interface for debuggers. Today I founded my latest Matlab resisting showing the arrow during debugging every time. It may be the process filters in Emacs need to be updated with recent changes. Eric From: socrates smith [mailto:css...@gm...] Sent: Wednesday, July 20, 2011 5:20 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Insert break-points using matlab-emacs Hi all, Is it possible to insert breakpoints using the matlab-emacs interface. Also, will I be able to run through the code step by step using (F5 or F10) or any such key such as in matlab? Thanks, Socrates |
From: Laurent J. <lau...@uc...> - 2011-07-26 13:14:01
|
This works great! Thanks Eric. Under Mac OS, once a terminal is open through emacs or not (say in /dev/ttys001) I can do now, inside a matlab script, fid=fopen('/dev/ttys001','w'); fprintf(fid,'hello world\n'); and this message is truly printed in this terminal! This is nothing but the stdout redirection I was looking for. Best, Laurent On 26/07/11 14:54, Eric Ludlam wrote: > I used to do this back in 1996 or so, and it worked like this: > > Use: > M-x shell RET > > to create a shell, or create a shell with a name by using C-u prefix to the shell command. > > In the shell, you can find out which terminal it used. Sometimes it is an environment variable. I found I can use the 'tty' command on my linux box today. > > You can fopen that file name and write to it as long as permissions are set ok. > > I tried this in my emacs today with > > echo "moose">> /dev/pts/4 > > and that worked to get to my other shell window. > > Good Luck > Eric > > -----Original Message----- > From: Laurent Jacques [mailto:lau...@uc...] > Sent: Tuesday, July 26, 2011 6:41 AM > To: mat...@li... > Subject: [Matlab-emacs-discuss] fprintf/disp output to another emacs buffer ? > > Dear all, > > Question: Do you know if it is possible to redirect the output of a matlab disp()/fprintf() (possibly using another command) to another emacs buffer than the one running matlab-shell ? > > Objective: When running a "cell" inside a matlab script, this possibility would allow me to display some computation messages or results without to be disturbed by the script code that is always recopied in the matlab shell with the fprintf/disp output. > > > Best regards, > Laurent > > > > > -- > Dr. Laurent JACQUES > Postdoctoral Researcher, Return Grant, BELSPO, Belgium > > Institute of Information and Communication Technologies, > Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 > 1348 Louvain-la-Neuve, Belgium > > Office: a.133 > Tel: +32 10 47 81 24 > Fax: +32 10 47 20 89 > http://perso.uclouvain.be/laurent.jacques > > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss -- Dr. Laurent JACQUES Postdoctoral Researcher, Return Grant, BELSPO, Belgium Institute of Information and Communication Technologies, Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 1348 Louvain-la-Neuve, Belgium Office: a.133 Tel: +32 10 47 81 24 Fax: +32 10 47 20 89 http://perso.uclouvain.be/laurent.jacques |
From: Eric L. <Eri...@ma...> - 2011-07-26 12:54:57
|
I used to do this back in 1996 or so, and it worked like this: Use: M-x shell RET to create a shell, or create a shell with a name by using C-u prefix to the shell command. In the shell, you can find out which terminal it used. Sometimes it is an environment variable. I found I can use the 'tty' command on my linux box today. You can fopen that file name and write to it as long as permissions are set ok. I tried this in my emacs today with echo "moose" >> /dev/pts/4 and that worked to get to my other shell window. Good Luck Eric -----Original Message----- From: Laurent Jacques [mailto:lau...@uc...] Sent: Tuesday, July 26, 2011 6:41 AM To: mat...@li... Subject: [Matlab-emacs-discuss] fprintf/disp output to another emacs buffer ? Dear all, Question: Do you know if it is possible to redirect the output of a matlab disp()/fprintf() (possibly using another command) to another emacs buffer than the one running matlab-shell ? Objective: When running a "cell" inside a matlab script, this possibility would allow me to display some computation messages or results without to be disturbed by the script code that is always recopied in the matlab shell with the fprintf/disp output. Best regards, Laurent -- Dr. Laurent JACQUES Postdoctoral Researcher, Return Grant, BELSPO, Belgium Institute of Information and Communication Technologies, Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 1348 Louvain-la-Neuve, Belgium Office: a.133 Tel: +32 10 47 81 24 Fax: +32 10 47 20 89 http://perso.uclouvain.be/laurent.jacques ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Laurent J. <lau...@uc...> - 2011-07-26 10:40:48
|
Dear all, Question: Do you know if it is possible to redirect the output of a matlab disp()/fprintf() (possibly using another command) to another emacs buffer than the one running matlab-shell ? Objective: When running a "cell" inside a matlab script, this possibility would allow me to display some computation messages or results without to be disturbed by the script code that is always recopied in the matlab shell with the fprintf/disp output. Best regards, Laurent -- Dr. Laurent JACQUES Postdoctoral Researcher, Return Grant, BELSPO, Belgium Institute of Information and Communication Technologies, Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.04 1348 Louvain-la-Neuve, Belgium Office: a.133 Tel: +32 10 47 81 24 Fax: +32 10 47 20 89 http://perso.uclouvain.be/laurent.jacques |
From: socrates s. <css...@gm...> - 2011-07-20 09:19:44
|
Hi all, Is it possible to insert breakpoints using the matlab-emacs interface. Also, will I be able to run through the code step by step using (F5 or F10) or any such key such as in matlab? Thanks, Socrates |
From: Eric L. <Eri...@ma...> - 2011-07-11 15:31:18
|
Hi, Sorry for the delay in answering. I looked in the code, and directory-tracker is on, and the TAB key is bound to matlab-shell-tab which starts with completing file names. HOWEVER, it only does that if matlab-shell-ask-MATLAB-for-completions is turned off. Why MATLAB can't complete your filenames, I don't know, unless you are expecting something MATLAB can't do itself which Emacs used to do before that variable was turned on. You could go to matlab-shell-tab and just disable the if statement before completing file names to something you prefer. Eric From: a x [mailto:all...@gm...] Sent: Wednesday, June 22, 2011 3:00 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Matlab-shell tab complete Hi I hope this is the right place to post this sort of issue. I use matlab-shell in Emacs for my Matlab sessions, however I can't get tab complete for filenames to work. I have matlab.el version 3.3.1. I've attached a copy of my .emacs file. Thanks in advance for any help! |