From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Re: What's your favourite *under_publicized* editing feature of Emacs? Date: Sun, 06 Feb 2011 22:11:15 +0200 Message-ID: <4D4F0063.10708@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297023126 1503 80.91.229.12 (6 Feb 2011 20:12:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2011 20:12:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 06 21:12:02 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PmAxl-0005YX-Si for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Feb 2011 21:12:02 +0100 Original-Received: from localhost ([127.0.0.1]:48594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmAxl-0005p0-Ke for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Feb 2011 15:12:01 -0500 Original-Received: from [140.186.70.92] (port=60166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmAxJ-0005oi-NG for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 15:11:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmAxI-0004bt-Ai for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 15:11:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:54372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmAxI-0004bp-50 for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 15:11:32 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PmAxG-0005Lv-Hq for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 21:11:30 +0100 Original-Received: from 94-248-79-209.dynamic.peoplenet.ua ([94.248.79.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Feb 2011 21:11:30 +0100 Original-Received: from gavenkoa by 94-248-79-209.dynamic.peoplenet.ua with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Feb 2011 21:11:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 94-248-79-209.dynamic.peoplenet.ua User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78992 Archived-At: On 2011-01-29 14:55, Javier Sanz wrote: > Some that come to my mind: > - Using define-generic-mode, I've defined a major mode for my app > logs, which highlights errors and warnings in different colors and > makes them easier to see. How large your log files? I set 'grep-mode' on my log file (which follow GNU error coding convention). On 50-100 KiB logs it take 10 sec to highlight matches. On larger files I type C-g to stop matching for highlighting. -- Best regards!