From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50565 Path: main.gmane.org!not-for-mail From: Robert Epprecht Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent categories gone. Date: Wed, 05 Mar 2003 16:35:08 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <86u1eh968j.fsf@i3d.home> References: <86of4suzzl.fsf@i3d.home> <868yvww7fo.fsf@i3d.home> <86heaj9041.fsf@i3d.home> <86smu3z2d2.fsf@i3d.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1046878503 4446 80.91.224.249 (5 Mar 2003 15:35:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 15:35:03 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Wed Mar 05 16:34:59 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qav5-000193-00 for ; Wed, 05 Mar 2003 16:34:59 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18qav6-00031s-00; Wed, 05 Mar 2003 09:35:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 05 Mar 2003 09:36:01 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA03248 for ; Wed, 5 Mar 2003 09:35:46 -0600 (CST) Original-Received: (qmail 33896 invoked by alias); 5 Mar 2003 15:34:42 -0000 Original-Received: (qmail 33891 invoked from network); 5 Mar 2003 15:34:41 -0000 Original-Received: from mail01.solnet.ch (212.101.4.135) by 66.230.238.6 with SMTP; 5 Mar 2003 15:34:41 -0000 Original-Received: from localhost (localhost [127.0.0.1]) by mail01.solnet.ch (Postfix) with ESMTP id A9520639E1 for ; Wed, 5 Mar 2003 15:33:32 +0000 (GMT) Original-Received: from i3d.home (adsl-212-41-67-83.solnet.ch [212.41.67.83]) by mail01.solnet.ch (Postfix) with ESMTP id 32518624C5 for ; Wed, 5 Mar 2003 15:33:20 +0000 (GMT) Original-Received: from dada by i3d.home with local (Exim 3.35 #1 (Debian)) id 18qavE-0000Ka-00; Wed, 05 Mar 2003 16:35:08 +0100 Original-To: ding@gnus.org In-Reply-To: (Kevin Greiner's message of "Tue, 04 Mar 2003 16:29:02 -0600") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux) X-Virus-Scanned: by SolNet mail01.solnet.ch Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50565 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50565 Kevin Greiner writes: > try deleting all of the gnus *.elc files then run make. That didn't change anything. > You could try debugging the compiled code. OK, I did try (after some RTFM, as I never used the Lisp debugger before). Please take everything I say as coming from an absolute newbie in this roam... I give you the details of what I did, just in case I did something stupid: cvs update, removing all *,.elc files, calling ./configure and make, then: emacs -f gnus M-x debug-on-entry gnus-category-read M-: (gnus-category-read) I always paste the line that the point is on, press 'd' and give the 'returning value' (If any). (please excuse the long lines). * gnus-category-read() * (byte-code "!!Ŏrqȏ+ * generate-new-buffer-name(" *temp*") generate-new-buffer-name(" *temp*") returning value: " *temp*" * get-buffer-create(" *temp*") get-buffer-create(" *temp*") returning value: # * (byte-code "\"!ebp!ɏ * nnheader-concat("~/News/agent/" "lib/categories") * file-name-as-directory("~/News/agent/") file-name-as-directory("~/News/agent/") returning value: "~/News/agent/" * apply(concat "~/News/agent/" ("lib/categories")) * concat("~/News/agent/" "lib/categories") concat("~/News/agent/" "lib/categories") returning value: "~/News/agent/lib/categories" apply(concat "~/News/agent/" "lib/categories") returning value: "~/News/agent/lib/categories" nnheader-concat("~/News/agent/" "lib/categories") returning value: "~/News/agent/lib/categories" * nnheader-insert-file-contents("~/News/agent/lib/categories") * mm-insert-file-contents("~/News/agent/lib/categories" nil nil nil nil) * mm-auto-mode-alist() mm-auto-mode-alist() returning value: (("\\.~?[0-9]+\\.[0-9][-.0-9]*~?\\'" ignore t)) * insert-file-contents("~/News/agent/lib/categories" nil nil nil nil) ' *temp*' looks like this now: ((header false nil nil) (all true nil ("comp.lang.forth" "gnu.emacs.sources")) (default high file nil)) * format-decode(nil 103 nil) * buffer-modified-p() buffer-modified-p() returning value: t * (set-buffer-modified-p mod) set-buffer-modified-p(t) returning value: t format-decode(nil 103 nil) returning value: 103 insert-file-contents("~/News/agent/lib/categories" nil nil nil nil) returning value: ("/home/m/News/agent/lib/categories" 103) mm-insert-file-contents("~/News/agent/lib/categories" nil nil nil nil) returning value: ("/home/m/News/agent/lib/categories" 103) nnheader-insert-file-contents("~/News/agent/lib/categories") returning value: ("/home/m/News/agent/lib/categories" 103) * read(#) read(#) returning value: ((header false nil nil) (all true nil ("comp.lang.forth" "gnu.emacs.sources")) (default high file nil)) * (byte-code "Ap!\207" [read] 2) * read(#) * mapcar(#[(c) "A#\"" [c delq nil mapcar* #[... " * #[(c) "A#\"" [c delq nil mapcar* #[... " * mapcar*(#[(valu symb) " * (byte-code "!\n * buffer-name(#) buffer-name(#) returning value: " *temp*" * kill-buffer(#) * run-hooks(kill-buffer-hook) * register-swap-out() register-swap-out() returning value: nil run-hooks(kill-buffer-hook) returning value: nil kill-buffer(#) returning value: t byte-code("!\n returning value: buffer-name byte-code("!!Ŏrqȏ+ returning value: ((default (agent-predicate . false))) gnus-category-read() returning value: ((default (agent-predicate . false))) * prin1(((default (agent-predicate . false))) t) prin1(((default (agent-predicate . false))) t) returning value: ((default (agent-predicate . false))) * run-hooks(post-command-hook) * gnus-undo-boundary() gnus-undo-boundary() returning value: t run-hooks(post-command-hook) returning value: nil * (mode-line-mode-name) * (normal-top-level) [ ... ] I hope that gives you some clues! (I interpret the lines given below the ones the cursor is at as a kind of 'nesting stack' or similar. I hope you can guess that from context). BTW: As a Lisp newbie I'm a bit surprised. Does this mean, that byte compiled Lisp can give different results than interpreted one? (I hope the term 'interpreted' is right in Lisp) Is this normal or a bug of the compiler? Robert Epprecht