From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: feature/icomplete-vertical Date: Mon, 5 Oct 2020 10:57:35 +0100 Message-ID: References: <20200912133311.6ujtgczj6wyclufy@Ergus> <20200920130435.heye7bk73pm252km@Ergus> <83sgbczj0i.fsf@gnu.org> <83lfh4zfml.fsf@gnu.org> <838sd4z6lz.fsf@gnu.org> <20201001164804.mqqyxtet4ttweuyv@Ergus> <83blhhdy3w.fsf@gnu.org> <87d01xghmt.fsf@gmail.com> <83sgatc8er.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bbe10d05b0e9834d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14395"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , Ergus , emacs-devel , Yuan Fu , Juri Linkov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 05 11:58:39 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 1kPNGR-0003aU-86 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 11:58:39 +0200 Original-Received: from localhost ([::1]:43752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPNGQ-0007V4-6s for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 05:58:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPNFf-0006fE-LK for emacs-devel@gnu.org; Mon, 05 Oct 2020 05:57:51 -0400 Original-Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:41526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPNFd-0003OZ-C4; Mon, 05 Oct 2020 05:57:51 -0400 Original-Received: by mail-il1-x129.google.com with SMTP id q7so1881806ile.8; Mon, 05 Oct 2020 02:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UE8V+JJTG5493dxFT2fJ3R8C4cXwBLmmOwUcYotuSCc=; b=jkBKPtLEIu0zaBcaz3Mo9wKmaRMTLvaMivSX7v/MO3NXgTpLIvRxa0s0JlfW9o2r+z BvZDmN/8yl4tcTv/VkxIpctCn2igJ765cx1P+4HTIb6V7SvWLpDonYQTjNcaOpE3VMiL 9kJzAhGHp6yLR4QX6FnznNs1FatCalDZozqj8eNDlnYSMuPt9x/qJc5n/a4zQS6yweZ9 2uKGz+LW1Cqg6rXDg/Z/YUbyK77qCI8lnZz2HN7cghzdh318+j6Rfval3KGmM1bypA89 wEu74q4RLB7PYNKAHOVSXErZ1aIx7pK8NE2/7Tazc0/OysHu9Rgpt2EkmQ2/1kARlMcN XoLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UE8V+JJTG5493dxFT2fJ3R8C4cXwBLmmOwUcYotuSCc=; b=CQmG4Jg1SE5nhe2CFN4nh8MLdvLxGt5nwEBJigJShXRqjpcjs5sN9Fcime2rAXvsR7 0Z+1T22uv2QaiVGkUtVd1Yfso4Ew39wQLxbyMkMN7JnPwbMbWjmool0S87wbK6V4QW2x Od/0W3PWGaMkdR7hlwGeFz5fxSZ6PCTuEPIYMxh3RbZGWxk4VuTxHitN++zwYFTVVXC0 Frcn9tJqDSJ9+0ip12lKQt87z6NfAMLkzLM2PZDElxvpcwPhX+dVLBI/zV/XCq1k5tL5 pTMIN7ecRRjJ91J9Lry8SthwTkNXy2jF414yti5wwxeq5aTwXdhr9GuwuFk3/Mw3YjI4 gs4g== X-Gm-Message-State: AOAM530cVOKeAbpLhVESYtNe+Dh+Jhi2vnkfXOkmosuzPJIouHsTo9+9 7ZjVbxkYXI2Tu1DlDkJY7+wf+Yr21ggn3tG++Bx0v+klFyU= X-Google-Smtp-Source: ABdhPJzA6A6dPr3yCtPcdqxmCyzSjjf4ErgIQPDBUOm57he97l8m4acQZoPPSmO0VxL/s4zl2pK78QQhpGvFVApj424= X-Received: by 2002:a92:8b41:: with SMTP id i62mr11310383ild.9.1601891867548; Mon, 05 Oct 2020 02:57:47 -0700 (PDT) In-Reply-To: <83sgatc8er.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::129; envelope-from=joaotavora@gmail.com; helo=mail-il1-x129.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:257097 Archived-At: --000000000000bbe10d05b0e9834d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 5, 2020 at 10:46 AM Eli Zaretskii wrote: > > > From: Jo=C3=A3o T=C3=A1vora > > Date: Mon, 05 Oct 2020 10:13:30 +0100 > > Cc: ghe@sdf.org, spacibba@aol.com, juri@linkov.net, casouri@gmail.com, > > emacs-devel@gnu.org > Or a lot of completion candidates. That's odd, I've been C-x C-f'ing to directories with "a lot" of files and I don't notice any problems. What size of "lot" did you have in mind? > My point is that enlarging the mini-window only works up to a limit. > So it cannot solve every case; eventually, you will need to truncate > the list of candidates in some way, and show to the user that the list > was truncated. Make sense. I do notice some truncation in the candidates in this new vertical mode I've been trying for a day or so, but I expect truncation of candidates anyway, so I haven't missed the feature of being shown explicitly that truncation is happening. Anyway, whoever is making this truncation happen (display engine?) should be the responsible for showing that warning hint. I don't see why it should be related to "candidates" or completion at all. Though maybe the responsible for the truncation can provide a way (a hook, a variable, a function?) for the user of the minibuffer to select the appropriate hint. My point here is that this variable/function shouldn't be called icomplete-truncation-hint, but rather mini-window-truncation-hint= . Hope I've explained myself, Jo=C3=A3o --000000000000bbe10d05b0e9834d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 5, 2020 at 10:46 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > F= rom: Jo=C3=A3o T=C3=A1vora <joao= tavora@gmail.com>
> > Date: Mon, 05 Oct 2020 10:13:30 +0100=
> > Cc: ghe@sdf.org, spacibba@aol.com, juri@linkov.net, casour= i@gmail.com,
> > =C2=A0= emacs-devel@gnu.org

> Or a lot of completion candidates.
<= br>That's odd, I've been C-x C-f'ing to directories with "= a lot" of files
and I don't notice any problems.=C2=A0 What siz= e of "lot" did you have in
mind?

> My point is that = enlarging the mini-window only works up to a limit.
> So it cannot so= lve every case; eventually, you will need to truncate
> the list of c= andidates in some way, and show to the user that the list
> was trunc= ated.

Make sense. I do notice some truncation in the= candidates in this new
vertical mode I've been trying for a = day or so, but I expect truncation of
candidates anyway, so = I haven't missed the feature of being shown
explicitly t= hat truncation is happening.=C2=A0 Anyway, whoever is making
this truncation happen (display engine?) should be the responsible for
showing that warning hint.=C2=A0 I don't see why it should = be related to
"candidates" or completion at all.

Though maybe the responsible for the truncation= can provide a
way (a hook, a variable, a function?) for the= user of the minibuffer to select
the appropriate hint.=C2= =A0 My point here is that this variable/function shouldn't
be called icomplete-truncation-hint, but rather mini-window-truncation-h= int.

Hope I've explained myself,
Jo= =C3=A3o

--000000000000bbe10d05b0e9834d--