On Mon, Aug 31, 2009 at 3:17 PM, Rodney Sparapani<rsparapa(a)mcw.edu> wrote:
On Windows XP Pro SP3, I don't get a crash, but I do get:
(event/warning) Error during menu handling: (wrong-number-of-arguments
((lambda (str end-column &optional start-column padding) Truncate string STR
to end at column END-COLUMN.
The optional 2nd arg START-COLUMN, if non-nil, specifies
the starting column; that means to return the characters occupying
columns START-COLUMN ... END-COLUMN of STR.
Ah ha! So the mule-util.el version of truncate-string-to-width is
lacking the 3rd optional argument, ellipses, of the version in
subr.el. Thanks, Rodney!
The ChangeLog seems to show that truncate-string-to-width was moved to
mule-util.el by MORIOKA Tomohiko on 24 Jun 1997. On 15 Mar 2002, Ben
Wing noticed that the function was missing from subr.el and "restored"
it. The latter version was modified to take the ellipses argument by
Ben Wing on 23 May 2002, and further modified by Ben up through 1 Mar
2003. Meanwhile, the original version was preserved in mule-util.el,
where it resides to this day.
Unless someone knows a reason why that history is incorrect, the right
thing to do here is to kill off the first 3 definitions in
mule-util.el. I'll whip up a patch to do that in a bit.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta