From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Support "\n" in icomplete-separator Date: Sun, 8 Nov 2020 23:50:00 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22146"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: emacs-devel@gnu.org To: Andrii Kolomoiets Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 08 22:53:37 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 1kbscz-0005gl-1u for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 22:53:37 +0100 Original-Received: from localhost ([::1]:48348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbscy-0001UH-4U for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 16:53:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbsZg-0007Yb-Et for emacs-devel@gnu.org; Sun, 08 Nov 2020 16:50:12 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:51985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbsZe-0007KO-N9 for emacs-devel@gnu.org; Sun, 08 Nov 2020 16:50:12 -0500 Original-Received: from localhost ([::ffff:197.157.34.177]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C000F.000000005FA867F1.00007453; Sun, 08 Nov 2020 21:49:36 +0000 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 16:49:27 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:258930 Archived-At: * Andrii Kolomoiets [2020-11-08 23:29]: > Jean Louis writes: > > > * Andrii Kolomoiets [2020-11-06 15:41]: > >> Jean Louis writes: > >> > >> > Maybe you can also improve ido-mode to work vertically? > >> > >> Back in the days when I was the ido user, ido-vertical-mode works fine > >> for me. It's available on MELPA. > > > > There is difference when feature is built in. > > Did you try to set the 3rd element of 'ido-decorations' or > 'ido-separator' to "\n"? Looks like ido-mode doesn't calculate how many > completions will fit into minibuffer. Completions count is specified by > the 'ido-max-prospects' variable. ido-separator is a variable defined in ‘ido.el’. Its value is nil This variable is obsolete; set 3rd element of `ido-decorations' instead. You can customize this variable. because it is obsolete I did not try using it. I tried with the 3rd element in ido-decorations Now when I try using it, it somehow works. I just forgot to use C-n C-p as C-. and C-, could be remapped. It is not as user friendly. If I search for something (in that vertical ido mode) then I typed few letters, but if I move back and forth and wish to complete selection those few typed letters still remain there and I have to delete them. Somehow it works, depends of familiarity. I know that ido-mode would be complex and sensitive to people who need to work with my database as education level in this country is not for commendation. But in general I see it works. I did not try on large collections and I do not know how to reverse the order of words.