From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id RAA07659 for ; Tue, 16 Jan 1996 17:21:28 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA01148; Tue, 16 Jan 1996 00:08:15 -0500 (EST) Resent-Date: Tue, 16 Jan 1996 00:08:15 -0500 (EST) From: yamagata@nwgpc.kek.jp Message-Id: <199601160507.OAA13566@nwgpc.kek.jp> To: zsh-workers@math.gatech.edu Subject: Re: multi-line history storing bug (beta13) In-Reply-To: Your message of "Mon, 15 Jan 1996 17:10:15 +0100" References: <9601151610.AA09130@sgi.ifh.de> Date: Tue, 16 Jan 1996 14:07:50 +0900 Resent-Message-ID: <"jOYSE.0.sH.-Ap-m"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/743 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hello, >> Heyla, doing this on my machine loses the last line in the history list. >> >> % for I in test >> do echo hi >> #test >> done >> % >> >> It seems to happen in multiline editing when I put in a comment. Anyone else >> get this? > It needs to pretend the newline character at the end of the comment is > a word, like other newlines. (If it doesn't count the newline as a > word, it'll assume that the text ends with the previous word.) I > didn't do that much detailed checking with multi line buffers, or with > interactivecomments. I applied this patch, but still zsh loss all lines except last, like this. % sed ' s/:.*// s/!.*// ' .newsrc -- yamagata