From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26202 invoked from network); 15 Mar 1999 10:40:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Mar 1999 10:40:04 -0000 Received: (qmail 11717 invoked by alias); 15 Mar 1999 10:39:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5802 Received: (qmail 11709 invoked from network); 15 Mar 1999 10:39:42 -0000 Date: Mon, 15 Mar 1999 11:39:37 +0100 (MET) Message-Id: <199903151039.LAA22933@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Sun, 14 Mar 1999 12:25:49 -0800 Subject: Re: Clearing the completion listing Bart Schaefer wrote: > Seems to me there are a few more zle commands that ought to clear the > completion listing. The one that I notice most often is kill-whole-line. > Most history motions should do it, too, since if any of them pull up a > multi-line entry it's just going to cover up the list anyway (assuming > always_last_prompt). And kill-buffer, and probably transpose-words, and > maybe insert-last-word. Any others? Hadn't thought of them... I'd suggest doing this with another `ZLE_'-flag. Let's see: - beginning-of-buffer-or-history - beginning-of-line-hist - down-history - down-line-or-history - down-line-or-search - end-of-buffer-or-history - end-of-line-hist - get-line (?) - infer-next-history - kill-buffer - kill-line - push-input - push-line - push-line-or-edit - run-help - up-history - up-line-or-history - up-line-or-search - vi-down-line-or-history - vi-fetch-history - vi-history-search-backward - vi-history-search-forward - vi-open-line-above - vi-open-line-below - vi-repeat-search - vi-rev-repeat-search - vi-up-line-or-history Some of them should clear the list only if the history is used. Some of them already clear the list, and some of those who already clear the list have not been mentioned. Any other suggestions? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de