zsh-users
 help / color / mirror / code / Atom feed
* emacs-forward-word broken on linux
@ 1997-09-29 20:59 James B. Crigler
  0 siblings, 0 replies; only message in thread
From: James B. Crigler @ 1997-09-29 20:59 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-09-29 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-29 20:59 emacs-forward-word broken on linux James B. Crigler

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