zsh-workers
 help / color / mirror / code / Atom feed
* smart-insert-last-word bug in zsh 5.0.7
@ 2015-06-12  9:16 Vincent Lefevre
  2015-06-12 19:12 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Lefevre @ 2015-06-12  9:16 UTC (permalink / raw)
  To: zsh-workers

With zsh 5.0.7 under Debian (Debian package):

ypig% autoload -U smart-insert-last-word
ypig% zle -N insert-last-word smart-insert-last-word
ypig% echo abc def
abc def

Then I type:

  echo [Esc].[Left][Backspace][Ctrl-e] [Esc].

I get successively:

  echo def[ ]
  echo de[f]
  echo d[f]
  echo df[ ]
  echo df [ ]
  echo smart-insert-last-word[ ]

where [] is the position of the cursor. The second [Esc]. should have
given:

  echo df def[ ]

like without smart-insert-last-word.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-15  2:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12  9:16 smart-insert-last-word bug in zsh 5.0.7 Vincent Lefevre
2015-06-12 19:12 ` Bart Schaefer
2015-06-13 16:52   ` Peter Stephenson
2015-06-13 18:23     ` Bart Schaefer
2015-06-15  2:47       ` Bart Schaefer

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