Subject: bug#12607: gnus-timer--function not defined!

From: Haider Rizvi <[email-masked]>
Date: Mon, 08 Oct 2012 16:46:03 -0400

Configuration: 
--------------

Ma Gnus v0.6
GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2012-08-27 on bob.porkrind.org

Experience with moving from Gnus 5.13 to "Ma Gnus 0.6"
-------------------------------------------------------

1. complained about gnus-compile in .gnus: 
  commented it out. 

  Seems like it's been removed from code: 
     http://comments.gmane.org/gmane.emacs.devel/151634

2. gnus-article-stop-animations: Symbol's function definition is void: gnus-timer--function [2 times]

  gnus-timer--function([nil 20595 12692 388485 900 nnimap-keepalive nil nil])
  gnus-article-stop-animations()
  gnus-article-setup-buffer()
  gnus-article-prepare(830 nil)
  gnus-summary-display-article(830)
  gnus-summary-next-page(nil)
  call-interactively(gnus-summary-next-page nil nil)

Same problem reported at http://permalink.gmane.org/gmane.emacs.gnus.general/82369

Workaround: put the following before starting gnus (copying from gnus-util.el): 
(if (fboundp 'timer--function)
    (defalias 'gnus-timer--function 'timer--function)
  (defun gnus-timer--function (timer)
    (elt timer 5)))

Regards, 
-- 
Haider