From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: next-error refactoring (was: compilation-highlight-duration) Date: Fri, 28 May 2004 11:45:06 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <4npt8oeet9.fsf_-_@lifelogs.com> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085767614 9769 80.91.224.253 (28 May 2004 18:06:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 May 2004 18:06:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 28 20:06:38 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 1BTlkc-0004Kf-00 for ; Fri, 28 May 2004 20:06:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTlkc-0005mF-00 for ; Fri, 28 May 2004 20:06:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTlEd-0006eU-IC for emacs-devel@quimby.gnus.org; Fri, 28 May 2004 13:33:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BTlEN-0006e4-Pu for emacs-devel@gnu.org; Fri, 28 May 2004 13:33:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BTlDr-0006W9-ON for emacs-devel@gnu.org; Fri, 28 May 2004 13:33:18 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTjoF-0002Ob-VB for emacs-devel@gnu.org; Fri, 28 May 2004 12:02:16 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BTjoF-0004cB-00 for ; Fri, 28 May 2004 18:02:15 +0200 Original-Received: from asimov.bwh.harvard.edu ([134.174.9.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 May 2004 18:02:15 +0200 Original-Received: from tzz by asimov.bwh.harvard.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 May 2004 18:02:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: asimov.bwh.harvard.edu X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:tB9BqgMD67kNmkfhhlZjI5nKc0c= 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:24090 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24090 On Fri, 28 May 2004, juri@jurta.org wrote: > Adding `next-error-highlight' and `next-error-highlight-no-select' > reveals one problem. When these user options are defined by > `defcustom' it requires to specify a group name under which they > should be placed. The current logic by using the `next-error-' prefix > suggests the group name `next-error'. But it would be misleading for modes > other than compile. For grep, diff and occur this name makes no > sense. I think it makes sense to have a next-error group for other modes. Is it time to make next-error a minor mode with its own next-error.el file? It seems like a useful thing, instead of manually hooking it into all the user modes. The minor mode could provide hooks that would replace the current code; this would also facilitate adoption by other modes. Ted