From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82879 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-timer--function is void (was Re: Gnus freezes on startup) Date: Thu, 31 Jan 2013 23:04:18 +0100 Message-ID: <871ud1rov1.fsf@sklar.v.cablecom.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359672836 20642 80.91.229.3 (31 Jan 2013 22:53:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2013 22:53:56 +0000 (UTC) To: Original-X-From: ding-owner+M31145@lists.math.uh.edu Thu Jan 31 23:54:17 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U131M-0001qd-Ht for ding-account@gmane.org; Thu, 31 Jan 2013 23:54:16 +0100 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 1U130F-0001bG-UZ; Thu, 31 Jan 2013 16:53:07 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1U12FC-0001PN-Gb for ding@lists.math.uh.edu; Thu, 31 Jan 2013 16:04:30 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1U12FA-0003lz-1L for ding@lists.math.uh.edu; Thu, 31 Jan 2013 16:04:29 -0600 Original-Received: from edge10.ethz.ch ([82.130.75.186]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1U12F7-0007PF-3z for ding@gnus.org; Thu, 31 Jan 2013 23:04:25 +0100 Original-Received: from CAS11.d.ethz.ch (172.31.38.211) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.2.298.4; Thu, 31 Jan 2013 23:04:16 +0100 Original-Received: from sklar.v.cablecom.net (77.58.146.17) by CAS11.d.ethz.ch (172.31.38.211) with Microsoft SMTP Server (TLS) id 14.2.298.4; Thu, 31 Jan 2013 23:04:18 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Originating-IP: [77.58.146.17] X-Spam-Score: -3.5 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82879 Archived-At: Hi, I work with Emacs 24.2.1 on Ubuntu 12.10 and wanted to use the latest version of Gnus. I git-cloned to ~/.emacs.d (then ./configure, make) and ~/.emacs contains: --8<---------------cut here---------------start------------->8--- (setq load-path (cons (expand-file-name "~/.emacs.d/gnus/lisp") load-path)) (require 'gnus-load) (require 'info) (add-to-list 'Info-default-directory-list "~/.emacs.d/gnus/texi/") --8<---------------cut here---------------end--------------->8--- On startup of Gnus, I obtain: ,---- | gnus-group-highlight-line: Symbol's function definition is void: | gnus-get-text-property-excluding-characters-with-faces `---- That's the backtrace (with M-x toggle-debug-on-error): ,---- | Debugger entered--Lisp error: (void-function gnus-get-text-property-excluding-characters-with-faces) | gnus-get-text-property-excluding-characters-with-faces(1 face) | gnus-group-highlight-line("dummy.group" 1 23) | gnus-group-insert-group-line("dummy.group" 0 nil 0 nil) | gnus-update-group-mark-positions() | gnus-group-mode() | gnus-group-setup-buffer() | gnus-group-list-groups(nil) | byte-code("\204 `---- I then have executed gnus-get-text-property-excluding-characters-with-faces by hand (with C-x C-e). Afterwards, Gnus starts and I can also write mails. For testing purposes, I sent myself a mail. When I wanted to open it, I obtained: ,---- | gnus-article-stop-animations: Symbol's function definition is void: gnus-timer--function `---- ... and this is how I found this post. I then executed this auxiliary function: --8<---------------cut here---------------start------------->8--- (let ((name "gnus-util") (load-path (copy-sequence load-path)) elc el files dir) (while (setq elc (locate-library name)) (push elc files) (setq dir (file-name-directory elc)) (when (setq el (locate-library (concat name ".el"))) (unless (equal el elc) (push el files))) (setq load-path (delete dir (delete (directory-file-name dir) load-path)))) (nreverse files)) --8<---------------cut here---------------end--------------->8--- and obtained: ("/home/mhofert/.emacs.d/gnus/lisp/gnus-util.elc" "/home/mhofert/.emacs.d/gnus/lisp/gnus-util.el" "/usr/share/emacs/24.2/lisp/gnus/gnus-util.elc" "/usr/share/emacs/24.2/lisp/gnus/gnus-util.el.gz") => fine. I also execute the following (with minimal ~/.gnus.el and ~/.emacs) as Katsumi: --8<---------------cut here---------------start------------->8--- emacs -batch -Q -l gnus-art -eval '(message "%s" (gnus-timer--function (timer-create)))' --8<---------------cut here---------------end--------------->8--- ,----[ output (same as Katsumi's): ] | Symbol's function definition is void: gnus-timer--function `---- --8<---------------cut here---------------start------------->8--- emacs -batch -Q -l gnus-art -eval '(push "~/.emacs.d/gnus/lisp" load-path)' -l gnus-art -eval '(message "%s" (gnus-timer--function (timer-create)))' --8<---------------cut here---------------end--------------->8--- ,----[ output (different from Katsumi's): ] | Symbol's function definition is void: gnus-timer--function `---- --8<---------------cut here---------------start------------->8--- emacs -batch -Q -f batch-byte-compile '~/.emacs.d/gnus/lisp/gnus-util.el' --8<---------------cut here---------------end--------------->8--- ,----[ output (same as Katsumi's): ] | Wrote /home/mhofert/.emacs.d/gnus/lisp/gnus-util.elc `---- --8<---------------cut here---------------start------------->8--- emacs -batch -Q -eval '(push "~/.emacs.d/gnus/lisp" load-path)' -l gnus-art -eval '(message "%s" (gnus-timer--function (timer-create)))' --8<---------------cut here---------------end--------------->8--- ,----[ output (same as Katsumi's): ] | nil `---- I then also tried to use Emacs snapshot (also from ppa:cassou/emacs), but obtained even more obscure behavior. I'm not an elisp programmer, just wanted to report what I found. I hope an expert looks into this. If you need more information, please give me detailed instructions to minimize the risk of "informational loss on debugging". Cheers, Marius