Am Mittwoch, 2. Juli 2008 schrieb It's me FKtPp ;):
On Fri, Jun 27, 2008 at 10:34:54AM +0200, Andreas Röhler wrote:
[...]
> Maybe try attached sh-beg-end.el
>
> Use
>
> C-M-e - `sh-end-of-form'
>
> then.
I've tried sh-beg-end.el, it works in in general some cases, while
fails in other cases if you try to move cursor by using newly binded
C-M-a and C-M-e in a complex sh-script buffer for many times.
Let's back to the forward-sexp problem, it seemed that it impact not
only the cursor motivation but also the *paren-mode* and *mic-paren*
mode (cause the wrong parenthsis got highlighted).
Thanks,
FKtPp
Played around with it now several months ago while
looking for thing-at-point-utils.
AFAIR result of `forward-sexp' was
unpredictable in certain circumstances due to
unpredictable results of `scan-sexps'.
Conclusion was to avoid it completely if encountering
a problem.
If you may send me a precise scenario, what to perform
and where available tools fail, that may help to find a
solution.
Andreas Röhler
PS: Here XEmacs parens-highlighting is fine with
shell-script-mode.
XEmacs 21.5 (beta28) "fuki" (+CVS-20070806) [Lucid] (i386-suse-linux, Mule)
of Thu Jan 24 2008 on molitor
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta