Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: info-gnus-english@gnu.org
Subject: Re: gnus-topic-update-topic-line: Wrong type argument: number-or-marker-p, nil
Date: Sat, 10 Mar 2018 10:54:32 +0100	[thread overview]
Message-ID: <87k1uk6ysn.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: <mailman.10354.1520632190.27995.info-gnus-english@gnu.org>

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 "\b\204\v	\204\v\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.

  parent reply	other threads:[~2018-03-10  9:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-09 20:50 Loris Bennett
2018-03-09 21:49 ` Emanuel Berg
     [not found] ` <mailman.10354.1520632190.27995.info-gnus-english@gnu.org>
2018-03-10  9:54   ` Loris Bennett [this message]
2018-03-10 10:33     ` Emanuel Berg
2018-03-10 11:37       ` Loris Bennett
2018-03-10 11:43         ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1uk6ysn.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).