Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Server listed twice in gnus-group-enter-server-mode
@ 2023-01-26 14:36 Richmond
  2023-01-26 15:10 ` Richmond
  2023-01-26 15:11 ` Emanuel Berg
  0 siblings, 2 replies; 6+ messages in thread
From: Richmond @ 2023-01-26 14:36 UTC (permalink / raw)
  To: info-gnus-english

I have ended up with the same server listed twice in
(gnus-group-enter-server-mode). I think this may be because I originally
added the server using (gnus-group-browse-foreign-server METHOD), and
then added it to .gnus as a (gnus-secondary-select-methods) and then
later or maybe at the same time added tls with port 563. So now I am not
sure how to delete one, preferably the one using 119 if indeed there are
two occurences. When I use the letter k to delete the server it tells me
I must delete it from the configuration file, but there is only one in
.gnus, where is the other?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Server listed twice in gnus-group-enter-server-mode
  2023-01-26 14:36 Server listed twice in gnus-group-enter-server-mode Richmond
@ 2023-01-26 15:10 ` Richmond
  2023-01-26 15:30   ` Adam Sjøgren
  2023-01-26 15:11 ` Emanuel Berg
  1 sibling, 1 reply; 6+ messages in thread
From: Richmond @ 2023-01-26 15:10 UTC (permalink / raw)
  To: info-gnus-english

Richmond <dnomhcir@gmx.com> writes:

> I have ended up with the same server listed twice in
> (gnus-group-enter-server-mode). I think this may be because I originally
> added the server using (gnus-group-browse-foreign-server METHOD), and
> then added it to .gnus as a (gnus-secondary-select-methods) and then
> later or maybe at the same time added tls with port 563. So now I am not
> sure how to delete one, preferably the one using 119 if indeed there are
> two occurences. When I use the letter k to delete the server it tells me
> I must delete it from the configuration file, but there is only one in
> .gnus, where is the other?

It must be in .newsrc-dribble.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Server listed twice in gnus-group-enter-server-mode
  2023-01-26 14:36 Server listed twice in gnus-group-enter-server-mode Richmond
  2023-01-26 15:10 ` Richmond
@ 2023-01-26 15:11 ` Emanuel Berg
  1 sibling, 0 replies; 6+ messages in thread
From: Emanuel Berg @ 2023-01-26 15:11 UTC (permalink / raw)
  To: info-gnus-english

Richmond wrote:

> I have ended up with the same server listed twice in
> (gnus-group-enter-server-mode). I think this may be because
> I originally added the server using
> (gnus-group-browse-foreign-server METHOD), and then added it
> to .gnus as a (gnus-secondary-select-methods) and then later
> or maybe at the same time added tls with port 563. So now
> I am not sure how to delete one, preferably the one using
> 119 if indeed there are two occurences. When I use the
> letter k to delete the server it tells me I must delete it
> from the configuration file, but there is only one in .gnus,
> where is the other?

It can be auto-added or cached somewhere else. (Unintended
pun: 'cache' is from the French word not to store but
to HIDE something.)

Well, that whole situation of adding/removing servers several
ways, and how the methods don't auto-sync, that was discussed
a while back.

Get around the situation by not adding them interactively,
always use .gnus, which is better anyway so no harm to it.

But to try to help you, what I'd do is delete everything
everyway you can and everywhere; kill Emacs; re-bytecompile
everything; start Emacs and see if anything is left; if not,
add it again, but only the stuff you want, and only one time,
in .gnus.

[Side note: Gnus, and Emacs in general, don't care where you
put configuration/extension as long as you tell Emacs where it
is and that it should be evaluated. Because: .gnus is, as
everything else, just a file with data. I, for one, don't even
have a .gnus, instead, I have all Gnus here:

  https://dataswamp.org/~incal/emacs-init/gnus/

and I load every file there explicitely from .emacs]

-- 
underground experts united
https://dataswamp.org/~incal



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Server listed twice in gnus-group-enter-server-mode
  2023-01-26 15:10 ` Richmond
@ 2023-01-26 15:30   ` Adam Sjøgren
  2023-01-26 15:40     ` Emanuel Berg
  2023-01-26 15:45     ` Richmond
  0 siblings, 2 replies; 6+ messages in thread
From: Adam Sjøgren @ 2023-01-26 15:30 UTC (permalink / raw)
  To: info-gnus-english

Richmond writes:

> Richmond <dnomhcir@gmx.com> writes:
>
>> I have ended up with the same server listed twice in

  [...]

>> I must delete it from the configuration file, but there is only one in
>> .gnus, where is the other?
>
> It must be in .newsrc-dribble.

I would guess ~/.newsrc.eld - which can be quite fiddly to edit,
remember to stop Gnus and take a backup copy before changing anything!


  Best regards,

    Adam

-- 
 "Jeg har læst alt hvad google kan finde."                  Adam Sjøgren
                                                       asjo@koldfront.dk



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Server listed twice in gnus-group-enter-server-mode
  2023-01-26 15:30   ` Adam Sjøgren
@ 2023-01-26 15:40     ` Emanuel Berg
  2023-01-26 15:45     ` Richmond
  1 sibling, 0 replies; 6+ messages in thread
From: Emanuel Berg @ 2023-01-26 15:40 UTC (permalink / raw)
  To: info-gnus-english

Adam Sjøgren wrote:

>>> I must delete it from the configuration file, but there is
>>> only one in .gnus, where is the other?
>>
>> It must be in .newsrc-dribble.
>
> I would guess ~/.newsrc.eld - which can be quite fiddly to
> edit [...]

What do you do if you screw it up - delete it, right?

-- 
underground experts united
https://dataswamp.org/~incal



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Server listed twice in gnus-group-enter-server-mode
  2023-01-26 15:30   ` Adam Sjøgren
  2023-01-26 15:40     ` Emanuel Berg
@ 2023-01-26 15:45     ` Richmond
  1 sibling, 0 replies; 6+ messages in thread
From: Richmond @ 2023-01-26 15:45 UTC (permalink / raw)
  To: info-gnus-english

Adam Sjøgren <asjo@koldfront.dk> writes:

> Richmond writes:
>
>> Richmond <dnomhcir@gmx.com> writes:
>>
>>> I have ended up with the same server listed twice in
>
>   [...]
>
>>> I must delete it from the configuration file, but there is only one in
>>> .gnus, where is the other?
>>
>> It must be in .newsrc-dribble.
>
> I would guess ~/.newsrc.eld - which can be quite fiddly to edit,
> remember to stop Gnus and take a backup copy before changing anything!
>

I used a sledge hammer to crack a nut, i.e. removed .newsrc-dribble
elsewhere and now all is fine, as far as I can tell.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-26 15:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 14:36 Server listed twice in gnus-group-enter-server-mode Richmond
2023-01-26 15:10 ` Richmond
2023-01-26 15:30   ` Adam Sjøgren
2023-01-26 15:40     ` Emanuel Berg
2023-01-26 15:45     ` Richmond
2023-01-26 15:11 ` Emanuel Berg

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).