From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: next-error refactoring Date: Tue, 08 Jun 2004 00:27:06 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87hdtnukid.fsf@mail.jurta.org> References: <20040503.071327.124836670.Takaaki.Ota@am.sony.com> <20040504.075437.207586641.Takaaki.Ota@am.sony.com> <87llk552oz.fsf@mail.jurta.org> <87isf6e7ji.fsf@mail.jurta.org> <87iseg4x5d.fsf@mail.jurta.org> <4npt8oeet9.fsf_-_@lifelogs.com> <4nd64j6u3p.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086644150 7893 80.91.224.253 (7 Jun 2004 21:35:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2004 21:35:50 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 07 23:35:31 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXRmF-0003L3-00 for ; Mon, 07 Jun 2004 23:35:31 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXRmE-0002WT-00 for ; Mon, 07 Jun 2004 23:35:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXRmn-0003cN-Cu for emacs-devel@quimby.gnus.org; Mon, 07 Jun 2004 17:36:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BXRmh-0003c2-7e for emacs-devel@gnu.org; Mon, 07 Jun 2004 17:35:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BXRmf-0003bc-60 for emacs-devel@gnu.org; Mon, 07 Jun 2004 17:35:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXRmf-0003bZ-3W for emacs-devel@gnu.org; Mon, 07 Jun 2004 17:35:57 -0400 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BXRm2-0000Qv-GT; Mon, 07 Jun 2004 17:35:18 -0400 Original-Received: from mail.jurta.org (80-235-38-194-dsl.mus.estpak.ee [80.235.38.194]) by spork.dreamhost.com (Postfix) with ESMTP id C63B811DC20; Mon, 7 Jun 2004 14:35:15 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 02 Jun 2004 13:36:49 -0400") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24683 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24683 Richard Stallman writes: > Yes, and I think maintenance will be easier if next-error > functionality is in its own file. > > Why do you think it would matter? > > next-error and related functions are just 150 lines. > I don't want to split things into new files which are so small. It has a big potential to grow. I have about 40 lines uninstalled (next-error-highlight related code), because of unresolved issues regarding the right name of the whole framework. Plus Dan Nicolaescu proposed the code for next-error-follow-minor-mode (50 lines) which should go into the same file. So even without Ted's plans to extend it, this gives enough lines to split it into a new file. BTW, replace.el should be split too. All occur related functions should be moved from replace.el into a separate file occur.el, because they are already 460 lines. This is big enough to justify its refactoring. Moreover, occur absolutely don't fit into replace.el neither by its name nor by description which is according to the first line of replace.el is "replace.el --- replace commands for Emacs". -- Juri Linkov http://www.jurta.org/emacs/