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: Inline completion preview Date: Fri, 27 Oct 2023 12:49:40 +0100 Message-ID: References: <83h6mdfcv2.fsf@gnu.org> 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="26122"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eshel Yaron , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 27 13:50:54 2023 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 1qwLMc-0006db-NI for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Oct 2023 13:50:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwLLj-0000vE-LR; Fri, 27 Oct 2023 07:49:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwLLh-0000ul-5D for emacs-devel@gnu.org; Fri, 27 Oct 2023 07:49:57 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwLLf-0007PH-LC; Fri, 27 Oct 2023 07:49:56 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-507bd19eac8so2913283e87.0; Fri, 27 Oct 2023 04:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698407393; x=1699012193; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TnXclu/2rWsjp91UoTTLZj2m75+3zDoO5T5ug/431CQ=; b=gw/a3UU/zOH2pTNhjlSwixEgYpae1PaeHr+ocrfe1vOMqUtPYSCzk8hd7cr4iFRzHc 2q/8ViXZtZ7B8sUGIyAU/KDlzmgsXQBVZXNDueGYfeaqAuhRY1gXVNHEzVsyUs3zuU+L zXXLEGSzmHRR95FrSugeV2ziiAd/6ieuS/oSBU0SKCHWu1gpT6pd9vEIpxbFydbMShDU K+rUCMHD9ntVDD0MMjaET3PIxFYsPZctI2qjqCzxI/4wXKU/1TO+ipBPWejGnS898Bl5 d/COdCREq+SAW/fkQiZdo7Tbbm0q/5XdykkrkpvxduVsYaEP67QPqUOJTkfB3CxUfrrz LMyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698407393; x=1699012193; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TnXclu/2rWsjp91UoTTLZj2m75+3zDoO5T5ug/431CQ=; b=WwFcjhBrjnu/aMZxh9uSTu3syPjf/NT8W3yMWbkL0RyRVsZ95shjz9wrsSX/8l1vX/ SDtDL9J9HFiWsa8HHdqEub7afAX4p5xfk6BDSQdZha4MhVryUF00UEIRscrS3/shP0t4 TOqC0GMC+ehvlqDjaJCC176U3WVkB66YAsx+tsYqauj3wRaDA14MinYwfo3rK/tbE3f4 nJR3zYXNQDtfKR9GpFq+aexx+x5SuicFnuChR5qh5/6/U07zM0Cs7RsFj685///iHGl8 vo5nh1RdcOmgnFZNRdAzXbyuc5uPvAUX9RTWW7uzWSfmmIzNgQLr8tJCIzh6/sUEj12P tTXg== X-Gm-Message-State: AOJu0YzxeyWOQRypIEoJERvCPXjLHQjhkaH2ShMvrqgW0qHoVhayAe/L 8hAYayCRxM+G/Jy40vhcNpIgoMv1vpPikrtdK9LvHBN0dKM= X-Google-Smtp-Source: AGHT+IFh0dBg6S4tB/OOubIyEPoz0e+L34aj7XEguxAAGsrEbcxxWwgYczn2q86zbW2brXaU66wlqPCp0ZA+OWfTwjM= X-Received: by 2002:ac2:5470:0:b0:503:3890:ca3a with SMTP id e16-20020ac25470000000b005033890ca3amr1610554lfn.66.1698407392354; Fri, 27 Oct 2023 04:49:52 -0700 (PDT) In-Reply-To: <83h6mdfcv2.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x134.google.com 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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311928 Archived-At: On Thu, Oct 26, 2023 at 7:38=E2=80=AFPM Eli Zaretskii wrote: > > > From: Eshel Yaron > > Date: Thu, 26 Oct 2023 20:11:17 +0200 > > > > I want to propose adding an inline completion preview mechanism to Emac= s. > > > > By inline completion preview, I mean an overlay that pop ups after poin= t > > showing one of the candidates for at-point completion. You can view > > this mechanism as giving you a hint or suggesting a certain completion. > > I wish people would work on adding to Emacs some a GUI infrastructure > for showing such completion candidates like other IDEs do, instead of > once again using overlays with after-string properties. The result of > using overlay strings is simply not visually appealing, and on top of > that it causes quite a few complications for the display code. I think agree with this, but it should work with Non-GUI Emacs, too right? In a TUI Emacs, there have been these nice pop-up menus for a while. At fi= rst sight the display infrastructure being used there seems suitable for showin= g completions, so I wonder if that infrastructure couldn't be refactored then reused for a completion popup in core. Jo=C3=A3o