From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5018 invoked by alias); 27 Jul 2015 03:19:58 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35925 Received: (qmail 14450 invoked from network); 27 Jul 2015 03:19:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=/egh6iLX5lzcMPRrWmpWe50dZmONEsp1Ya7Fo9NGWIo=; b=HVG4cIhI0X5i/nTVCCi3CA4QtiUZEPP1uzbloiBabgFeWLwpVGgE2n1lS0rVFOsbXH hgUs3xMtKHQE7MEabSRiM28u3yxjIJNhvnjQMrF9XxUEIpNLUdtHFtBMrG5IFKGvXnOl rZpWT4LSCeJZb4kW76XTR8ZNYLZNIU7chHoDbxhOpaRL3V6Ge8cMsMpPIHc/pPcpJjEa l2tZYz2w2wkAVq+6W/Yipiqk10dyy0gpNUX6KVBtbAK17rYM5GPCxrbmYpGxxnFFa/JY UO/gDtVI5byssy0XE+hD3X0dsSpihgyaH8X6z3hp62y1jhzwP7+bsb4BGBxEu23kuKhr 8emg== X-Gm-Message-State: ALoCoQlz8kbp4k9vI1cwdbvC8nU8EmffKOlJzp2Pl0Oyc2iXgZ3mQBp0uYSyB5fQspvkwxQgYdnB X-Received: by 10.60.136.131 with SMTP id qa3mr24923686oeb.34.1437967193630; Sun, 26 Jul 2015 20:19:53 -0700 (PDT) From: Bart Schaefer Message-Id: <150726201949.ZM4875@torch.brasslantern.com> Date: Sun, 26 Jul 2015 20:19:49 -0700 In-Reply-To: <20150726230149.GA28556@zira.vinc17.org> Comments: In reply to Vincent Lefevre "Re: X font completion is buggy" (Jul 27, 1:01am) References: <20150724214952.GA15359@zira.vinc17.org> <10638.1437778219@thecus.kiddle.eu> <150724163126.ZM20996@torch.brasslantern.com> <12308.1437813031@thecus.kiddle.eu> <20150726211049.GF11938@zira.vinc17.org> <150726144146.ZM9170@torch.brasslantern.com> <20150726230149.GA28556@zira.vinc17.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: X font completion is buggy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 27, 1:01am, Vincent Lefevre wrote: } } But if I type "1", how can I disambiguate between -1 and -15 so that } the cursor moves back to the "n"? A reasonable question, but not one that is specific to _x_fonts. As usual for Sven-era code the abbreviations are impenetrable, so it's very difficult to find where compstate[unambiguous_cursor] is being calculated, but it's always set to the position just beyond the largest value in compstate[unambiguous_positions]. Theoretically someone could puzzle out how to set it based on the smallest unambiguous position, but I'm just not that interested.