From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Support "\n" in icomplete-separator Date: Sat, 14 Nov 2020 22:36:06 +0200 Message-ID: References: <837dqv5huk.fsf@gnu.org> <83mtzp2qj0.fsf@gnu.org> <83r1p11369.fsf@gnu.org> <834klv26vu.fsf@gnu.org> <835z69y7kc.fsf@gnu.org> <20201114061735.wm3tgh72eesyg6jp@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29634"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 14 21:37:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ke2II-0007ct-BD for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Nov 2020 21:37:10 +0100 Original-Received: from localhost ([::1]:55696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ke2IH-0003OJ-E5 for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Nov 2020 15:37:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ke2HO-0002x5-1z for emacs-devel@gnu.org; Sat, 14 Nov 2020 15:36:14 -0500 Original-Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:38283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ke2HM-0001PA-Ir; Sat, 14 Nov 2020 15:36:13 -0500 Original-Received: by mail-lj1-x242.google.com with SMTP id r17so15104762ljg.5; Sat, 14 Nov 2020 12:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lPZSNF1BTyssCSwnbvYOr9/p03mmDHRMGh5k9NjH+38=; b=HRHBxfnKyRypx/WfBRRlpF1ItaATUMOqdeL+2qiIXu3plOt8Njl/4oN5Et7vEpBzUh 15bgQCy5RcTkbfPi9vUkFtkd/A+CzJgwmDXM57pnTxAs/AMI+Y/d1MUetN+mguM/lMCC oZ6ebsKebjdeMrikYWtC7oJrBGeCOoO500RctKpB7EJODz0JKSXw34NccoDcsXcqiIRw OUg68Br4yKxJJKZ8M3WMt/5Ylt/S9cKIs5aEgzbQYgX0gJO+i5TYAjRpRuQqA67GnXsV dzEMWaebmW3sBd4rXcPUHbweNUatAF8sVzgr7NUwYQjRDlDrPi21h66e2nGGeG6KBwb5 Z8eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=lPZSNF1BTyssCSwnbvYOr9/p03mmDHRMGh5k9NjH+38=; b=qa6QkNsF2HTYC2JsQ573yF2+3idIzeNVjG8MP3fuYXaH7QZLGqgRY0zKSzB2oaX8VD EURr3sTgznHUJ3OV/iuhnF7R+qALTKL3PBj/HMPqFnGEJQaBjSOj5QQYOmHdQorbtK9O hoeBinD/VQ9+UCrwfcPy7K0jRO0fJBClmExiQ+wG5HqmhlyyLnerch7tO0Glh3LfZOxH wyxWj+NHCwlQahUPBeYWtnIRfe2GhxhSq/VivoIKjrveNr2KyCUnkGarU/iwwFUazDR2 IY2zK3zopNDQTT4QuVoqfJG642TfKHiKG5sTEiH6TMEJ8Cs5HwYgT4mTffZGpRfgru1j POEw== X-Gm-Message-State: AOAM530c5ZZIgd522bRO0mJf/yNxiEOzuebOcVt4OpVqHyd8iiPm4uXp eAPby4uu0/A8mgLdLJfA3B8= X-Google-Smtp-Source: ABdhPJyfgbN9gjPwsi8kyDYzoephfbRvrE+kW8CKQMeJSCATvhSizafkG2N6axq1ciptD4xwBsvm0w== X-Received: by 2002:a05:651c:3d0:: with SMTP id f16mr3120682ljp.109.1605386169751; Sat, 14 Nov 2020 12:36:09 -0800 (PST) Original-Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id l16sm2131794ljb.69.2020.11.14.12.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 12:36:08 -0800 (PST) In-Reply-To: <20201114061735.wm3tgh72eesyg6jp@Ergus> (Ergus's message of "Sat, 14 Nov 2020 07:17:35 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::242; envelope-from=andreyk.mad@gmail.com; helo=mail-lj1-x242.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259184 Archived-At: Ergus writes: >>> Pressing TAB seems to be against the philosophy of icomplete, ivy, and >>> similar features, at least AFAIU: they display the candidates without >>> any prior request by the user. >> >>Among icomplete, ivy and ido modes only ivy is overriding TAB key. With >>icomplete and ido the overlay text is not the _only_ way of knowing what >>inputs are acceptable. Seems like they has nothing against using TAB to >>complete text. >> > Ivy has ivy-partial-or-done bind to tab by default. Which completes > common part or open on single alternative with the default action > (find-file for file; dired for directories...). > > But it is possible to bind tab to ivy-partial in ivy-minibuffer-map > instead. Then you have only completion on tab which is probably more > familiar for shell users, and a more predictable behavior. Actually the > most opposed completion system to use tabs is helm not ivy ;p In emacs -Q: 1. M-: (set-frame-height nil 1) 2. M-x 3. TAB Completion buffer is opened and from now each pressing of TAB will scroll completions. 4. ivy-mode RET 5. M-x 6. TAB No completions are visible 7. TAB No completions so far but the 'enable-theme' command is invoked. With TAB rebinded to 'ivy-partial', the command in step 7 is not invoked, but still no completions are showed.