help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print out my key-sequences


From: Suvayu Ali
Subject: Re: Print out my key-sequences
Date: Fri, 09 Apr 2010 22:47:44 -0700
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

On Thursday 08 April 2010 01:44 AM, Andrea Crotti wrote:
suvayu ali<fatkasuvayu+linux@gmail.com>  writes:

On 7 April 2010 07:43, Andrea Crotti<andrea.crotti.0@gmail.com>  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---
<backspace><backspace><tab>ke<tab>y<tab>s<tab>  0x8000078tail<tab>
--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---
<return>C-M o   C-c O<S-backspace>
--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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]