It's me FKtPp ;) writes:
================================================================
Dear Bug Team!
for the following given sh-script code [containing a case statement]:
Put the cursor at the fist `{' and then do a `C-M-f' (the
#'forward-sexp function).
Cursor will stop at the first `)' character... Expected behaivor is
the cursor should stop at the last `}' character.
I don't see how to implement this without fully parsing the case
statement. I think that mean you'd need to replace forward-sexp
entirely in shell-mode. I'm not going to do that soon (I think moving
to a model where we parse *every* buffer[1] is more appropriate).
Alternatively, you could make parentheses have non-paren syntax. ;-)
Footnotes:
[1] Binary buffers and the like according to the following grammar:
buffer:= blob
blob:= "" | byte blob
:-)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta