Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: itimer "run-with-idel-time" signaled: (void-function cancel-timer)

1 view
Skip to first unread message

Aidan Kehoe

unread,
Feb 14, 2005, 11:31:01 AM2/14/05
to

Ar an ceathrú lá déag de mí Feabhra, scríobh Göran:

> I got this for me confusing message when I opened a file managed by
> ClearCase. When I type something, the message disappears, but when I
> stop typing the message appears again after a short while (5 seconds). I can
> check in, check out, etc., but it's annoying getting this message all the
> time. How can I get rid of it?

If selecting

(require 'timer)

and pressing C-x C-e fixes the issue, add that to the end of your
~/.xemacs/init.el , and send the clearcase people a bug report saying that
their code should be doing that.

--
“Ah come on now Ted, a Volkswagen with a mind of its own, driving all over
the place and going mad, if that’s not scary I don’t know what is.”

Göran

unread,
Feb 14, 2005, 8:50:42 AM2/14/05
to
Hello,

I got this for me confusing message when I opened a file managed by
ClearCase. When I type something, the message disappears, but when I
stop typing the message appears again after a short while (5 seconds). I
can check in, check out, etc., but it's annoying getting this message
all the time. How can I get rid of it?

I'm using XEmacs 21.4.13 on Windows 2000. I recently had a disc crash,
so I had to reinstall everthing (using setup.exe), but before that I
didn't have this message. I had the same XEmacs version before, and I'm
using the same custom.el and init.el as before.

I had a look in the clearcase.el file in the filetree where I have
XEmacs installed where I found some code for this, but I didn't
understand the reason for the message anyway:


;;{{{ Asynchronously fetching view properties:

(defvar clearcase-vprop-timer nil)
(defvar clearcase-vprop-work-queue nil)

(defun clearcase-vprop-schedule-work (viewtag)
;; Add to the work queue.
;;
(setq clearcase-vprop-work-queue (cons viewtag
clearcase-vprop-work-queue))
;; Create the timer if necessary.
;;
(if (null clearcase-vprop-timer)
(if clearcase-xemacs-p
;; Xemacs
;;
(setq clearcase-vprop-timer
(run-with-idle-timer 5 t 'clearcase-vprop-timer-function))
;; FSF Emacs
;;
(progn
(setq clearcase-vprop-timer (timer-create))
(timer-set-function clearcase-vprop-timer
'clearcase-vprop-timer-function)
(timer-set-idle-time clearcase-vprop-timer 5)
(timer-activate-when-idle clearcase-vprop-timer)))))

(defun clearcase-vprop-timer-function ()
;; Process the work queue and empty it.
;;
(mapcar (function (lambda (viewtag)
(if viewtag (clearcase-vprop-get-properties
viewtag))))
clearcase-vprop-work-queue)
(setq clearcase-vprop-work-queue nil)

;; Cancel the timer.
;;
(cancel-timer clearcase-vprop-timer)
(setq clearcase-vprop-timer nil))

;;}}}

Can anyone help?

Regards, Göran

Göran

unread,
Feb 15, 2005, 10:26:21 AM2/15/05
to

Thank your for your answer, Aidan. I don't know how to "select (require
'timer)", but I added the line to my init.el file and that fixed the
problem. I'll try to send a bug report in a near future, but if any
"clearcase people" is reading this and finds the info here good enough
to solve the bug, then I would appreciate it if that person lets me know
that.

Regards, Göran

Damien Kick

unread,
Feb 15, 2005, 6:34:50 PM2/15/05
to
=?UTF-8?B?R8O2cmFu?= <goran_go...@hotmail.com> writes:

> [...] I'll try to send a bug report in a near future, but if any


> "clearcase people" is reading this and finds the info here good
> enough to solve the bug, then I would appreciate it if that person
> lets me know that.

I've tried asking in a different thread before but just who are the
clearcase-mode people at the moment? clearcase-submit-bug-report with
"ClearCase-version: </main/161>" tries to send to an user-unknown
address, "es...@rational.com". Last I looked, my query to this
newsgroup <652ddi...@email.mot.com> and gmane.emacs.xemacs.beta
<http://thread.gmane.org/gmane.emacs.xemacs.beta/17691> have gone
unanswered. Has this package gone feral?

Aidan Kehoe

unread,
Feb 15, 2005, 7:40:35 PM2/15/05
to

Ar an cúigiú lá déag de mí Feabhra, scríobh Damien Kick:

Before assuming that it has--and it certainly may have done so, I’ll admit,
let’s hope it’s had its rabies shots--try sending the bug report to the guy
listed as the XEmacs package maintainer. That’s Michael Diers, mdiers and
the xemacs.org domain concatenated in the normal way. (XEmacs.org has mail
forwarding in place for most of the package maintainers.)

Stephen J. Turnbull

unread,
Feb 16, 2005, 2:39:14 AM2/16/05
to
>>>>> "Aidan" == Aidan Kehoe <keh...@parhasard.net> writes:

Aidan> XEmacs.org has mail forwarding in place for most of the
Aidan> package maintainers.

We have forwarding addresses for all package maintainers who permit
it.

We also have forwarding addresses of the form

clearcas...@xemacs.org
clearca...@xemacs.org
clearcas...@xemacs.org
clearcase-...@xemacs.org

for all packages (in principle; it looks like clearcase itself fell
through the cracks, I'll fix that, but it will take a bit since I need
to consult with the maintainer). They're rarely all distinct, but
different projects split things up differently.

Keeping them up to date depends on information from the maintainers,
of course. Also, many packages are simply directed to XEmacs Beta
(the main bug list) since there is no specific maintainer. YMMV, but
please report bounces or other useless behavior to the XEmacs
Postmaster Team <xemacs-m...@xemacs.org>.

Note that these are _package-specific_, not _library-specific_. There
are more correct ways of doing it, but probably the easiest way to
find out which package a library belongs to is to use M-x
locate-library. Also, the library itself may contain more recent
information than the XEmacs alias list, so M-x find-library is a
useful tool.

--
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.

0 new messages