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 |