From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: vertical fido-mode Date: Fri, 19 Jun 2020 09:53:12 +0100 Message-ID: References: <1704199899.1577092.1591806438580.ref@mail.yahoo.com> <1704199899.1577092.1591806438580@mail.yahoo.com> <13ec44ed-4b54-8d43-590f-709bd813fd01@yandex.ru> <795146083.1708851.1591826041689@mail.yahoo.com> <87y2ouldrr.fsf@mail.linkov.net> <52efa3bf-1efc-81d5-9c2d-4aefbfa5db5d@yandex.ru> <20200611132234.nbluayofcxh23cwg@ergus> <877dw5cqgb.fsf@mail.linkov.net> <4967aca0-5827-1ab9-dd13-65c50b060f05@yandex.ru> <877dw5badz.fsf@mail.linkov.net> <64474704-e58f-f4cf-88f1-63d26f8e2f3b@yandex.ru> <877dw4qbuu.fsf@mail.linkov.net> <87y2okm1gx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="98193"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , "emacs-devel@gnu.org" , "monnier@iro.umontreal.ca" , Dmitry Gutov To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 19 10:54:08 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 1jmCmm-000PQo-4K for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 10:54:08 +0200 Original-Received: from localhost ([::1]:35192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmCml-0007NQ-6U for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 04:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmCm6-0006vz-48 for emacs-devel@gnu.org; Fri, 19 Jun 2020 04:53:26 -0400 Original-Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:40571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmCm4-000811-HE for emacs-devel@gnu.org; Fri, 19 Jun 2020 04:53:25 -0400 Original-Received: by mail-io1-xd33.google.com with SMTP id q8so10391063iow.7 for ; Fri, 19 Jun 2020 01:53:24 -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:content-transfer-encoding; bh=HXeRzduN4qsww3Zq5IrslxcSglCEgzkO4NvCfLvhTlg=; b=A/3A2RgHRmwSWUjza4ZRfg50Ey6+j1RXXLg17jc1eATrEfBcY7ScbigPqhUo2v34nm Uls1xgP2Q9irIlIEX+WrsyIQHAl9T62UEU6xigl2QRlYuar8I6XOVsmO7nbx3e0EqJDw nNbcqtD2BZu8TMv80mZlW/TdEx663NS8CwQV7XOn8z9QA6wyWk5ZvRNTHZi13GUANh4L MjDfi0wRYNA3Jbdpyvg278APs6fB7BMOqA+M9uMu34tadZ7P6/GOCf6VASYi2cpbdfpw OlQJzmSKq9e0kt/1tMHHcyqmlQwI5j5GmhxPehGEY8TdGYHEtGKbvqzybkfML+agdVVx AQzQ== 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:content-transfer-encoding; bh=HXeRzduN4qsww3Zq5IrslxcSglCEgzkO4NvCfLvhTlg=; b=FvKmMnU4gjS7R3XNC4jBFw/mU7dbnodCDk4zM/4hDD6FNGuiHWFcfqpYcHYZ047xev 4YcrM6niSC4cvxnjhVGSsmZUygOeG38BwdPQaae8D6FIqXdf7gX+1H9zWwAqS3bFJ9MW xV+HGVS+9VkS4CyqOMgSMLTNNOolPBOl/Pb2fvoGPKj7vVNjVDYHF124ENvggwZiCMcQ u8M1fZu2zcOsw1gAMd6kO1tyfQoFim3zGKlUVzG18i+wyiKB0/USyr0cY7MacS4Oh3aW s4EGdbbnYp0hC8WkuBNcXhhV/laIOevC9DJSddfUMjgnMHDRhfHs4+qIjaDB/VWoeBXg VxEg== X-Gm-Message-State: AOAM531ps5K/x+I8l/PdoLux9jG8aGSzJEN0ZlrFpFcECqncBcIb7CUO hw2J2u/OkQuWapn1l7S4foC5I3fhUku1ZaoDt5o= X-Google-Smtp-Source: ABdhPJyC0glISgy3ZAbF+kO1vhO7fs3xZO2wqyq6zhYTAEPqZA5+WnnuJKhF76KxZB3EBe1oFXUWZrbQUOf4AHAjmJI= X-Received: by 2002:a6b:1d7:: with SMTP id 206mr3188406iob.138.1592556803313; Fri, 19 Jun 2020 01:53:23 -0700 (PDT) In-Reply-To: <87y2okm1gx.fsf@mail.linkov.net> Received-SPF: pass client-ip=2607:f8b0:4864:20::d33; envelope-from=joaotavora@gmail.com; helo=mail-io1-xd33.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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:252337 Archived-At: On Thu, Jun 18, 2020 at 11:53 PM Juri Linkov wrote: > > >> >> Or maybe it's possible to navigate history using completion lists? > >> > > >> > I'm not sure how that would look. > >> > >> Currently completion is performed on a set of all possible values. > >> In addition to this, completion could be performed on a set of > >> all previously entered values (history items), or on default items > >> (a list of the most useful values). This shows all 3 possibilities: > >> > >> (completing-read "Prompt: " > >> minibuffer-history nil nil nil > >> 'minibuffer-history > >> minibuffer-history) > >> > >> M-n - defaults list, M-p - history list, TAB - completion on history l= ist. > >> > >> In a normal minibuffer maybe there should be a key to switch between > >> normal completion, completion on defaults, and completion on history. > >> Also maybe another key to sort history items by recency/frequency > >> in the completion list. > > > > I think, you are starting to describe incremental reverse history searc= h, > > or C-r in normal minibuffers. It works in icomplete, too, but not too > > well in my opinion. Still, it's better to fix that than to reinvent th= e wheel. > > Actually I meant displaying a list of completions (no matter whether > in the *Completions* buffer or inline like in icomplete) based on > different sets of input data (on all possible values like default complet= ion, > or on all history items...) Sorry, Juri. Perhaps I read your email in a hurry. I'm not opposed to having new forms of navigating history or other collections of potential completions, of course. I was just mentioning that within the current completion interface, both the regular minibufer, Icomplete and Ido have ways to reach back to history items using "reverse-isearch". The regular minibuffer's is triggered by C-r and in Ido it's simply a question of typing something, then typing M-p, if I recall correctly. In Icomplete, C-r works , but what follows is not completely intuitive, IMO. It should be perfected. What I said for Icomplete goes for Fido, except that uses C-M-r because its C-r is used for something else. Jo=C3=A3o --=20 Jo=C3=A3o T=C3=A1vora