From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20711 invoked from network); 10 Oct 2006 17:03:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Oct 2006 17:03:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 94365 invoked from network); 10 Oct 2006 17:03:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Oct 2006 17:03:01 -0000 Received: (qmail 26794 invoked by alias); 10 Oct 2006 17:02:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22857 Received: (qmail 26776 invoked from network); 10 Oct 2006 17:02:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Oct 2006 17:02:52 -0000 Received: (qmail 93594 invoked from network); 10 Oct 2006 17:02:52 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 10 Oct 2006 17:02:52 -0000 Received: from torch.brasslantern.com ([71.116.118.106]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J6X000PGIZZZR43@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Tue, 10 Oct 2006 11:55:12 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k9AGtAcv012665 for ; Tue, 10 Oct 2006 09:55:10 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k9AGt9Cq012664 for zsh-workers@sunsite.dk; Tue, 10 Oct 2006 09:55:09 -0700 Date: Tue, 10 Oct 2006 09:55:09 -0700 From: Bart Schaefer Subject: Re: _complete_help broken In-reply-to: <200610031733.k93HXNCY008545@news01.csr.com> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <061010095509.ZM12663@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <200610031733.k93HXNCY008545@news01.csr.com> Comments: In reply to Peter Stephenson "_complete_help broken" (Oct 3, 6:33pm) On Oct 3, 6:33pm, Peter Stephenson wrote: } } Someone, almost certainly me (or possibly I), broke _complete_help (^xh) } so that it adds an extra newline. This happens with zsh -f and compinit } from scratch. This is probably additional fallout from the change I put } in in 22676/22678 to make trashzle() not retrash if it never got } untrashed up (c.f. 22727). It suggests that there's another point which } isn't fixing the cursor position after outputting to the terminal. I'm not sure that's precisely it. Try ESC 2 ^x h to get the long list of all the styles, and notice how many extra blank lines are needlessly inserted at the top of the listing. The most unusual thing that _complete_help does is "compadd -UX". I don't find any other instances of U and X together in compadd options in a quick grep of all completion functions.