[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re : Re : Re : [Help-smalltalk] Debugging smalltalk-mode.el
From: |
Mathieu Suen |
Subject: |
Re : Re : Re : [Help-smalltalk] Debugging smalltalk-mode.el |
Date: |
Thu, 29 Jul 2010 08:42:42 +0000 (GMT) |
Hi Paolo
I manage to fix the bug.
See the attached file.
You can also take it from my github repository:
git://github.com/mathk/smalltalk.git
Let me know if that is ok.
Thanks
> De : Paolo Bonzini <address@hidden>
>
> >>> This is because the #'smalltalk-narrow-to-method will narrow to:
> >>>
> >>> -----------------
> >>> ]
> >>>
> >>> bar
> >>> -----------------
> >>>
> >>> So we need to check before if we are in a message pattern for the new
> >> syntax.
> >>
> >> Or maybe the narrowing is wrong. I'll look at it in the next few days
> >> if you don't beat me...
> >>
> >> Paolo
> >
> > The narrowing function is using smalltalk-scope-begin-of-defun.
> > What is the purpose of smalltalk-scope-begin-of-defun?
> >
> > Is it to move point at the beginning of the message patern ?
>
> Yes.
>
> Paolo
>
fix-smalltalk-mode.patch
Description: Text Data