unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matthew Flaschen <matthew.flaschen@gatech.edu>
To: emacs <help-gnu-emacs@gnu.org>
Subject: Ed Emulator Mode
Date: Tue, 20 Feb 2007 21:20:20 -0500	[thread overview]
Message-ID: <45DBAC64.3060509@gatech.edu> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1015 bytes --]

I thought about this once before, but the recent discussion about
viper/vimpact reminded me.  Has anyone made an ed-mode, as in an
emulator for ed, THE STANDARD TEXT EDITOR
(http://www.gnu.org/fun/jokes/ed.msg.html).  I just thought it might be
a fun way to learn some emacs lisp.

Does anyone know if this has been done?

So far, I intend to show the file/buffer being edited in one window, and
the ed "interface" in the other window.  A couple other things I'm
wondering:

How do I locally override ALL keys, like a wildcard?  I need to reject
all invalid keys with ? in command mode, so I thought it would best to
reject all, then selectively allow valid keys.  I think this will also
keep them from trying to manipulate the interface manually?

Is there some mode/function that's really worth overriding?  I thought
about it, but I figured it would be best done from scratch, (as a minor
mode?).  I'm still kind of vague on this, though.

Any other ideas welcome. :)

Matthew Flaschen


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2007-02-21  2:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21  2:20 Matthew Flaschen [this message]
2007-02-21  8:35 ` Ed Emulator Mode Kim F. Storm
2007-02-21  9:03   ` Matthew Flaschen

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=45DBAC64.3060509@gatech.edu \
    --to=matthew.flaschen@gatech.edu \
    --cc=help-gnu-emacs@gnu.org \
    /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).