|
From: Uwe B. <ou...@ma...> - 2016-03-16 21:50:48
|
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-detected-decoding-type="UTF-8" text="#000000"
bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03/13/2016 10:21 AM, Odd Andersen
wrote:<br>
</div>
<blockquote
cite="mid:CAD...@ma..."
type="cite">
<div dir="ltr">
<div>
<div>Hi, Uwe,<br>
</div>
<div><br>
Honestly, I wrote the patch as a workaround since the new
versions of Matlab no longer emit hotlinks in terminal
mode. <br>
</div>
It works by remapping the emacs debugger keyboard shortcuts to
new functions that insert these hotlinks themselves where
Matlab used to do so. They are then picked up by emacs-matlab
as if they had been emitted by Matlab.<br>
</div>
</div>
</blockquote>
<br>
Hi Odd<br>
<br>
I cannot apply your patch. I tried to go back to the CVS version but
whatever I do I obain<br>
<br>
patching file matlab.el<br>
patch unexpectedly ends in middle of line<br>
patch: **** unexpected end of file in patch at line 32<br>
<br>
can you just send me the patched matlab. el and I see whether I can
merge?<br>
<br>
<br>
<br>
<blockquote
cite="mid:CAD...@ma..."
type="cite">
<div dir="ltr">
<div><br>
</div>
I wrote this primarily to be able to keep debugging my Matlab
scripts in emacs, since this no longer worked when I installed
Matlab2015b. My knowledge of matlab-emacs is however quite
superficial, so I cannot confirm whether there are no unintended
side effects. I posted it on the mailing list in the hope it
could be useful, as several people have reported the same
problem.<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Mar 12, 2016 at 6:54 PM, Uwe
Brauer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ou...@ma..." target="_blank">ou...@ma...</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">>>> "Eric" == Eric Ludlam <<a
moz-do-not-send="true"
href="mailto:Eri...@ma...">Eri...@ma...</a>>
writes:<br>
<br>
<br>
> ---<br>
<br>
> Hi Uwe,<br>
<br>
> In the distant past, Emacs Matlab debugging worked
by parsing the<br>
> raw output text. It was a bit finicky but worked
ok. That broke<br>
> when the text output suddenly started emitting
html style hotlinks<br>
> as part of the java desktop. I re-wrote the
parsing engine to focus<br>
> on the hotlinks because they were very regular and
reliable. It<br>
> turns out, that the emitting of hotlinks was a bug
that they ever<br>
> came out on a generic terminal, so that was fixed,
so now there is<br>
> nothing for the parsing engine to pay attention
to.<br>
<br>
> I like the idea of having new db commands unique
to Emacs so that<br>
> we control the output. If we turn the hotlink
feature off<br>
> (currently being turned on) and switch to these
new commands,<br>
> things should work in older MATLABs as well.<br>
<br>
</span>So to be sure: that patch we are talking about does
these 2 things?<br>
Or must the hotlink feature turned off manually? If so then
this should<br>
be mentioned in the release notes and/or the doc string.<br>
<span class=""><br>
> It will take a bit of testing to make sure it
works reliably, and I<br>
> think the # folks on this mailing list has gotten
pretty small. I<br>
> think it's worth going for it and expanding to all
the relevant<br>
> debug commands, and posting a request for testing
when the patch is<br>
> in.<br>
<br>
<br>
</span>Ok I could apply the patch and change the matlab
version number to make<br>
clear that there is something *new*, but I want to be sure
not to break<br>
backward compatibility, also out of egoistic motives. I am
still stuck<br>
on my laptop to Matlab 2010 and don't want to break things.<br>
<span class=""><br>
<br>
> It doesn't help with error output, and
jump-to-last-error though.<br>
> That would still need to be solved.<br>
</span>Ok<br>
<span class="HOEnZb"><font color="#888888"><br>
Uwe<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</body>
</html>
|