zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] insert-last-word gets stuck at comments
@ 2021-07-26  7:06 Frederick Eaton
  2021-07-26 22:50 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Frederick Eaton @ 2021-07-26  7:06 UTC (permalink / raw)
  To: zsh-workers

Hello Zsh Workers,

This may be a somewhat minor bug, but I think that when
interactive_comments is set, the 'insert-last-word' widget gets stuck
on lines that are fully commented:

     $ zsh -f -i
     % setopt interactive_comments
     % echo hi #comment
     hi
     % # blah blah
     % echo bye #comment
     bye
     % echo foo
     foo
     % echo <Esc>.<Esc>.<Esc>.

I would have expected to see "echo hi" after the command line prompt
at this point, but I see "echo bye".

     zsh 5.8 (x86_64-pc-linux-gnu)

Thanks!

Frederick


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

end of thread, other threads:[~2021-07-29  8:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26  7:06 [BUG] insert-last-word gets stuck at comments Frederick Eaton
2021-07-26 22:50 ` Bart Schaefer
2021-07-27  5:52   ` Frederick Eaton
2021-07-27 20:19     ` Bart Schaefer
2021-07-28  1:36       ` Bart Schaefer
2021-07-28  9:06         ` Peter Stephenson
2021-07-28 15:40           ` Bart Schaefer
2021-07-29  8:14             ` Peter Stephenson

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