From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: Print out my key-sequences Date: Fri, 09 Apr 2010 22:47:44 -0700 Message-ID: <4BC01100.6080602@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 1270878520 25642 80.91.229.12 (10 Apr 2010 05:48:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 05:48:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 10 07:48:38 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.69) (envelope-from ) id 1O0TYb-0005a9-If for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Apr 2010 07:48:37 +0200 Original-Received: from localhost ([127.0.0.1]:59596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0TYb-0006AK-0D for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Apr 2010 01:48:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0TXt-000694-O3 for help-gnu-emacs@gnu.org; Sat, 10 Apr 2010 01:47:53 -0400 Original-Received: from [140.186.70.92] (port=41328 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0TXr-000687-G7 for help-gnu-emacs@gnu.org; Sat, 10 Apr 2010 01:47:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0TXp-0006Pi-Qm for help-gnu-emacs@gnu.org; Sat, 10 Apr 2010 01:47:51 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:57276) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0TXp-0006Pa-MR for help-gnu-emacs@gnu.org; Sat, 10 Apr 2010 01:47:49 -0400 Original-Received: by pvg11 with SMTP id 11so3133368pvg.0 for ; Fri, 09 Apr 2010 22:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=hmayN4c0JXtGSepC1sxSBxQF6POFzD5apHPBoijO4IU=; b=u0jh3rDurdb3osaRDjjt2awYZFMW3UeyoN82B6BfJsEg38oBT/UOIByNuar5cVeqWy 8IbND7Wa4z8sgFpzV73BqGdpvuu9bDo0KVv4Gb/fMEoJPgnfWyTj1GWRSvG4gaT687v4 jyTb6snlA/EqmkG2VysjeOQwaJypGqe+9q+M8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=TZ4569rYqC/TA9TWujqLAISt3xrFwAvbDWHtGlKQklrUZKds7ZespaNx3iypJOzy3w tAYT35AEkWjZyl/E+XFMIBbAVe3na7FhtfR5KWDKL2DXeBekNnGSfNJtr7yGFiG5Efqx 3xgIX8T26PM2rDnKbEuBJ514tA1EnxjklXEmM= Original-Received: by 10.140.247.19 with SMTP id u19mr1398093rvh.226.1270878467611; Fri, 09 Apr 2010 22:47:47 -0700 (PDT) Original-Received: from bhishma.homelinux.net (d207-6-164-45.bchsia.telus.net [207.6.164.45]) by mx.google.com with ESMTPS id 23sm1598118pzk.6.2010.04.09.22.47.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 22:47:46 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.4 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:72640 Archived-At: On Thursday 08 April 2010 01:44 AM, Andrea Crotti wrote: > suvayu ali writes: > >> On 7 April 2010 07:43, Andrea Crotti wrote: >>> >> >> How about elisp that parses that buffer and uses growl to notify? > > Great yes I also found this: > http://growl.info/documentation/growlnotify.php > and it's really easy to pass stuff to growl, maybe I just need a filter > now to make it appear in a certain position with a certain width... > > Now I just need to parse the file with the keys, which looks like this > --8<---------------cut here---------------start------------->8--- > keys 0x8000078tail > --8<---------------cut here---------------end--------------->8--- > > but I have no idea on how i should split interesting sequences by non > interesting ones, how does emacs understands that? > I mean I would only like to get in the end > > C-M o C-c C-o etc etc, > Apparently there are space in between the same key sequence: > --8<---------------cut here---------------start------------->8--- > C-M o C-c O > --8<---------------cut here---------------end--------------->8--- > I am a elisp newbie and I have never used Macs, I couldn't give you a clue. But to setup the notifications you could try looking in this post. http://emacs-fu.blogspot.com/2009/11/showing-pop-ups.html Here the author uses notify-send (a GNU/Linux tool like growlnotify) to send notifications. Good Luck and do post back if you have any solutions to your need. It would be interesting to know. -- Suvayu Open source is the future. It sets us free.