unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* timeclock-out broken?
@ 2003-09-09 15:48 ASH JAMES
  0 siblings, 0 replies; 5+ messages in thread
From: ASH JAMES @ 2003-09-09 15:48 UTC (permalink / raw)


I am using emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-27 on buffy on
Windows 2000.

When I attempt to M-x timeclock-out I am prompted for the reason for
clocking out. It will not accept anything that is typed there:
Wrong type argument: number-or-marker-p, nil.

I've tried setting the function that is called to nil, but that is not
accepted by customize.

Is this a known problem?  Anyone have a fix.

Any help is appreciated!
James Ash

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: timeclock-out broken?
       [not found] <mailman.70.1063123036.21628.help-gnu-emacs@gnu.org>
@ 2003-09-09 16:28 ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2003-09-09 16:28 UTC (permalink / raw)


ASH JAMES wrote:

> I am using emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-27 on buffy on
> Windows 2000.
>
> When I attempt to M-x timeclock-out I am prompted for the reason for
> clocking out. It will not accept anything that is typed there:
> Wrong type argument: number-or-marker-p, nil.
[...]
> Is this a known problem?  Anyone have a fix.

Yes, it's fixed in the Emacs CVS. Maybe you can get away with just
updating timeclock.el, though that might not work in isolation.

http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/calendar/timeclock.el

IIRC it's something to do with timeclock-discrepancy being nil.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Timeclock-out broken??
@ 2003-09-09 18:48 ASH, JAMES (SBCSI)
  0 siblings, 0 replies; 5+ messages in thread
From: ASH, JAMES (SBCSI) @ 2003-09-09 18:48 UTC (permalink / raw)


I was hoping I could replace timeclock.el and rename timeclock.elc out of
the way and this would work. But I still have my problem.  I'm new to emacs
-- is this the wrong approach??
Thanks in advance!
ASH JAMES wrote:

> I am using emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-27 on buffy on
> Windows 2000.
>
> When I attempt to M-x timeclock-out I am prompted for the reason for
> clocking out. It will not accept anything that is typed there:
> Wrong type argument: number-or-marker-p, nil.
[...]
> Is this a known problem? Anyone have a fix.

Yes, it's fixed in the Emacs CVS. Maybe you can get away with just
updating timeclock.el, though that might not work in isolation.

http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/calendar/timeclock.
el
<http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/calendar/timeclock
.el> 

IIRC it's something to do with timeclock-discrepancy being nil.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Timeclock-out broken??
       [not found] <mailman.78.1063133892.21628.help-gnu-emacs@gnu.org>
@ 2003-09-09 19:12 ` Glenn Morris
  2003-09-10  2:05   ` James Ash
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2003-09-09 19:12 UTC (permalink / raw)



"ASH, JAMES (SBCSI)" wrote:

> I was hoping I could replace timeclock.el and rename timeclock.elc
> out of the way and this would work. But I still have my problem. I'm
> new to emacs -- is this the wrong approach??

That ought to work, provided you restart Emacs after doing it (or you
can try M-x unload-feature timeclock). You can use M-x
byte-compile-file in Emacs to compile a new version of timeclock.elc
from the updated timeclock.el.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Timeclock-out broken??
  2003-09-09 19:12 ` Timeclock-out broken?? Glenn Morris
@ 2003-09-10  2:05   ` James Ash
  0 siblings, 0 replies; 5+ messages in thread
From: James Ash @ 2003-09-10  2:05 UTC (permalink / raw)


This worked after I byte-compiled.

Thanks!

"Glenn Morris" <gmorris+news@ast.cam.ac.uk> wrote in message
news:8rllsxg4ig.fsf@xpc14.ast.cam.ac.uk...
>
> "ASH, JAMES (SBCSI)" wrote:
>
> > I was hoping I could replace timeclock.el and rename timeclock.elc
> > out of the way and this would work. But I still have my problem. I'm
> > new to emacs -- is this the wrong approach??
>
> That ought to work, provided you restart Emacs after doing it (or you
> can try M-x unload-feature timeclock). You can use M-x
> byte-compile-file in Emacs to compile a new version of timeclock.elc
> from the updated timeclock.el.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-10  2:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.78.1063133892.21628.help-gnu-emacs@gnu.org>
2003-09-09 19:12 ` Timeclock-out broken?? Glenn Morris
2003-09-10  2:05   ` James Ash
2003-09-09 18:48 ASH, JAMES (SBCSI)
     [not found] <mailman.70.1063123036.21628.help-gnu-emacs@gnu.org>
2003-09-09 16:28 ` timeclock-out broken? Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2003-09-09 15:48 ASH JAMES

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).