From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26833 invoked by alias); 27 Jul 2015 15:40:25 -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: 35934 Received: (qmail 15384 invoked from network); 27 Jul 2015 15:40:23 -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=CjF0bWuoVMZ0ABM0gmnI7Ye/OFrXzI3ER+4t+1SM/So=; b=LuHl9bYPYhX7bT3/WuTIaENu60G3nXm3g+yA3g+Cp5gqRDUN8EEBn81gfsANggtxTz mXSzmr4YnY/SU59HzWT0CdBLhcTSaQ+gVuv7N78XN1WvQo1W6M46N0yIX7cE8WLuk2Ua Vb+4OxIsHEWHf34ftOwCnPCYENUACHb942R2Uo+eGJ61K2kYos7s3zF2A5RwRXBBKXM6 fsVh8aVLFKjEPkKc665T1zF4CFN0FZ65W1iCVbrX5HFcrM7dirT1IhYWaK8s3QtbJVYd NXE3UEREH3voYYScoiS+CCFqBO88Y4v4Yl+XanwZs0wEN1o1+3xe9h5EEgCKO98Bp4qn 3PFg== X-Gm-Message-State: ALoCoQmrGoNBqZ+cl7zPpKZ4mvSDbzplE8XZv4R/gmfgm/ZRHeqSLcCGPajqUpgJ0sd4ErGOIArA X-Received: by 10.60.76.4 with SMTP id g4mr28182054oew.81.1438011620233; Mon, 27 Jul 2015 08:40:20 -0700 (PDT) From: Bart Schaefer Message-Id: <150727084016.ZM6075@torch.brasslantern.com> Date: Mon, 27 Jul 2015 08:40:16 -0700 In-Reply-To: Comments: In reply to Mikael Magnusson "Re: X font completion is buggy" (Jul 27, 7:11am) 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> <150726201949.ZM4875@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: X font completion is buggy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 27, 7:11am, Mikael Magnusson wrote: } Subject: Re: X font completion is buggy } } On Mon, Jul 27, 2015 at 5:19 AM, Bart Schaefer } wrote: } > 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. } } There is this widget, which might do something useful here? } } cycle-completion-positions } After inserting an unambiguous string into the command line } [...] This widget allows the cursor to be easily } moved to the other inter- esting spots. Yes, if Vincent were willing to invoke that widget instead of using TAB repeatedly, it would help. Unfortuntately there's no way to build that into the completion funcs themselves, because CURSOR et al. are read-only during completion.