From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Crotti Subject: Re: word count checklist? Date: Tue, 27 Jul 2010 22:54:36 +0200 Message-ID: References: <20100726155303.124c6396@bigblessing.tville> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33892 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdrBC-0006As-I6 for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 16:55:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdrB3-0001fX-W3 for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 16:55:07 -0400 Received: from lo.gmane.org ([80.91.229.12]:59087) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdrB3-0001fN-OZ for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 16:55:05 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdrB2-0007y3-Ia for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 22:55:04 +0200 Received: from xdsl-89-0-1-224.netcologne.de ([89.0.1.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2010 22:55:04 +0200 Received: from andrea.crotti.0 by xdsl-89-0-1-224.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2010 22:55:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I feel that maybe a minor mode would be a good choice for this. You could set a file variable (something like // -*- compile-command: "gcc -Wall -o dest file" -*- ) where you set the max and the minor mode with a hook on every key could update a value in the modeline. I'm not sure I can do it but I might try if I don't get asleep :D