From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alex McGrath" Newsgroups: gmane.emacs.help Subject: Icomplete + flex completion + tramp - input is 1 character off Date: Tue, 13 Oct 2020 16:28:21 +0100 (IST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10134"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 13 18:05:06 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kSMnR-0002WF-SE for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Oct 2020 18:05:05 +0200 Original-Received: from localhost ([::1]:47108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSMnQ-0001Ny-UR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Oct 2020 12:05:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSME7-00050I-4W for help-gnu-emacs@gnu.org; Tue, 13 Oct 2020 11:28:36 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:48750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSME4-0001zy-4T for help-gnu-emacs@gnu.org; Tue, 13 Oct 2020 11:28:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=amk.ie; s=selector2; h=Message-Id:Date:Subject:To:From:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=UwYrb+Ri/Z4elVkyiCrSB7jXgrQb1JyX0LZUvfo5P1M=; b=t4p9u5Do0uGZUIXIOKK3U9d3eP PvC44S4WefsHzp28pnvaRLAtCGwW/zJbXXhH4ETDq3M/66wouoH3qAjNO6J7PMLRrXiJHZ+nFfqAd SbfJHA/R5FhCe6vGSwPI/r1/pWPhwdQSgRM0wU++j7qnXkhT2tiGIi6giWHxo/AGleJpNno8gzY0T iiHaoGANSmMdbi+572N7XOig64gr6RdCBVwraQo3AJeg5Rt2aQdAxXp62xUe/WZETvRPHqoTf1F62 S8Xg1QNQWMyjetXhbAIowdnB3g8ImsXU1tTu1+oTcmT6sycgw0t7I6cWFLmP1D++IgsoKxtt03Why j3uQiSbg==; Original-Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1kSMDt-00077b-7D for help-gnu-emacs@gnu.org; Tue, 13 Oct 2020 17:28:21 +0200 Original-Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1kSMDt-0005h5-3Y for help-gnu-emacs@gnu.org; Tue, 13 Oct 2020 17:28:21 +0200 Content-Disposition: inline Original-Received: from [Authenticated alias (942369)] by runbox.com with http (RMM6); for ; Tue, 13 Oct 2020 15:28:21 GMT X-RMM-Aliasid: 942369 X-Mailer: RMM6 Received-SPF: pass client-ip=91.220.196.211; envelope-from=amk@amk.ie; helo=aibo.runbox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/13 11:28:21 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 13 Oct 2020 12:03:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124450 Archived-At: Hi Emacs-Help, While using tramp with icomplete and flex, I get the following behaviour wh= en I try to browse files/folders with C-x C-f For example If i type in on my keyboard 'hello' the minibuffer will display= 'hell' but once I go back to editing local files it will work as expected. It also see= ms to start working again once. Once there are few enough completion candidates it seems to go back to work= ing as expected,=20 as a result I think directories containing a lot of files are the most affe= cted. I can reproduce it with the following cut down version of my config: -------- (package-initialize) (require 'use-package) (setq use-package-always-defer t) (use-package minibuffer :hook (after-init . minibuffer-depth-indicate-mode) ; recursion depth :config (setq enable-recursive-minibuffers t) (setq completion-styles '(partial-completion flex)) ) (use-package icomplete :hook (after-init . icomplete-mode) :config :bind (:map icomplete-minibuffer-map ("TAB" . icomplete-force-complete) ("C-n" . icomplete-forward-completions) ("C-p" . icomplete-backward-completions) ("" . icomplete-force-complete-and-exit!) ("RET" . icomplete-force-complete-and-exit!))) (icomplete-mode) ------- Thanks! Alex=