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
(3) |
Oct
|
Nov
|
Dec
|
|
From: Matt M <jun...@gm...> - 2010-02-14 14:06:39
|
Okay thanks but .... "I do not know what I'm doing," means that I cannot follow the instructions in the "INSTALL" file. Here is my attempt to do so: 1. In terminal --- make "LOADPATH=/usr/share/emacs/site-lisp/cedet-common/ /usr/share/emacs/site-lisp/eieio/ /usr/share/emacs/site-lisp/semantic/bovine/ /usr/share/emacs/site-lisp/semantic/" 2a. In terminal --- sudo gedit /home/matt/.emacs 2b. Add the following two lines to ".emacs" (add-to-list 'load-path "~/path/to/matlab_el") (require 'matlab-load) So that is what reading the "INSTALL" file got me to do. I apparently did not interpret it correctly, because ".m" files still look the same in Emacs, i.e. no syntax highlighting etc. Thanks for the response! Matt On Sun, Feb 14, 2010 at 5:38 AM, Simon .... <sn...@gm...> wrote: > Hi > > With the mentioned commands you've downloaded the files. Now you need to > follow the instructions in the "INSTALL" file. > > Simon > > 2010/2/14 Matt M <jun...@gm...> > >> Greetings. I do not know what I'm doing! I'm just down with Emacs and >> have to use Matlab (FreeMat actually) so I would like to be able to edit >> ".m" files in Emacs with >> >> - Syntax highlighting >> - Smart Indentation engine >> - Smart auto-fill for comments and code >> >> I am running Ubuntu. I installed CVS, then sequentially executed the >> following two commands in terminal: >> >> "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs >> login" >> >> I amusing just the enter key when prompted for the password, then >> >> "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs >> co -P matlab-emacs" >> >> A bunch of stuff happened in the terminal, i.e. text went scrolling by, so >> I guessed it worked but I do not see any difference in Emacs when editing a >> ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No match]". >> >> So pretty much, I know not what I'm doing and hope I don't break my >> system, and so would like your help in getting matlab mode working in Emacs. >> >> Thanks! >> >> >> >> Matt >> >> -- >> But the father said to his servants, "Quick! Bring the best robe and put >> it on him. Put a ring on his finger and sandals on his feet. Bring the >> fattened calf and kill it. Let's have a feast and celebrate. For this son >> of mine was dead and is alive again; he was lost and is found." So they >> began to celebrate. >> >> >> ------------------------------------------------------------------------------ >> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, >> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >> http://p.sf.net/sfu/solaris-dev2dev >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> >> > -- But the father said to his servants, "Quick! Bring the best robe and put it on him. Put a ring on his finger and sandals on his feet. Bring the fattened calf and kill it. Let's have a feast and celebrate. For this son of mine was dead and is alive again; he was lost and is found." So they began to celebrate. |
|
From: Simon .... <sn...@gm...> - 2010-02-14 10:39:03
|
Hi With the mentioned commands you've downloaded the files. Now you need to follow the instructions in the "INSTALL" file. Simon 2010/2/14 Matt M <jun...@gm...> > Greetings. I do not know what I'm doing! I'm just down with Emacs and > have to use Matlab (FreeMat actually) so I would like to be able to edit > ".m" files in Emacs with > > - Syntax highlighting > - Smart Indentation engine > - Smart auto-fill for comments and code > > I am running Ubuntu. I installed CVS, then sequentially executed the > following two commands in terminal: > > "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > login" > > I amusing just the enter key when prompted for the password, then > > "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > co -P matlab-emacs" > > A bunch of stuff happened in the terminal, i.e. text went scrolling by, so > I guessed it worked but I do not see any difference in Emacs when editing a > ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No match]". > > So pretty much, I know not what I'm doing and hope I don't break my system, > and so would like your help in getting matlab mode working in Emacs. > > Thanks! > > > > Matt > > -- > But the father said to his servants, "Quick! Bring the best robe and put it > on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > |
|
From: Matt M <jun...@gm...> - 2010-02-14 02:40:59
|
Greetings. I do not know what I'm doing! I'm just down with Emacs and have to use Matlab (FreeMat actually) so I would like to be able to edit ".m" files in Emacs with - Syntax highlighting - Smart Indentation engine - Smart auto-fill for comments and code I am running Ubuntu. I installed CVS, then sequentially executed the following two commands in terminal: "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs login" I amusing just the enter key when prompted for the password, then "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs co -P matlab-emacs" A bunch of stuff happened in the terminal, i.e. text went scrolling by, so I guessed it worked but I do not see any difference in Emacs when editing a ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No match]". So pretty much, I know not what I'm doing and hope I don't break my system, and so would like your help in getting matlab mode working in Emacs. Thanks! Matt -- But the father said to his servants, "Quick! Bring the best robe and put it on him. Put a ring on his finger and sandals on his feet. Bring the fattened calf and kill it. Let's have a feast and celebrate. For this son of mine was dead and is alive again; he was lost and is found." So they began to celebrate. |
|
From: Eric L. <Eri...@ma...> - 2009-12-23 14:12:42
|
Hi,
Sadly, that line in the INSTALL is bogus. It should read:
(add-to-list 'load-path "~/whatever")
I clearly use too many different languages.
Eric
-----Original Message-----
From: Amadeus W.M. [mailto:ama...@ve...]
Sent: Tuesday, December 22, 2009 9:03 PM
To: mat...@li...
Subject: [Matlab-emacs-discuss] (no subject)
I need a little help with matlab-emacs because I'm getting an error,
even though I believe I followed the installation instructions.
This is the error I'm getting:
Symbol's function definition is void: add-to-path
Then I run emacs --debug-init myfile.m:
͂
Debugger entered--Lisp error: (void-function add-to-path)
(add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el")
eval-buffer(#<buffer *load*> nil "/home/amadeus/.emacs" nil t) ;
Reading at buffer position 2793
load-with-code-conversion("/home/amadeus/.emacs"
"/home/amadeus/.emacs" t t)
load("~/.emacs" t t)
͂#[nil "some octal code which I can't copy and paste"
[init-file-user system-type user-init-file-1 user-init-file otherfile
source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\
\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs"
t load expand-file-name "init" file-name-as-directory "/.emacs.d"
file-name-extension "elc" file-name-sans-extension ".el" file-exists-p
file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1
"default" alt inhibit-default-init inhibit-startup-screen] 7]()
command-line()
normal-top-level()
When I click on command-line() emacs complains that it
Can't find library /usr/share/emacs/23.1/lisp/startup.el
although I do have startup.elc in that path.
This is what I did to install cedet and matlab-emacs:
I downloaded matlab-emacs from cvs. I downloaded also cedet-1.0pre6. Put
both in the same directory, then created a link cedet to cedet-1.0pre6.
In cedet I did
make
then in matlab-emacs I also did make. This is what I have in my .emacs
file:
;---------------------
; Enable MATLAB mode |
; --------------------
;; Load CEDET.
;; See cedet/common/cedet.info for configuration details.
(load-file "~/mymatlab/emacsMode/cedet-1.0pre6/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 Exuberent 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)
;; Enable SRecode (Template management) minor-mode.
;; (global-srecode-minor-mode 1)
;; Matlab proper
(add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el")
(require 'matlab-load)
Thanks for any help.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Matlab-emacs-discuss mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss
|
|
From: Amadeus W.M. <ama...@ve...> - 2009-12-23 02:03:02
|
I need a little help with matlab-emacs because I'm getting an error,
even though I believe I followed the installation instructions.
This is the error I'm getting:
Symbol's function definition is void: add-to-path
Then I run emacs --debug-init myfile.m:
͂
Debugger entered--Lisp error: (void-function add-to-path)
(add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el")
eval-buffer(#<buffer *load*> nil "/home/amadeus/.emacs" nil t) ;
Reading at buffer position 2793
load-with-code-conversion("/home/amadeus/.emacs"
"/home/amadeus/.emacs" t t)
load("~/.emacs" t t)
͂#[nil "some octal code which I can't copy and paste"
[init-file-user system-type user-init-file-1 user-init-file otherfile
source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\
\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs"
t load expand-file-name "init" file-name-as-directory "/.emacs.d"
file-name-extension "elc" file-name-sans-extension ".el" file-exists-p
file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1
"default" alt inhibit-default-init inhibit-startup-screen] 7]()
command-line()
normal-top-level()
When I click on command-line() emacs complains that it
Can't find library /usr/share/emacs/23.1/lisp/startup.el
although I do have startup.elc in that path.
This is what I did to install cedet and matlab-emacs:
I downloaded matlab-emacs from cvs. I downloaded also cedet-1.0pre6. Put
both in the same directory, then created a link cedet to cedet-1.0pre6.
In cedet I did
make
then in matlab-emacs I also did make. This is what I have in my .emacs
file:
;---------------------
; Enable MATLAB mode |
; --------------------
;; Load CEDET.
;; See cedet/common/cedet.info for configuration details.
(load-file "~/mymatlab/emacsMode/cedet-1.0pre6/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 Exuberent 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)
;; Enable SRecode (Template management) minor-mode.
;; (global-srecode-minor-mode 1)
;; Matlab proper
(add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el")
(require 'matlab-load)
Thanks for any help.
|
|
From: David E. <de...@ra...> - 2009-12-07 22:23:37
|
Hello all, since I just spend an hour with this, I think it might be good to post my experiences here. I just migrated from Matlab 7.4 to 7.6 at work (I know, I'm pretty conservative), and Emacs matlab-shell was no longer working on certain GNU/Linux machines. It would just abort with the typical "1 assert/signal failures have occurred; MATLAB will abort in 10 seconds." I know this error usually arises when trying to use MATLAB on a non-SSE2 machine, but this was not the case here. After some digging, I found that the cause was that on those machines there was no terminfo for 'emacs'. You can test this by running Matlab with a non-existing TERM like TERM=foobar matlab -nodesktop -nosplash I tested this with different MATLAB versions on one of our machines, and there 7.4 and 7.9 ran fine with this TERM variable, while 7.6 aborted. For getting Matlab 7.6 to start in matlab-shell, you can either use (setq system-uses-terminfo t) as a workaround, or you provide a terminfo entry for emacs. On my Ubuntu machines, I just did mkdir /etc/terminfo/e ln -s /usr/share/terminfo/d/dumb /etc/terminfo/e/emacs which will make 'emacs' an alias for 'dumb'. -David |
|
From: Eric L. <Eri...@ma...> - 2009-11-16 13:56:21
|
Your error is probably because the default in variable semanticdb-matlab-include-paths is incorrect. You could either customize it, or create the directory. Creating the directory is probably best since it is on your path by default, and is a handy place to put MATLAB files. I think you are the first to try this code and not have that directory. ;) I'll also fix that file so that it doesn't use that default if it doesn't exist. Eric -----Original Message----- From: Torben Knudsen [mailto:tk...@es...] Sent: Monday, November 16, 2009 8:22 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Help on: Idle Work Parse Error: I have just installed cedet. And started using it. I have the following error. What does it mean and what do I do? Idle Work Parse Error: "#<buffer IncDir.m> - Opening directory: no such file or directory, /home/tk/matlab" [4 times] Further, what is a good maybe short introduction to cedet? -- Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Direct : 6 8694 Department of Electronic Systems, Email : tk...@es... Aalborg University Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
|
From: Torben K. <tk...@es...> - 2009-11-16 13:21:57
|
I have just installed cedet. And started using it. I have the following error. What does it mean and what do I do? Idle Work Parse Error: "#<buffer IncDir.m> - Opening directory: no such file or directory, /home/tk/matlab" [4 times] Further, what is a good maybe short introduction to cedet? -- Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Direct : 6 8694 Department of Electronic Systems, Email : tk...@es... Aalborg University Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark |
|
From: Eric L. <Eri...@ma...> - 2009-11-12 19:13:07
|
Hi,
I'm not sure. I tried some experiments, and things seemed okto me running on Linux.
You should probably dbstop in my_func, and then see what kind of command it is generating when you use run region to see if there is some sort of line ending problem.
Eric
-----Original Message-----
From: Elliot Joel Bernstein [mailto:ell...@fd...]
Sent: Thursday, November 12, 2009 10:39 AM
To: mat...@li...
Subject: [Matlab-emacs-discuss] Run-Region Problem
I'm having trouble running a block of code that makes calls to a function
that saves data to and then loads it from an external file. For example, I
have written the function 'my_func':
function R = my_func(n)
[r,v]=system('echo -n $PPID');
idx = regexp(v, '\^\[$');
if ~isempty(idx)
v = v(1:idx-1);
end
filename = ['/tmp/my_func_file_' v '.mat'];
save(filename, 'n');
n = load(filename);
system(sprintf('rm %s', filename));
R = n;
I then call my_func multiple times from test.m:
my_func(3)
my_func(4)
my_func(5)
If I run test.m using 'Save and Go', it works fine. But if I highlight the
three calls to my_func and run them using 'Run Region' I get the following:
>> my_func(3)
/bin/bash: -c: line 0: syntax error near unexpected token `('
my_func(4)
my_func(5)
/bin/bash: -c: line 0: `rm /tmp/my_func_file_11093my_func(4)'
ans =
n: 3
>> my_func(4)
/bin/bash: -c: line 0: syntax error near unexpected token `('
my_func(5)
/bin/bash: -c: line 0: `rm /tmp/my_func_file_11093my_func(5)'
ans =
n: 4
>> my_func(5)
ans =
n: 5
Any suggestions how to solve this?
Thanks.
- Elliot
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matlab-emacs-discuss mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss
|
|
From: Eric L. <Eri...@ma...> - 2009-11-12 17:09:30
|
Hi,
I don't know why the "S" is there, but that problem is accounted for in opentoline.m in the distribution directory. The edit command should be doing something similar.
I would guess that inside MATLAB, perhaps "emacsclient" is not on your path. For example:
>> !emacsclient -n foo.m
Does that work? If not, then you just need to configure matlab-shell-emacsclient-command to the full path to your emacsclient.
Good Luck
Eric
-----Original Message-----
From: L. Larrabee Strow [mailto:ls...@gm...]
Sent: Thursday, November 05, 2009 6:53 PM
To: mat...@li...
Subject: [Matlab-emacs-discuss] emacsclient problem
Greetings,
Very nice to have matlab.el updated!
n
I am trying to use the toolbox emacsclient capability.
Emacsclient is working fine from the command line (using Aquamacs on
Mac os X leopard)
matlab-shell working fine.
addpath to toolbox; rehash; emacsinit are being executed in my startup.m
But, when in Matlab I get an error when doing
matlab> edit somefile.m
Looks to me somehow the editor string is not being assigned properly.
See below.
The commands in emacsinit are way beyond me!. As you can see below,
it looks like editor command is being set to "emacsclient -n". But
when you query the name of the editor you get back
"Semacsclient -n", which I assume is my problem. No idea what to do
to fix this?
Thanks.
>> clientcommand
clientcommand =
emacsclient -n
>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', clientcommand);
>> system_dependent('getpref', 'EditorOtherEditor')
ans =
Semacsclient -n
>> edit fit_ymod.m
??? Error using ==> edit at 57
Could not find external editor
>>
--
L. Larrabee Strow
Department of Physics
University of Maryland Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
E-mail: st...@um...
Phone: (724) 663-7341
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matlab-emacs-discuss mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss
|
|
From: Elliot J. B. <ell...@fd...> - 2009-11-12 16:06:45
|
I'm having trouble running a block of code that makes calls to a function
that saves data to and then loads it from an external file. For example, I
have written the function 'my_func':
function R = my_func(n)
[r,v]=system('echo -n $PPID');
idx = regexp(v, '\^\[$');
if ~isempty(idx)
v = v(1:idx-1);
end
filename = ['/tmp/my_func_file_' v '.mat'];
save(filename, 'n');
n = load(filename);
system(sprintf('rm %s', filename));
R = n;
I then call my_func multiple times from test.m:
my_func(3)
my_func(4)
my_func(5)
If I run test.m using 'Save and Go', it works fine. But if I highlight the
three calls to my_func and run them using 'Run Region' I get the following:
>> my_func(3)
/bin/bash: -c: line 0: syntax error near unexpected token `('
my_func(4)
my_func(5)
/bin/bash: -c: line 0: `rm /tmp/my_func_file_11093my_func(4)'
ans =
n: 3
>> my_func(4)
/bin/bash: -c: line 0: syntax error near unexpected token `('
my_func(5)
/bin/bash: -c: line 0: `rm /tmp/my_func_file_11093my_func(5)'
ans =
n: 4
>> my_func(5)
ans =
n: 5
Any suggestions how to solve this?
Thanks.
- Elliot
|
|
From: L. L. S. <ls...@gm...> - 2009-11-05 23:53:26
|
Greetings,
Very nice to have matlab.el updated!
I am trying to use the toolbox emacsclient capability.
Emacsclient is working fine from the command line (using Aquamacs on
Mac os X leopard)
matlab-shell working fine.
addpath to toolbox; rehash; emacsinit are being executed in my startup.m
But, when in Matlab I get an error when doing
matlab> edit somefile.m
Looks to me somehow the editor string is not being assigned properly.
See below.
The commands in emacsinit are way beyond me!. As you can see below,
it looks like editor command is being set to "emacsclient -n". But
when you query the name of the editor you get back
"Semacsclient -n", which I assume is my problem. No idea what to do
to fix this?
Thanks.
>> clientcommand
clientcommand =
emacsclient -n
>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', clientcommand);
>> system_dependent('getpref', 'EditorOtherEditor')
ans =
Semacsclient -n
>> edit fit_ymod.m
??? Error using ==> edit at 57
Could not find external editor
>>
--
L. Larrabee Strow
Department of Physics
University of Maryland Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
E-mail: st...@um...
Phone: (724) 663-7341
|
|
From: Eric C. <mat...@ca...> - 2009-09-24 22:11:21
|
I've been trying that patch for the last day or so and it works great, thanks a lot for putting that up - now this interface is much more usable for me than the default matlab gui. There are still a couple of warts for me, but overall I'm really happy with everything. I'm not much of a lisp programmer, but if it would help to submit the bugs I notice, is there an official place to do that (bugzilla/ sourceforge/?), or is this list the best way? One that I've come across (and it may just be something from ECB or some other module) is that when selecting "run cell" or "run region", my current window is split into 2 frames viewing the current .m file. It's not a big deal, but I'm not sure if this is from matlab-mode or some other plugin. Thanks again, Eric On Sep 23, 2009, at 11:59 AM, Eric Ludlam wrote: > Hi, > > I checked in a small change that fixes the above described problem > in the matlab-shell buffer. If this problem was somewhere else, > let me know. > > > MATLAB Shell spends a lot of time scanning output for anchors, > errors, debug output, and all sorts of other things. You could hack > comint-output-filter-functions in your matlab-shell-mode-hook to > exclude things you don't use to speed it up. > > Eric > > -----Original Message----- > From: Eric Carlson [mailto:mat...@ca...] > Sent: Tuesday, September 22, 2009 5:59 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Structure field completion problem > > I've recently gotten sick of running matlab as a stand-alone app and > have been trying matlab-mode through emacs (actually, aquamacs on mac) > and have found it to be a great alternative. Nearly everything works > really well, but I'm having a couple of issues that I haven't been > able to resolve... > > 1) the main annoyance for me is that I tend to use fairly nested > structures a lot, and am addicted to the completion of field names... > unfortunately, in matlab-mode while it does complete the field name > successfully it erases everything before the field you wanted > completed. For example, if you have a struct 'str' with fields "one" > "two" and "three", and each of those have fields "one" "two" "three", > if you type "str.two.o" and press tab, what you've typed is replaced > with "one", when you should have "str.two.one". Is this a known bug? > Is there somewhere else I should report it? > > 2) When running programs with a lot of output, the buffer is slow to > display the output and soon freezes until the program is done. This > isn't a huge deal for me, and I'm guessing it's just a side-effect of > running matlab behind-the-scenes and piping input/output between emacs > and matlab, but if there's a way to speed things up to be closer to > how it is in matlab I'd love to hear how. > |
|
From: Eric L. <Eri...@ma...> - 2009-09-23 15:59:39
|
Hi, I checked in a small change that fixes the above described problem in the matlab-shell buffer. If this problem was somewhere else, let me know. MATLAB Shell spends a lot of time scanning output for anchors, errors, debug output, and all sorts of other things. You could hack comint-output-filter-functions in your matlab-shell-mode-hook to exclude things you don't use to speed it up. Eric -----Original Message----- From: Eric Carlson [mailto:mat...@ca...] Sent: Tuesday, September 22, 2009 5:59 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Structure field completion problem I've recently gotten sick of running matlab as a stand-alone app and have been trying matlab-mode through emacs (actually, aquamacs on mac) and have found it to be a great alternative. Nearly everything works really well, but I'm having a couple of issues that I haven't been able to resolve... 1) the main annoyance for me is that I tend to use fairly nested structures a lot, and am addicted to the completion of field names... unfortunately, in matlab-mode while it does complete the field name successfully it erases everything before the field you wanted completed. For example, if you have a struct 'str' with fields "one" "two" and "three", and each of those have fields "one" "two" "three", if you type "str.two.o" and press tab, what you've typed is replaced with "one", when you should have "str.two.one". Is this a known bug? Is there somewhere else I should report it? 2) When running programs with a lot of output, the buffer is slow to display the output and soon freezes until the program is done. This isn't a huge deal for me, and I'm guessing it's just a side-effect of running matlab behind-the-scenes and piping input/output between emacs and matlab, but if there's a way to speed things up to be closer to how it is in matlab I'd love to hear how. |
|
From: Eric C. <mat...@ca...> - 2009-09-22 22:59:34
|
I've recently gotten sick of running matlab as a stand-alone app and have been trying matlab-mode through emacs (actually, aquamacs on mac) and have found it to be a great alternative. Nearly everything works really well, but I'm having a couple of issues that I haven't been able to resolve... 1) the main annoyance for me is that I tend to use fairly nested structures a lot, and am addicted to the completion of field names... unfortunately, in matlab-mode while it does complete the field name successfully it erases everything before the field you wanted completed. For example, if you have a struct 'str' with fields "one" "two" and "three", and each of those have fields "one" "two" "three", if you type "str.two.o" and press tab, what you've typed is replaced with "one", when you should have "str.two.one". Is this a known bug? Is there somewhere else I should report it? 2) When running programs with a lot of output, the buffer is slow to display the output and soon freezes until the program is done. This isn't a huge deal for me, and I'm guessing it's just a side-effect of running matlab behind-the-scenes and piping input/output between emacs and matlab, but if there's a way to speed things up to be closer to how it is in matlab I'd love to hear how. I'm running matlab 2009b and my aquamacs is based on emacs 22.3.1, and I'm running the latest matlab-mode from cvs (3.3.0), if that helps. Thanks a lot, Eric |
|
From: Eric L. <Eri...@ma...> - 2009-09-15 20:44:31
|
Hi, The problem with you setup is the line: (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/matlab.el") Which should be: (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/") I know the readme says /path/to/matlab.el, but that means the path to the matlab.el file, not the matlab.el explicitly. I'll re-write that to be more clear. Eric From: Omid Khanmohamadi [mailto:om...@nu...] Sent: Tuesday, September 15, 2009 8:02 AM To: mat...@li... Subject: [Matlab-emacs-discuss] File error: Cannot open load file, cedet-matlab Hi everybody, First of all, I should thank Eric Ludlam and everyone else who's been working on matlab-emacs and CEDET projects. Emacs gives me the following error when I try to enable CEDET feature support for MATLAB File error: Cannot open load file, cedet-matlab This is the relevant section of my .emacs ;; --- CEDET --- (load-file "~/Projects/Tools/emacs/cedet/common/cedet.el") (global-ede-mode 1) ; Enable the Project management system (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion (global-srecode-minor-mode 1) ; Enable template insertion menu ;; --- MATLAB --- ;; matlab-load.el file is a generated file without a 'provide' ;; statement (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/matlab.el") (load-library "~/Projects/Tools/emacs/matlab/matlab-load.el") ;; Enable CEDET feature support for MATLAB code. (Optional) (matlab-cedet-setup) I'd appreciate it if someone could let me know what I'm missing here. (matlab-mode and shell work fine, of course.) Thanks, Omid |
|
From: Omid K. <om...@nu...> - 2009-09-15 12:02:18
|
Hi everybody, First of all, I should thank Eric Ludlam and everyone else who's been working on matlab-emacs and CEDET projects. Emacs gives me the following error when I try to enable CEDET feature support for MATLAB File error: Cannot open load file, cedet-matlab This is the relevant section of my .emacs ;; --- CEDET --- (load-file "~/Projects/Tools/emacs/cedet/common/cedet.el") (global-ede-mode 1) ; Enable the Project management system (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion (global-srecode-minor-mode 1) ; Enable template insertion menu ;; --- MATLAB --- ;; matlab-load.el file is a generated file without a 'provide' ;; statement (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/matlab.el") (load-library "~/Projects/Tools/emacs/matlab/matlab-load.el") ;; Enable CEDET feature support for MATLAB code. (Optional) (matlab-cedet-setup) I'd appreciate it if someone could let me know what I'm missing here. (matlab-mode and shell work fine, of course.) Thanks, Omid |
|
From: Eric L. <Eri...@ma...> - 2009-08-13 20:27:29
|
Hi all, I wanted to provide news of another update in CVS for matlab.el support. This includes some improved integration with matlab-shell and MATLAB's range of editing commands. There is now a 'toolbox' directory, in which is 'emacsinit.m' which you can run in MATLAB to set it up to call your Emacs for editing. This requires that you have setup emacsclient to work; ie - running (server-start) in your .emacs. Once you run this, many commands in MATLAB that put files into the MATLAB Editor will instead put the file into your running Emacs. This can work for you both with matlab-shell, or with MATLAB running separately. For matlab-shell, I also fixed problems with parsing output from the latest version of MATLAB for detecting errors, and other hot-text. This stuff is new, and may be a little rough around the edges. Let the list know how it goes. I hope to have some good doc together on getting this setup correctly soon. Lastly, there is an indentation bug fix as well for multiple ends on the same line. Enjoy Eric |
|
From: David E. <de...@ra...> - 2009-07-07 14:44:56
|
Eric Ludlam <Eri...@ma...> writes: > The loadpath you specify in your command line should be the default > in the Makefile. So that others know, a replacement load-path would > have a version number in it such as cedet-1.0pre6 if distribution > was used. Ah, I did not see the Makefile contains this already. I mentioned this because the INSTALL file still says one should use make "LOADPATH=../cedet/common ../cedet/eieio" -David |
|
From: Eric L. <Eri...@ma...> - 2009-07-07 12:53:35
|
Hi, I think I accidentally used an older version of Emacs to make the load defs file. When I rebuilt, making sure I specified Emacs 23, then the provide statement was added. I've checked in that change. Thanks for pointing this out. The loadpath you specify in your command line should be the default in the Makefile. So that others know, a replacement load-path would have a version number in it such as cedet-1.0pre6 if distribution was used. Eric -----Original Message----- From: David Engster [mailto:de...@ra...] Sent: Tuesday, July 07, 2009 5:12 AM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] News: Updates to matlab.el and support files in CVS Eric Ludlam <Eri...@ma...> writes: > The latest changes now in CVS has had minimal testing by me. I would > encourage folks to try it out. Bug reports and patches welcome. Hi Eric, The matlab-load.el which is in CVS lacks the necessary "(provide 'matlab-load)". I gets inserted after a full build, though. However, to get a full build, I had to use make "LOADPATH=../cedet/common ../cedet/eieio ../cedet/semantic ../cedet/semantic/bovine" -David |
|
From: Eric L. <Eri...@ma...> - 2009-07-07 12:52:03
|
Ah, good find. I've updated that. Thanks Eric -----Original Message----- From: David Engster [mailto:de...@ra...] Sent: Tuesday, July 07, 2009 8:38 AM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] News: Updates to matlab.el and support files in CVS Eric Ludlam <Eri...@ma...> writes: > The loadpath you specify in your command line should be the default > in the Makefile. So that others know, a replacement load-path would > have a version number in it such as cedet-1.0pre6 if distribution > was used. Ah, I did not see the Makefile contains this already. I mentioned this because the INSTALL file still says one should use make "LOADPATH=../cedet/common ../cedet/eieio" -David |
|
From: David E. <de...@ra...> - 2009-07-07 10:32:01
|
Eric Ludlam <Eri...@ma...> writes: > The latest changes now in CVS has had minimal testing by me. I would > encourage folks to try it out. Bug reports and patches welcome. Hi Eric, The matlab-load.el which is in CVS lacks the necessary "(provide 'matlab-load)". I gets inserted after a full build, though. However, to get a full build, I had to use make "LOADPATH=../cedet/common ../cedet/eieio ../cedet/semantic ../cedet/semantic/bovine" -David |
|
From: Eric L. <Eri...@ma...> - 2009-07-06 21:35:17
|
Hello all, It has been a long time since I've had news about matlab.el, so I thought I would share the latest changes that have gone into CVS. There is a new download script for anyone who does not have a CVS client. If you do not have a CVS client, you can download the script from this URL: http://matlab-emacs.cvs.sourceforge.net/viewvc/*checkout*/matlab-emacs/matlab-emacs/dl_emacs_support.m?revision=1.2&pathrev=MAIN Here is a summary of new items now in CVS: * David Engster's recent company-mode support with a popup tip of completions in matlab-shell. * Uwe Brauer extra support for publishing files with MATLAB. * matlab-indent-function-body can now have a 'guess option. (That used to always be the case) * Revised compilation/setup when using CEDET. CEDET is still optional. * SRecode template files. (for code creation.) * support for spmd For those who have not tried the CEDET support that has been in CVS for a while, it includes a tagging parser and database backend that David wrote that provides the tools needed for robust code-completion. It also enables a wide range of other CEDET tools, such as various decoration modes, and summary help. The latest changes now in CVS has had minimal testing by me. I would encourage folks to try it out. Bug reports and patches welcome. Thanks Eric |
|
From: David E. <de...@ra...> - 2009-07-01 17:18:04
|
Eric Ludlam <Eri...@ma...> writes: > This is very cool. Would you mind if I put your support file in the > CVS repository with matlab.el? No, not at all. Feel free to check it in. Regards, David |
|
From: Eric L. <Eri...@ma...> - 2009-07-01 16:20:44
|
David, This is very cool. Would you mind if I put your support file in the CVS repository with matlab.el? Thanks Eric -----Original Message----- From: David Engster [mailto:de...@ra...] Sent: Saturday, June 27, 2009 11:13 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Matlab-shell and Company mode tooltip completion I think the subject and this little screenshot says it all: |