From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.help Subject: Re: Planner dev problems Date: Sun, 18 Feb 2007 18:45:00 -0500 Message-ID: <87ejonkp37.fsf@ashbery.wjsullivan.net> References: <1171486734.020708.278350@l53g2000cwa.googlegroups.com> <1171488486.695727.258170@v45g2000cwv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171869735 1980 80.91.229.12 (19 Feb 2007 07:22:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2007 07:22:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 19 08:22:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJ2qe-0005xI-5n for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 08:22:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJ2qd-0002Fg-It for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 02:22:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJ2qO-0002F3-L2 for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 02:21:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJ2qM-0002Dx-TH for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 02:21:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJ2qM-0002Dp-Ma for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 02:21:50 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HJ2qM-0006yR-7H for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 02:21:50 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HJ2qI-0004CE-0G for help-gnu-emacs@gnu.org; Mon, 19 Feb 2007 08:21:46 +0100 Original-Received: from dsl092-079-150.bos1.dsl.speakeasy.net ([66.92.79.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Feb 2007 08:21:45 +0100 Original-Received: from john by dsl092-079-150.bos1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Feb 2007 08:21:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-079-150.bos1.dsl.speakeasy.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:otdrocH/6HCYYA2jVECoKHr17FE= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41309 Archived-At: "weber" writes: > On 14 fev, 17:58, "weber" wrote: >> Hi! >> I'm having problems when I try to do a planner-timeclock-summary-show: >> I get this message: >> >> cond: Wrong number of arguments: #[(target old new) " [old new target >> replace-regexp-in-string] 4], 4 >> >> I'm using the development version from the link on the emacswiki site >> for planner, under windows xp + gnu emacs. >> >> Any of you also noticed the problem ? >> Thanks in advance, >> Hugo >> >> (i'm using the development version to solve another problem that I had >> with the "stable" one :) ) > > Solved... > It was this code inside color-theme.el that was ruining things: > > ;; Add this since it appears to miss in emacs-2x > (or (fboundp 'replace-in-string) > (defun replace-in-string (target old new) > (replace-regexp-in-string old new target))) Glad you figured it out. For other planner questions, you can also use the Planner mailing list, at . -- -John Sullivan -Emacs Planner Maintainer -http://www.wjsullivan.net/PlannerMode.html -GPG Key: AE8600B6