Thanks a lot, Ville! Your patch does the job. I'll give it a hard try
Ooops, now, when I send a buffer or region contents to sml
(SML->Process->Send buffer) it reports
No such coding system: excl
Ville Skyttä writes:
On Wed, 2002-10-23 at 03:41, Sergei Vorobyov wrote:
> Thanks, Ville, the patch you suggested (which I applied manually -
> easier than to find how to do it automatically; have to figure it out
> next weekend) apparently solves the problem.
Cool. BTW; just save the message into a file and feed it to patch(1),
works just fine for me.
> When you mark the region like
> fun f 0 = 1
> | f n = n*f(n-1)
> and select "Indent region" from the SML->Format menu, it reports
> "Symbol's function definition is void: sml-indent-region"
Perhaps this patch helps and does the right thing?
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/sml-mode/sml-defs.el,v
retrieving revision 1.2
diff -a -u -r1.2 sml-defs.el
--- sml-defs.el 2002/07/31 23:21:29 1.2
+++ sml-defs.el 2002/10/23 18:57:59
＠＠ -96,7 +96,7 ＠＠
["insert SML form" sml-insert-form t]
("Forms" :filter sml-forms-menu)
- ["indent region" sml-indent-region t]
+ ["indent region" indent-region t]
["outdent" sml-back-to-outer-indent t]
["-" nil nil]
["set indent-level" sml-indent-level t]
scop at xemacs.org
Computing Science Department
S-751 05 Uppsala