From: "James B. Crigler" <crigler@seo.com>
To: zsh-users@math.gatech.edu
Subject: emacs-forward-word broken on linux
Date: Mon, 29 Sep 1997 16:59:35 -0400 (EDT) [thread overview]
Message-ID: <199709292059.QAA00254@catbert.seo.com> (raw)
Curiousity (zsh-3.0.[45]): Is there a known reason for which emacs
forward word (bound to ESCf and ESCF) would work differently on two
different platforms, namely Linux (Redhat 4.2/2.0.30) and Solaris 2.4?
On the Solaris box, it does what I expect, placing the cursor after
the word, but on the Linux box at home, it goes to the beginning of
the next word.
Caveat: I build it myself on the Solaris box; on Linux I use a version
from sunsite.unc.edu:/pub/Linux/distributions/redhat/contrib/i386.
Here's the stuff that I believe is relevent from .zshrc (this portion
is identical on both, note the compctl from the list just today :-):
if [[ ${+EMACS} = 0 ]] ; then
bindkey -em # emacs key bindings
bindkey "^[f" emacs-forward-word
bindkey "^[F" emacs-forward-word
WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
# bindkey -v # vi key bindings
else
set no_prompt_cr
fi
# Eliminate some redundancies
typeset -U MANPATH=$MANPATH
typeset -U PATH=$PATH
# Fixup some completion control
# only expand directories for cd and rmdir
compctl -g '*(-/)' + -g '.*(-/)' + -k '(..)' cd rmdir
[[ $TERM = dumb ]] && unsetopt zle
[[ $TERM = emacs ]] && unalias ls
--
Jim Crigler <crigler@seo.com>
Schwartz Electro-Optics, Inc. Voice: (407)298-1802 x200
3404 N. Orange Blossom Trl. Fax: (407)290-9666
Orlando FL 32804-3498 USA
reply other threads:[~1997-09-29 21:08 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=199709292059.QAA00254@catbert.seo.com \
--to=crigler@seo.com \
--cc=zsh-users@math.gatech.edu \
/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).