From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6371 invoked from network); 13 Dec 2003 23:30:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Dec 2003 23:30:48 -0000 Received: (qmail 29285 invoked by alias); 13 Dec 2003 23:30:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6883 Received: (qmail 29258 invoked from network); 13 Dec 2003 23:30:30 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Dec 2003 23:30:30 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.238.4.143] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Dec 2003 23:30:29 -0000 Received: by elanus.its.uu.se (Postfix, from userid 204) id A9F054B8F; Sun, 14 Dec 2003 00:30:26 +0100 (NFT) Received: from elanus.its.uu.se(127.0.0.1) by elanus.its.uu.se via virus-scan id s20615; Sun, 14 Dec 03 00:30:13 +0100 Received: from localhost (NL04-165-13.STUDENT.UU.SE [10.11.165.13]) by elanus.its.uu.se (Postfix) with ESMTP id 29FBA4963 for ; Sun, 14 Dec 2003 00:30:09 +0100 (NFT) Received: from jesper by localhost with local (Exim 4.24) id 1AVJCA-00020u-3T for zsh-users@sunsite.dk; Sun, 14 Dec 2003 00:29:10 +0100 Date: Sun, 14 Dec 2003 00:29:10 +0100 From: Jesper Holmberg To: Zsh-users List Subject: Re: kill-word removes whole line Message-ID: <20031213232910.GV18859@strindberg.dsv.su.se> Mail-Followup-To: Zsh-users List References: <20031213154017.GQ18859@strindberg.dsv.su.se> <1031213183659.ZM5140@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1031213183659.ZM5140@candle.brasslantern.com> User-Agent: Mutt/1.5.4i * On Sat Dec 13, Bart Schaefer wrote: > On Dec 13, 4:40pm, Jesper Holmberg wrote: > } > } autoload -U select-word-style > } select-word-style bash > } > } foo * bar bar bar > } > } and press alt-d, all three "bar" are removed from the command-line. > > The first thing I'd suspect is that you have a zstyle that is using a > more specific context than the ":zle:*" one set by select-word-style. > What do you find if you give the command > > zstyle -L I don't think I understand how I could see if this is the case, but below, you'll find the output of zstyle -L. BTW, I use the new completion system. Jesper % zstyle -L zstyle ':zle:*' word-style standard zstyle ':zle:*' word-chars '' zstyle :insert-last-word match '*([[:digit:]]?|[[:alpha:]/\\])*' zstyle ':completion:*' group-name '' zstyle ':completion:*' group-order files directories zstyle ':completion:*' list-colors 'no=00' 'fi=00' 'di=01;34' 'ln=04;36' 'pi=04;33' 'so=04;35' 'bd=40;33;04' 'cd=40;33;04' 'or=04;05;37;41' 'mi=04;05;37;41' 'ex=01;32' '*.cmd=01;32' '*.exe=01;32' '*.EXE=01;32' '*.com=01;32' '*.COM=01;32' '*.btm=01;32' '*.bat=01;32' '*.BAT=01;32' '*.sh=01;32' '*.csh=01;32' '*.tar=01;31' '*.tgz=01;31' '*.tbz=01;31' '*.tbz2=01;31' '*.arj=01;31' '*.taz=01;31' '*.lzh=01;31' '*.zip=01;31' '*.ZIP=01;31' '*.jar=01;31' '*.JAR=01;31' '*.z=01;31' '*.Z=01;31' '*.gz=01;31' '*.bz2=01;31' '*.bz=01;31' '*.tz=01;31' '*.rpm=01;31' '*.deb=01;31' '*.cpio=01;31' '*.gpg=01;31' '*.jpg=01;35' '*.JPG=01;35' '*.gif=01;35' '*.GIF=01;35' '*.bmp=01;35' '*.BMP=01;35' '*.xbm=01;35' '*.xpm=01;35' '*.png=01;35' '*.PNG=01;35' '*.tif=01;35' '*.jpeg=01;35' '*.tiff=01;35' '*.mpg=01;35' '*.MPG=01;35' '*.mpeg=01;35' '*.avi=01;35' '*.AVI=01;35' '*.mp3=01;35' '*.MP3=01;35' '*.ogg=01;35' '*.OGG=01;35' '*.rm=01;35' '*.RM=01;35' '*.eps=01;35' '*.ps=01;35' '*.PS=01;35' '*.pdf=01;35' '*.PDF=01;35' '*.tex=01;33' '*.doc=01;33' '*.DOC=01;33' '*.sxw=01;33' '*.SXW=01;33' '*.txt=01;33' '*.TXT=01;33' '*.htm=01;33' '*.HTM=01;33' '*.html=01;33' '*.HTML=01;33' '*.pt=01;33' '*.xml=01;33' '*.XML=01;33' '*.rtf=01;33' '*.RTF=01;33' '*.c=01;36' '*.java=01;36' '*.JAVA=01;36' '*.pl=01;36' '*.cc=01;36' '*.el=01;36' '*.py=01;36' '*.PY=01;36' zstyle ':completion:*:*:kill:*' verbose yes zstyle ':completion:*' verbose false zstyle ':completion:*:descriptions' format 'Descriptions: %B%d%b' zstyle ':completion:*:messages' format 'Matches: %d' zstyle ':completion:*:warnings' format 'No matches for: %d' zstyle ':completion:*' format 'Completing %d' zstyle ':completion:*' preserve-prefix '//[^/]##/' zstyle ':completion:*' squeeze-slashes true zstyle ':completion:*' use-perl true zstyle ':completion:*' use-cache true zstyle :compinstall filename '~/.zshrc' zstyle ':completion:*' completer _expand _complete _ignored zstyle ':completion:case-sensitive:*' matcher-list '' zstyle ':completion:*' matcher-list 'm:{a-zåäö}={A-ZÅÄÖ}' zstyle ':completion:*:*:(^rm):*:*' ignored-patterns '*?.o' '*?~' '(|*/)CVS' '*?.class' '*?.pyc' '*?.elc' zstyle ':completion:*:rm:*' ignore-line yes zstyle ':completion:*:(cd|cp|mv):*' ignore-parents parent pwd zstyle ':completion:*:*:kill:*' menu yes 'select=1' zstyle ':completion:*' menu 'select=30' zstyle ':completion:*:*:kill:*:processes' command 'ps x -o user,pid,s,stime,args'