bugcolor-theme-el - Bugs: bug #9494, Please rename replace-in-string to...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #9494: Please rename replace-in-string to something else

Submitted by:  Jonathan G. Underwood <jgu>
Submitted on:  Thu Jul 12 21:34:11 2007  
Votes:  100  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Oct 31 15:56:27 2007, comment #2:

This creates a conflict also with emacs-jabber 0.7.1:

error in process filter: jabber-replace-in-string: Wrong number of arguments: (lambda (target old new) (replace-regexp-in-string old new target)), 4
error in process filter: Wrong number of arguments: (lambda (target old new) (replace-regexp-in-string old new target)), 4

So please rename replace-in-string to color-theme-replace-in-string

Daniel Clemente <clemente>
Fri Jul 27 16:21:50 2007, comment #1:

See also bug #8821.
But renaming „replace-in-string“ to „color-theme-replace-in-string“ is also a solution.

Daniel Clemente <clemente>
Thu Jul 12 21:34:11 2007, original submission:


Recently the function replace-in-string caused a bug when Muse mode for Emacs 3.03 was installed. The reason was, since replace-in-string is defined in Xemacs but not GNU Emacs, Muse was testing for replace-in-string, and using it if it was defined. Because the color-theme definition of replace-in-string does not take the same number of arguments as the XEmacs definitions, problems then occurred. It would be nice if color-theme would use its own name space for function definitions. Please could you rename replace-in-string to color-theme-replace-in-string to prevent others running into this issue in the future.


Jonathan G. Underwood <jgu>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by clemente (Posted a comment)
  • -unavailable- added by clemente (Voted in favor of this item)
  • -unavailable- added by jgu (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jul 27 16:21:50 2007clementeCarbon-Copy-=>Added clemente
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup