From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66942 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Bogus definition of replace-in-string in color-theme.el (was: Error) Date: Wed, 14 May 2008 21:48:41 +0200 Message-ID: References: <87abisj1bv.fsf@chateau.d.lf> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1210794597 15536 80.91.229.12 (14 May 2008 19:49:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 19:49:57 +0000 (UTC) Cc: bugs@gnus.org To: ding@gnus.org, wahjava@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA?= =?utf-8?B?4KS3IOCktuClgeCkleCljeCksg==?=) Original-X-From: ding-owner+M15419=ding+2Daccount=gmane.org@lists.math.uh.edu Wed May 14 21:50:31 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwMzV-0007ar-Fp for ding-account@gmane.org; Wed, 14 May 2008 21:50:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JwMyk-0006jA-9H for ding-account@gmane.org; Wed, 14 May 2008 14:49:34 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JwMyi-0006j4-Ch for ding@lists.math.uh.edu; Wed, 14 May 2008 14:49:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JwMyb-0002iY-Gh for ding@lists.math.uh.edu; Wed, 14 May 2008 14:49:32 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JwMyo-00042M-00; Wed, 14 May 2008 21:49:38 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m4EJnLiF025825; Wed, 14 May 2008 21:49:21 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 2B7B0130D1; Wed, 14 May 2008 21:49:21 +0200 (CEST) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: ding@gnus.org, wahjava@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?=) In-Reply-To: <87abisj1bv.fsf@chateau.d.lf> ("Ashish Shukla =?utf-8?B?4KSG?= =?utf-8?B?4KS24KWA4KS3IOCktuClgeCkleCljeCksiIncw==?= message of "Wed, 14 May 2008 21:59:56 +0530") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.50 (gnu/linux) X-DCC-dcc-servers.net-Metrics: poseidon 102; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66942 Archived-At: On Wed, May 14 2008, Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0= =A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2 wrote: > While going through some of the messages in Maildir, I got the > following error: > > ggogle in #emacs concluded that it is due to wrong number of arguments > passed in 'mm-replace-in-string' function (which is actually an alias ro > 'replace-in-string' function in color-theme.el) call, which expects 3, > but actually 4 arguments are passed. > > ---->8---->8---- > Debugger entered--Lisp error: (wrong-number-of-arguments #[(target old ne= w) [...] > Hope to see it fixed soon. This is a bug in `color-theme.el' which causes problems with Gnus, emacs-jabber, muse etc. I already pointed out the bug to it's maintainer. Alas, without any response upto now. ,---- | From: Reiner Steib | Subject: Bogus definition of replace-in-string in color-theme.el (was: Fw= d: Re: Error viewing PGP/mime signed messages) | To: Xavier Maillard | Cc: Katsumi Yamaoka | Date: Wed, 19 Mar 2008 13:39:51 +0100 | Message-ID: |=20 | Hi Xavier, | | please fix the use of `replace-in-string' in color-theme.el ASAP (see | the problem described below and in ). |=20 | No package should ever define functions and variables out of it's own | name space: |=20 | ,----[ (info "(elisp)Coding Conventions") ] | | * If a package needs to define an alias or a new function for | | compatibility with some other version of Emacs, name it with the | | package prefix, not with the raw name with which it occurs in the | | other version. Here is an example from Gnus, which provides many | | examples of such compatibility issues. | |=20 | | (defalias 'gnus-point-at-bol | | (if (fboundp 'point-at-bol) | | 'point-at-bol | | 'line-beginning-position)) | `---- | [ Forwarded articles from | | stripped. ] `---- See or article for a patch to `color-theme.el'. Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/