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

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

bug#3148: 23.0.91; spam.el uses query-dns instead of dns-query


From: Magnus Henoch
Subject: bug#3148: 23.0.91; spam.el uses query-dns instead of dns-query
Date: Fri, 01 May 2009 10:28:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Tue, 28 Apr 2009 18:59:54 +0200 Reiner Steib <reinersteib+gmane@imap.cc> 
> wrote: 
>
> RS> On Tue, Apr 28 2009, Magnus Henoch wrote:
>>> lisp/gnus/spam.el autoloads and uses `query-dns' from dns.el, but that
>>> function was renamed `dns-query' a while ago.
>
> RS> Fixed in CVS.  Thanks for the report.
>
> This is a good indication no one uses that feature, so would it be
> better to just remove it?  Magnus, did you actually use it or just
> notice the problem?

I didn't actually use it.  I noticed because jabber.el tries first
query-dns, and then dns-query:

(if (fboundp 'query-dns)
    (query-dns target 'SRV t)
  (dns-query target 'SRV t))

If the broken autoload for query-dns was loaded, it would try to use it
and fail.

Magnus






reply via email to

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