From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18814 Path: news.gmane.org!.POSTED!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus-topic-update-topic-line: Wrong type argument: number-or-marker-p, nil Date: Sat, 10 Mar 2018 10:54:32 +0100 Organization: Freie Universitaet Berlin Message-ID: <87k1uk6ysn.fsf@hornfels.zedat.fu-berlin.de> References: <87y3j1ht21.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1520675585 21426 195.159.176.226 (10 Mar 2018 09:53:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2018 09:53:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Mar 10 10:53:01 2018 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eubBV-0005TY-IM for gegu-info-gnus-english@m.gmane.org; Sat, 10 Mar 2018 10:53:01 +0100 Original-Received: from localhost ([::1]:49915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eubDY-0002sn-C5 for gegu-info-gnus-english@m.gmane.org; Sat, 10 Mar 2018 04:55:08 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 67 Original-X-Trace: news.uni-berlin.de xP9YusfhIXLBoZUTcZCoNQieaRyfLLAGzhb3yoUyQGNoHz Cancel-Lock: sha1:UcvO+vIcgGOZ1ru5CHDtQrtKlTg= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:89758 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18814 Archived-At: Emanuel Berg writes: > Loris Bennett wrote: > >> Does any one know what could be causing this >> error: >> >> gnus-topic-update-topic-line: Wrong type >> argument: number-or-marker-p, >> nil > > I don't have that as a function but it means it > expects an argument that is accepted by the > `number-or-marker-p' test, and now what it gets > is nil which doesn't pass. > > This most often doesn't happen because some > complete lamer is sending it nil and expect it > to work, but rather some symbol is passed that > most often makes sense, only right now it isn't > set, or set incorrectly/unexpectedly to nil. Here the backtrace when I start Gnus and then try to toggle topics Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) insert(nil) (progn (insert name) (point)) (gnus-add-text-properties (point) (progn (insert name) (point)) (cons (quote face) (cons (list (quote bold) (quote default)) (quote (gnus-face t))))) (progn (gnus-add-text-properties (point) (progn (insert name) (point)) (cons (quote face) (cons (list (quote bold) (quote default)) (quote (gnus-face t))))) (point)) (gnus-put-text-property (point) (progn (gnus-add-text-properties (point) (progn (insert name) (point)) (cons (quote face) (cons (list (quote bold) (quote default)) (quote (gnus-face t))))) (point)) gnus-mouse-face-prop gnus-mouse-face) (progn (insert indentation "[ ") (gnus-put-text-property (point) (progn (gnus-add-text-properties (point) (progn (insert name) (point)) (cons (quote face) (cons (list (quote bold) (quote default)) (quote (gnus-face t))))) (point)) gnus-mouse-face-prop gnus-mouse-face) (insert (format " -- %d ]%s\n" total-number-of-articles visible))) eval((progn (insert indentation "[ ") (gnus-put-text-property (point) (progn (gnus-add-text-properties (point) (progn (insert name) (point)) (cons (quote face) (cons (list (quote bold) (quote default)) (quote (gnus-face t))))) (point)) gnus-mouse-face-prop gnus-mouse-face) (insert (format " -- %d ]%s\n" total-number-of-articles visible)))) gnus-topic-insert-topic-line(nil t t 1 nil 0) gnus-topic-prepare-topic(((nil visible)) 1 5 nil nil 1 nil) gnus-topic-prepare-topic((("Gnus" visible nil nil) (("Drafts" visible nil nil)) (("FU" visible nil nil) (("Exchange" invisible nil nil) (("General" invisible nil nil) (("Unix" invisible nil nil))) (("Work" invisible nil nil) (("Old org structure" invisible nil nil)) (("Archive" invisible nil nil))) (("Private" invisible nil nil))) (("Gmail" invisible nil nil)) (("GMX" invisible nil nil))) (("Newsgroups" visible nil nil) (("Emacs" visible nil nil)) (("HPC" visible nil nil))) (("Mail" invisible nil nil)) ((nil visible))) 0 5 nil nil 1 nil) gnus-group-prepare-topics(5 nil nil) gnus-group-list-groups(nil) #[nil "\204 \204 \306 \207\307\310!\210\311\n!\f\204 gnus-1(nil nil nil) gnus(nil) funcall-interactively(gnus nil) call-interactively(gnus record nil) command-execute(gnus record) execute-extended-command(nil "gnus" "gnus") funcall-interactively(execute-extended-command nil "gnus" "gnus") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) recursive-edit() debug() funcall-interactively(debug) call-interactively(debug record nil) command-execute(debug record) execute-extended-command(nil "debug" "debu") funcall-interactively(execute-extended-command nil "debug" "debu") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) My assumption is that something happened to .newsrc and/or .newsrc.eld and that has occurred. Is there someway to discard all the topic information and start afresh? Cheers, Loris -- This signature is currently under construction.