[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print out my key-sequences
From: |
Andrea Crotti |
Subject: |
Re: Print out my key-sequences |
Date: |
Sun, 18 Apr 2010 16:16:09 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (darwin) |
Lennart Borgman <lennart.borgman@gmail.com> writes:
> On Sun, Apr 18, 2010 at 11:01 AM, Andrea Crotti
>
> last-command => this-command-keys, this-command-keys-vector
>
> You can find this information by searching in the elisp manual with
> isearch for "last-command".
>
> See also key-description.
Great I think this is what I was looking for : (this-command-keys)
Now I have this but I'm still getting an error
--8<---------------cut here---------------start------------->8---
(defun growl-popup (msg)
"Show a popup using growl notification or say it, only working on OSX with
growlnotify in the $PATH"
(interactive)
(if window-system
(shell-command (concat "growlnotify -a /Applications/Emacs.app/ -m " msg))
(message msg)))
(defun popup-last ()
(interactive)
(growl-popup (this-command-keys)))
--8<---------------cut here---------------end--------------->8---
What doest that supposed to mean?
The function this-command-keys is returning a string, and growl-popup is
working just fine, so what could be the problem again?
--8<---------------cut here---------------start------------->8---
(Shell command killed by signal Trace/BPT trap)
--8<---------------cut here---------------end--------------->8---
- Re: Print out my key-sequences, (continued)
- Re: Print out my key-sequences, Kevin Rodgers, 2010/04/17
- Re: Print out my key-sequences, Andrea Crotti, 2010/04/17
- Re: Print out my key-sequences, Lennart Borgman, 2010/04/17
- Re: Print out my key-sequences, Andrea Crotti, 2010/04/17
- RE: Print out my key-sequences, Drew Adams, 2010/04/17
- RE: Print out my key-sequences, Drew Adams, 2010/04/17
- Re: Print out my key-sequences, Lennart Borgman, 2010/04/17
- Re: Print out my key-sequences, Andrea Crotti, 2010/04/18
- Re: Print out my key-sequences, Andrea Crotti, 2010/04/18
- Re: Print out my key-sequences, Lennart Borgman, 2010/04/18
- Re: Print out my key-sequences,
Andrea Crotti <=
- Re: Print out my key-sequences, Thierry Volpiatto, 2010/04/18
- Re: Print out my key-sequences, Lennart Borgman, 2010/04/18
- Re: Print out my key-sequences, Kevin Rodgers, 2010/04/21
- Re: Print out my key-sequences, Thierry Volpiatto, 2010/04/07