all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: David Hume <David.Hume@hushmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Symbol's function definition is void: gnus-kill-newsgroup
Date: Sat, 06 Dec 2014 16:47:15 +0300	[thread overview]
Message-ID: <87h9x8opp8.fsf@gmail.com> (raw)
In-Reply-To: <85wq65j9td.fsf@example.com> (David Hume's message of "Sat, 06 Dec 2014 11:29:18 +0000")

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



      parent reply	other threads:[~2014-12-06 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <858uiln1tq.fsf@example.com>
2014-12-06  6:25 ` Symbol's function definition is void: gnus-kill-newsgroup Alex Kost
     [not found] ` <mailman.15366.1417847169.1147.help-gnu-emacs@gnu.org>
     [not found]   ` <85wq65j9td.fsf@example.com>
2014-12-06 13:47     ` Alex Kost [this message]

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=87h9x8opp8.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=David.Hume@hushmail.com \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.