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 12:37:11 +0100	[thread overview]
Message-ID: <877eqknouw.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: <86lgf02pa6.fsf@zoho.com>

Emanuel Berg <moasen@zoho.com> writes:

> Loris Bennett wrote:
>
>> Here the backtrace when I start Gnus and then
>> try to toggle topics [...]
>>
>> 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?
>
> Well, which one do you use?

Well I have both.  In .newsrc there are just the following two lines:  

  gnu.emacs.gnus: 1-89003
  gnu.emacs.help: 1-228165

In .newsrc.eld there is

  (setq gnus-topic-alist ...)

so maybe I could just bin that.

> In .newsrc.eld it says
>
>     ;; Never delete this file -- if you want to force Gnus to read the
>     ;; .newsrc file (if you have one), touch .newsrc instead.
>
> But that's almost never a good idea. If you
> solve the problem by deleting files that have
> been populated automatically, what will happen
> is what once produced the bug will just do
> so again!
>
> Rather, what hits do you get when you search
> all your Emacs init files for "topic"?

My init.el just contains 

  (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)

as it has for many a moon.

I have fiddled around a bit I can now get topics to show without the
'wrong type argument' error.  However, the topics are behaving
strangely.  If I try to unindent the topic 'FU that is displayed as
indented, i.e. as a subtopic, I get the error

  Nothing to indent Drafts into

where 'Drafts' is the topic under which 'FU' currently and incorrectly
appears (the amount of indentation makes 'FU' actually look like a
subsubtopic of 'Drafts').

Other topics exist, but I can only see them if I explicitly do a 
'jump to topic'.  If I then fold the parent topics and then try to
unfold them, I get a 'no group on current line' at some point.

So basically the whole hierarchical structure of the topics seems
borked, so I would really like to throw it away and start anew, as I
only have around a dozen topic.

Cheers,

Loris

-- 
This signature is currently under construction.



  reply	other threads:[~2018-03-10 11:37 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
2018-03-10 10:33     ` Emanuel Berg
2018-03-10 11:37       ` Loris Bennett [this message]
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=877eqknouw.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).