emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insert-string


From: Richard Stallman
Subject: Re: insert-string
Date: Sun, 2 Dec 2001 16:55:43 -0700 (MST)

    We (me and Stefan) thought that simple defalias is enough, because no part
    of Emacs did used it with non-string argument. If you think it is needed,
    I will implement in Lisp.

Thanks.  I think this is needed because there could be user code which
uses that feature.  What we know is that this function is used
substantially often, and that is probably true in user code also.  But
we can't be sure the user code never uses the numeric conversion
feature.

       > We may find that some of the other functions in mlsupport are
       > sometimes used.

    So should I move mlsupport.el to lisp/obsolete instead of removing it?

I had not thought about that, but it sounds like a good idea now that
you mention it.  The functions should be individually marked as
obsolete as well.

     Only error messages from it are a bit different. E.g.:

    (insert-string 5.1)

    original: (wrong-type-argument stringp 56.7)
    new: (wrong-type-argument char-or-string-p 5.1)

That difference is no problem, so this implementation is good.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]