Gnus development mailing list
 help / color / mirror / Atom feed
* Remove server from gnus
@ 2014-09-11  8:29 Rainer M Krug
  2014-09-13  6:31 ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2014-09-11  8:29 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

<#secure method=pgpmime mode=sign>
Hi

I am using offlineimap to sync my email and it works nicely from gnus to
access my emails. Only this morning, offlineimap did not sync my gmail
account anymore. so I added my gmail account in my gnus.el.

Some time later, I figured out why offlineimap was not working anymore,
and I removed the imap+gmail definition (and all references to it) from
my gnus.el file. 

But whenever I start gnus, the gmail server is still there and I can not
kill it. When I try to kill it with "k", I get the error message

,----
| gnus-server-kill-server: Read-only server nnimap:gmail
`----

I do not want to fiddle with my .gnusrc.eld file.

I finally managed thanks to backups, but there must be a better way?

I could only find this old answer, which is likely completely outdated [1].

Additionally: what is the correct procedure to remove a server from
gnus, which has been defined in the gnus.el file?

Thanks,

Rainer

Footnotes: 
[1]  http://www.theusenetarchive.com/usenet-message-how-to-kill-a-server-37906822.htm

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

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

* Re: Remove server from gnus
  2014-09-11  8:29 Remove server from gnus Rainer M Krug
@ 2014-09-13  6:31 ` Eric S Fraga
  2014-09-14  6:33   ` Steinar Bang
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2014-09-13  6:31 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

On Thursday, 11 Sep 2014 at 10:29, Rainer M Krug wrote:
> <#secure method=pgpmime mode=sign>

[...]

> But whenever I start gnus, the gmail server is still there and I can not
> kill it. When I try to kill it with "k", I get the error message
>
> ,----
> | gnus-server-kill-server: Read-only server nnimap:gmail
> `----

I would like to know the answer to this as well.  I have a number of
servers that are there for historical reasons and I also cannot seem to
be able to expunge them.

thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.3.1 + Ma Gnus v0.12 + evil-git-c5fb03c
: BBDB version 3.0.50 (2013-11-16 11:30:49 -0600)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

* Re: Remove server from gnus
  2014-09-13  6:31 ` Eric S Fraga
@ 2014-09-14  6:33   ` Steinar Bang
  2014-09-15  8:57     ` Eric S Fraga
  2014-09-15  9:14     ` Rainer M Krug
  0 siblings, 2 replies; 6+ messages in thread
From: Steinar Bang @ 2014-09-14  6:33 UTC (permalink / raw)
  To: ding

>>>>> Eric S Fraga <e.fraga@ucl.ac.uk>:

> I would like to know the answer to this as well.  I have a number of
> servers that are there for historical reasons and I also cannot seem
> to be able to expunge them.

You have to kill all groups from that server.  Then go to the server
buffer and do a 'k' to kill the server.

It may be that you have to exit gnus after killing all of the groups,
and restart gnus, possibly in a new emacs.  Ditto for the servers in the
server buffer, I don't remember exactly.

But I have succeeded in ditching e.g. the now no-longer-existing
news.opera.no server from all of my gnusen (the most problematic was
getting gnus-sync to lose the server's groups).




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

* Re: Remove server from gnus
  2014-09-14  6:33   ` Steinar Bang
@ 2014-09-15  8:57     ` Eric S Fraga
  2014-09-15  9:14     ` Rainer M Krug
  1 sibling, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2014-09-15  8:57 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

On Sunday, 14 Sep 2014 at 08:33, Steinar Bang wrote:
>>>>>> Eric S Fraga <e.fraga@ucl.ac.uk>:
>
>> I would like to know the answer to this as well.  I have a number of
>> servers that are there for historical reasons and I also cannot seem
>> to be able to expunge them.
>
> You have to kill all groups from that server.  Then go to the server
> buffer and do a 'k' to kill the server.

Ah, that makes sense.  Thanks.

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.4.50.1 + Ma Gnus v0.12 + evil-git-fcf84b5
: BBDB version 3.1.2 (2014-04-27 15:05:20 -0500)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

* Re: Remove server from gnus
  2014-09-14  6:33   ` Steinar Bang
  2014-09-15  8:57     ` Eric S Fraga
@ 2014-09-15  9:14     ` Rainer M Krug
  2014-09-15 10:08       ` Eric Abrahamsen
  1 sibling, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2014-09-15  9:14 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

Steinar Bang <sb@dod.no> writes:

>>>>>> Eric S Fraga <e.fraga@ucl.ac.uk>:
>
>> I would like to know the answer to this as well.  I have a number of
>> servers that are there for historical reasons and I also cannot seem
>> to be able to expunge them.
>
> You have to kill all groups from that server.  Then go to the server
> buffer and do a 'k' to kill the server.
>
> It may be that you have to exit gnus after killing all of the groups,
> and restart gnus, possibly in a new emacs.  Ditto for the servers in the
> server buffer, I don't remember exactly.
>
> But I have succeeded in ditching e.g. the now no-longer-existing
> news.opera.no server from all of my gnusen (the most problematic was
> getting gnus-sync to lose the server's groups).
>

Thanks - I'll try it when I have a dead server sitting in gnus again.

Rainer

>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

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

* Re: Remove server from gnus
  2014-09-15  9:14     ` Rainer M Krug
@ 2014-09-15 10:08       ` Eric Abrahamsen
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Abrahamsen @ 2014-09-15 10:08 UTC (permalink / raw)
  To: ding

Rainer M Krug <Rainer@krugs.de> writes:

> Steinar Bang <sb@dod.no> writes:
>
>>>>>>> Eric S Fraga <e.fraga@ucl.ac.uk>:
>>
>>> I would like to know the answer to this as well.  I have a number of
>>> servers that are there for historical reasons and I also cannot seem
>>> to be able to expunge them.
>>
>> You have to kill all groups from that server.  Then go to the server
>> buffer and do a 'k' to kill the server.
>>
>> It may be that you have to exit gnus after killing all of the groups,
>> and restart gnus, possibly in a new emacs.  Ditto for the servers in the
>> server buffer, I don't remember exactly.
>>
>> But I have succeeded in ditching e.g. the now no-longer-existing
>> news.opera.no server from all of my gnusen (the most problematic was
>> getting gnus-sync to lose the server's groups).
>>
>
> Thanks - I'll try it when I have a dead server sitting in gnus again.
>
> Rainer

It seems like if, at some point, we got around to removing the
distinction between `gnus-select-method' and
`gnus-secondary-select-methods', and just had a single list of servers,
that might be a good opportunity to make this process less terrible.




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

end of thread, other threads:[~2014-09-15 10:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11  8:29 Remove server from gnus Rainer M Krug
2014-09-13  6:31 ` Eric S Fraga
2014-09-14  6:33   ` Steinar Bang
2014-09-15  8:57     ` Eric S Fraga
2014-09-15  9:14     ` Rainer M Krug
2014-09-15 10:08       ` Eric Abrahamsen

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