zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Emacs bindings, an unfinished project
Date: Mon, 21 Mar 2005 01:37:21 +0000	[thread overview]
Message-ID: <1050321013721.ZM11541@candle.brasslantern.com> (raw)

A few weeks ago there was a discussion of how various keybindings in zsh's
"emacs" keymap don't really correspond very well to emacs itself.  This is
of course true for a variety of reasons, including preservation of the old
BSD TTY driver behavior and the zsh authors' personal preferences.

At one point some [long] while ago I fired up emacs with only its default
set of bindings, dumped a list of them, and set out to emulate them all in
zsh -- a task which I quickly discovered to be impossible, at the time.  In
fact, it's still impossible, because emacs has multiple editor buffers and
a completely different approach to keymaps -- but recent additions to zsh
have made it possible to get closer.

I therefore cleaned up the file a bit and added some new examples using zsh
4.2.x features.  It's still largely unfinished, but in the interests of
getting more eyes and fingers involved I've put it up on the web:

	http://www.well.com/user/barts/zsh/emacs-emu

See comments at the top of the file for minimalist usage instructions.

One of the things that this illustrates is how fragile some widgets, like
execute-named-command, are in the face of changes to bindings in the main
keymap.  More about this can be read on zsh-workers.


                 reply	other threads:[~2005-03-21  1:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=1050321013721.ZM11541@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).