Hi Paolo,

> De : Paolo Bonzini <[email protected]>
> 
> On 01/10/2011 09:32 PM, Denis Washington wrote:
> >> Let me know if that  fix the issue.
> > 
> > It does. So it's no typo after all... thanks for  pointing this out.
> 
> Yeah, sorry for applying the patch too fast.  I'm  changing instead 
>smalltalk-mode.el to use save-excursion.  Since the  original-point keyword 
>argument is only used to restore it on exit, and it  always does this, you can 
>replace
> 
>   (if ...
>          (progn (goto-char original-point) (point))
>          (prog1 (point) (goto-char original-point)))
> 
> with
> 
>   (or  (save-excursion
>      (if ...
>          nil
>         (point)))
>       (point)

Yes that seems more reasonable.
For a shortcut I propose:
C-c f (forward)
C-c b (backward)

> 
> (This seems more complicated, but the "if" is inside its own  function so 
> it's 
>not bad).
> 
> Can anybody suggest a shortcut for  smalltalk-goto-{previous,next}-keyword?  
> It 
>seems relatively useful even in  day-to-day use.
> 
> Paolo
> 


     

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to