help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Symbol's function definition is void: gnus-kill-newsgroup


From: Alex Kost
Subject: Re: Symbol's function definition is void: gnus-kill-newsgroup
Date: Sat, 06 Dec 2014 16:47:15 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

David Hume (2014-12-06 14:29 +0300) wrote:

> Alex Kost <alezost@gmail.com> writes:
>
>> David Hume (2014-12-06 01:56 +0300) wrote:
>>
>>> Help. I am being driven crazy by this error. I don't know what it means,
>>> what it is trying to do, how to get rid of it. I fear I will have to
>>> delete everything and start again. It happens when I start gnus. If I
>>> start with gnus-no-server I don't get the error. I am not sure if I will
>>> succeed in posting this...
>>
>> This error means that there is no such function as
>> `gnus-kill-newsgroup', but it is calling for some reason.  I found this:
>> <https://lists.gnu.org/archive/html/emacs-diffs/2012-07/msg00393.html>,
>> so IIUC that function was obsolete for a long time before it was
>> removed.  My guess the problem is that you use it in your emacs config.
>> Try to start gnus with "emacs -Q".
>
> Thanks for replying.
>
> Unfortunately, or fortunately, the error stopped happening as
> mysteriously as it started. But I searched and as you say it is indeed
> in my config files, but I don't know why, I certainly didn't put it
> there. This is the ".gnu-emacs" file:
>
>
> ;; highlighting, menus, and subscribing in GNUS
> (add-hook 'gnus-startup-hook
>      '(lambda ()
>       (setq gnus-subscribe-newsgroup-method
>       '(lambda (newsgroup)
>          (gnus-subscribe-newsgroup newsgroup)
>          (gnus-kill-newsgroup newsgroup)))
>
> I think this error may relate to me killing newsgroups, and then
> shutting the system down while emacs/gnus is still running. But that's
> just a hunch.
>
> What should I do? Can I regenerate this file?

I have never heard about ".gnu-emacs" file.  Is it loaded from your
"~/.emacs" or "~/.emacs.d/init.el" or ".gnus.el" or whatever?

Anyway you can just delete that (add-hook ...) if you don't even know
how it appeared there.

-- 
Alex



reply via email to

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