info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus-topic-update-topic-line: Wrong type argument: number-or-marker-


From: Loris Bennett
Subject: Re: gnus-topic-update-topic-line: Wrong type argument: number-or-marker-p, nil
Date: Sat, 10 Mar 2018 10:54:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Emanuel Berg <moasen@zoho.com> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]