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 12 Jul 2007 09:34:11 PM UTC  
Votes:  100  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 31 Oct 2007 03:56:27 PM UTC, 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 27 Jul 2007 04:21:50 PM UTC, 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 12 Jul 2007 09:34:11 PM UTC, original submission:

Hello,

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.

Thanks!

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

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

    Back to the top


    Powered by Savane 3.1-cleanup