unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: `special' keys in keyboard macros
Date: Thu, 16 Oct 2003 12:36:35 +0000 (UTC)	[thread overview]
Message-ID: <m1AA7Mp-000UNVC@rattlesnake.com> (raw)
In-Reply-To: <16270.28790.644900.539286@tfkp07.physik.uni-erlangen.de> (message from Roland Winkler on Thu, 16 Oct 2003 12:18:30 +0200)

Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> wrote

    I think it would be neat to have some better support for
    converting "dirty", quickly hacked keyboard macros into "clean"
    elisp commands.

A decade or more ago, David Gillespie included a function that
converted key strokes to Emacs Lisp in his Emacs Calc mode.  Instead
of running `kmacro-start-macro/ kmacro-start-macro' and end up with a
keyboard macro, you would run this function the same way (possibly
bound to the same keys) and end up with an Emacs Lisp defun.

Unfortunately, I cannot find the feature any more.  It is not in any
recent version of Calc, nor any other place I have looked.  Nor can I
remember what it is called, except that I think it had `edit' in its
name.

Someone with more access to old Emacs Lisp libraries might find it.  
Or maybe it is hidden in the current Emacs Calc code and I just have
not seen it.

As with the RMIME libraries I mentioned earlier, this code is not
likely to come with proper papers (although it was, if I remember
rightly, part of Calc mode -- so maybe it does have papers).  In any
case, the defuns produced were not the best; and would need
enhancement to emulate the current `kmacro-start-macro/
kmacro-start-macro' tools.

But you should be able to look at the code and run the function as it
is, and see what it does -- it could be a help.

-- 
    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             bob@rattlesnake.com

  reply	other threads:[~2003-10-16 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <16257.16532.727889.658851@tfkp07.physik.uni-erlangen.de>
2003-10-11  5:37 ` `special' keys in keyboard macros Richard Stallman
2003-10-14 21:21   ` Stefan Monnier
2003-10-15 20:00     ` Richard Stallman
2003-10-15 21:27       ` Kim F. Storm
2003-10-16 10:18         ` Roland Winkler
2003-10-16 12:36           ` Robert J. Chassell [this message]
2003-10-16 23:07           ` Richard Stallman

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=m1AA7Mp-000UNVC@rattlesnake.com \
    --to=bob@rattlesnake.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).