From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1080 invoked from network); 30 May 2000 03:43:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 May 2000 03:43:52 -0000 Received: (qmail 15763 invoked by alias); 30 May 2000 03:43:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11644 Received: (qmail 15752 invoked from network); 30 May 2000 03:43:39 -0000 From: "Bart Schaefer" Message-Id: <1000530034334.ZM18009@candle.brasslantern.com> Date: Tue, 30 May 2000 03:43:33 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: PATCH: Use new and improved print -s in _complete_debug MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Ahhh. Index: Completion/Commands/_complete_debug =================================================================== @@ -18,12 +18,9 @@ unsetopt xtrace [[ -t 3 ]] && { - ## Calling "print -s" during completion is presently broken. - # _message -r "Trace output left in $tmp (up-history to view)" - # print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w" - _message -r "Trace output left in $tmp" + print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w" + _message -r "Trace output left in $tmp (up-history to view)" compstate[list]='list force' - print -zR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w" exec 2>&3 3>&- } -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net