From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: dns-mode.el vs. zone-mode.el Date: Wed, 09 Aug 2006 21:03:25 +0200 Message-ID: <87irl17mv6.fsf@latte.josefsson.org> References: <87k65hdbdc.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155150247 24221 80.91.229.2 (9 Aug 2006 19:04:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2006 19:04:07 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 09 21:04:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GAtLH-0003he-0a for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 21:03:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAtLG-00087n-CK for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 15:03:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GAtL6-00087a-H0 for emacs-devel@gnu.org; Wed, 09 Aug 2006 15:03:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GAtL3-00087B-J7 for emacs-devel@gnu.org; Wed, 09 Aug 2006 15:03:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAtL3-000878-GL for emacs-devel@gnu.org; Wed, 09 Aug 2006 15:03:33 -0400 Original-Received: from [217.13.230.178] (helo=yxa.extundo.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GAtPn-0000Na-Cz for emacs-devel@gnu.org; Wed, 09 Aug 2006 15:08:27 -0400 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k79J3P4F000968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Aug 2006 21:03:28 +0200 Original-To: Romain Francoise OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:22:060809:romain@orebokech.com::2Efon9G/UAEykkdf:4p79 X-Hashcash: 1:22:060809:emacs-devel@gnu.org::pB1ftWk+a4RnhTaf:Vrt9 In-Reply-To: <87k65hdbdc.fsf@pacem.orebokech.com> (Romain Francoise's message of "Wed, 09 Aug 2006 20:15:11 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com X-Virus-Status: Clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58231 Archived-At: Romain Francoise writes: > Emacs 22 has a new package called dns-mode.el which does pretty much the > same thing as an older package called zone-mode.el, the latter being > part of Emacs since (at least) Emacs 20. > > They are so simple that we probably don't need two packages for this. > > Comparing the two yields the following observations: > - dns-mode's code to update serials is more advanced and probably more > robust; > - dns-mode's font-locking is much better; > - zone-mode updates serials automatically upon saving, via > `write-file-functions'; > - dns-mode has a menu (but it has only one item so far); > - dns-mode associates itself with .soa files in `auto-mode-alist'. > > So I'm proposing to merge the two by dropping zone-mode.el, making > zone-mode an alias for dns-mode, and making dns-mode update serials > automatically upon saving (so as not to confuse users of zone-mode). > > What do people think? Sounds good to me. (Actually, I was not aware of zone-mode.el when I wrote dns-mode.)