From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Ed Emulator Mode Date: Tue, 20 Feb 2007 21:20:20 -0500 Message-ID: <45DBAC64.3060509@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0306711866==" X-Trace: sea.gmane.org 1172024472 23414 80.91.229.12 (21 Feb 2007 02:21:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2007 02:21:12 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 21 03:21:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJh6P-0003ui-1f for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Feb 2007 03:21:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJh6O-0005ch-94 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Feb 2007 21:21:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJh5m-0005RC-Uo for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 21:20:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJh5l-0005R0-5X for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 21:20:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJh5k-0005Qx-Sq for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 21:20:24 -0500 Original-Received: from deliverator8.gatech.edu ([130.207.165.183]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1HJh5k-0001Wp-IY for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 21:20:24 -0500 Original-Received: from deliverator8.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id CB1DD18D for ; Tue, 20 Feb 2007 21:20:23 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx4.gatech.edu (mailprx4.prism.gatech.edu [130.207.171.18]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator8.gatech.edu (Postfix) with ESMTP id AC8BB185 for ; Tue, 20 Feb 2007 21:20:23 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx4.gatech.edu, sender=n/a) by mailprx4.gatech.edu (Postfix) with ESMTP id 794762192 for ; Tue, 20 Feb 2007 21:20:23 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.9 (X11/20070104) X-Enigmail-Version: 0.94.1.2 X-detected-kernel: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41362 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0306711866== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig54F9266D0D8CF6AF98E3B441" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig54F9266D0D8CF6AF98E3B441 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 --------------enig54F9266D0D8CF6AF98E3B441 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF26xkQ5LSyju97VkRAgpdAJ9brKkYY0ddyfvk497ox/hQi/kSWwCfd4Dw 5LrYp0cVucB7vzNquce13vc= =9Mi5 -----END PGP SIGNATURE----- --------------enig54F9266D0D8CF6AF98E3B441-- --===============0306711866== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0306711866==--