From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: some statistics Date: Wed, 27 Jan 2010 11:32:15 +0100 Message-ID: References: <93db6cff-3312-42de-8896-95c03e3a8795@l19g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1264588419 10432 80.91.229.12 (27 Jan 2010 10:33:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jan 2010 10:33:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 27 11:33:31 2010 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.50) id 1Na5DH-0002qR-9U for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jan 2010 11:33:31 +0100 Original-Received: from localhost ([127.0.0.1]:40532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na5DI-0008TH-HY for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jan 2010 05:33:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Na5Cd-0008Sf-PC for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 05:32:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Na5CY-0008QC-7A for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 05:32:50 -0500 Original-Received: from [199.232.76.173] (port=48765 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na5CY-0008Q1-0f for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 05:32:46 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:39375) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Na5CX-0006RE-EQ for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 05:32:45 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1Na5CP-0002b9-0l for help-gnu-emacs@gnu.org; Wed, 27 Jan 2010 11:32:37 +0100 Original-Received: from ip116-027.hgracht.rwth-aachen.de ([134.130.116.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jan 2010 11:32:37 +0100 Original-Received: from andrea.crotti.0 by ip116-027.hgracht.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jan 2010 11:32:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip116-027.hgracht.rwth-aachen.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:N1TtsLjIGUQHd1NvmtsYK0FfhQk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:71508 Archived-At: Xah Lee writes: > On Jan 26, 6:24 am, Andrea Crotti wrote: > > you can gather stat of your command calls, from the package command- > frequency.el. > > you can get it here: > > • Emacs's Command Frequency > http://xahlee.org/emacs/command-frequency.html > > if you have accumulated some stats, i'd appreciate it. I'll > incorporate it into my report. > Very nice thanks, I'm starting to collect some infos. I see that the trick is using the "pre-command-hook" in short. It would be also nice to know something of the time used in each buffer, the number of total time spent typing and so on... I see that the command-frequency.py is not very pythonic, if I write something better I'll post it somewhere if you're interested..