unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rustom Mody <rustompmody@gmail.com>
To: nicholas.dokos@hp.com, help-gnu-emacs@gnu.org
Subject: Re: scripting input methods (was back (batch) translate chars to keyboard events)
Date: Mon, 13 Feb 2012 13:11:41 +0530	[thread overview]
Message-ID: <CAJ+TeoeYWy1R_ybP7YndKh9vxotw4ej8ZOyeg2Hv_mXH8CgqVw@mail.gmail.com> (raw)
In-Reply-To: <CAJ+TeocNV4p0Lh1EECS_p+vzKjwbB6JfwXoByLNb9sJ-jyBJWQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Some progress:

1. Replacing the kmacro-exec-ring-item with the lower level
execute-kbd-macro works


(defun om ()
  "Keyboard macro."
  (interactive)
  (execute-kbd-macro [79  77  32  98  104  85  114  98  104  117  118  97
72  32  115  117  118  97  72  116  97  116  115  97  118  105  116  117
114  118  97  114  101  110  121  97  109  98  104  97  114  103  111  32
100  101  118  97  115  121  97  32  100  104  73  109  97  104  105
100  104  105  121  111  32  121  111  110  97  72  32  112  114  97  99
104  111  100  97  121  65  116 10]))

2. The misbehavior on the last 10 was because it was in Lisp Interaction
mode <grin>

So now...
If I can produce that vector from elisp rather than python I guess its easy
after that...

Thanks again Nick!

[-- Attachment #2: Type: text/html, Size: 836 bytes --]

  reply	other threads:[~2012-02-13  7:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13  7:20 scripting input methods (was back (batch) translate chars to keyboard events) Rustom Mody
2012-02-13  7:41 ` Rustom Mody [this message]
2012-02-13  8:17 ` Jambunathan K
2012-02-13 11:06   ` Rustom Mody
2012-02-13 15:47   ` Nick Dokos
2012-02-13 15:28 ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ+TeoeYWy1R_ybP7YndKh9vxotw4ej8ZOyeg2Hv_mXH8CgqVw@mail.gmail.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).