From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.devel Subject: Re: Allowing completion sources to customize completion display Date: Thu, 23 Nov 2023 14:03:37 +0000 (UTC) Message-ID: <87zfz4in31.fsf@catern.com> References: <831qcghn52.fsf@gnu.org> <87bkbkk5lk.fsf@catern.com> <83zfz4funf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9278"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: me@eshelyaron.com, sbaugh@janestreet.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 23 15:04:46 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 1r6AJx-00028S-Bp for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Nov 2023 15:04:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6AJB-0002yR-Rk; Thu, 23 Nov 2023 09:03:57 -0500 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 1r6AJ8-0002xi-Rl for emacs-devel@gnu.org; Thu, 23 Nov 2023 09:03:55 -0500 Original-Received: from s.wrqvwxzv.outbound-mail.sendgrid.net ([149.72.154.232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6AJ5-00030R-KF for emacs-devel@gnu.org; Thu, 23 Nov 2023 09:03:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:in-reply-to:references:mime-version:to:cc:content-type: content-transfer-encoding:cc:content-type:from:subject:to; s=s1; bh=KC51HtB25geAH9AFPFcgDzvDmovVczKFmBXuLlFsK00=; b=p2AWl56V0+HMmHU1MdrVdSXXukLtV/Na3DlGVckE4NUilbqG2PqTo31atGrVMs06N44l oZ67+VWQqUmJfPwQqubciLUfG6r246hp7XepKmqhdQcma+29wZbFzxV0z8WCOw3Mz6IhC4 V1Wlb6sRRBELEz8FEWzTeVGYnBdFEGN29lktpI2V2LH7DjxvZgYuoHoFgElDslxd4YkKth cmuAij7O2xHNf55PpxPtKyy9JJgAzShRZaObl4fRGvw+IyV6QGuNSdk9pekDL3GQ8+QRfI dCQUkvhhGncX3xUMXMTKIlph3KRsgssXsFmt4VcUa/5+glk+nRpzg3ODG6VCdpCA== Original-Received: by filterdrecv-b85775b64-rmgnt with SMTP id filterdrecv-b85775b64-rmgnt-1-655F5BB9-36 2023-11-23 14:03:37.634815364 +0000 UTC m=+3180162.351728321 Original-Received: from earth.catern.com (unknown) by geopod-ismtpd-56 (SG) with ESMTP id QCkWoxZtRMy1YF1QcXbnAA Thu, 23 Nov 2023 14:03:37.339 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.101.51.129; helo=localhost; envelope-from=sbaugh@catern.com; receiver=gnu.org Original-Received: from localhost (unknown [74.101.51.129]) by earth.catern.com (Postfix) with ESMTPSA id 4FE4E633B9; Thu, 23 Nov 2023 14:03:14 +0000 (UTC) In-Reply-To: <83zfz4funf.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 Nov 2023 15:48:04 +0200") X-SG-EID: =?us-ascii?Q?ZgbRq7gjGrt0q=2FPjvxk7wM0yQFRdOkTJAtEbkjCkHbJ8BJE5VkptAi8AqULm6p?= =?us-ascii?Q?wh8afXfbSejQVXAvAgDa9JR6o0+NrjUNtIKV0=2F9?= =?us-ascii?Q?waM8jHvrKto9Ejit=2FW7dMZNUI5DtojbzXjEACpp?= =?us-ascii?Q?SZYsLm3w=2F6TPLiS6+d8rT21L37iKXPno194DFkD?= =?us-ascii?Q?a6LVNaE+kOFiW9ETs6pVDWa27+=2FmPpsN5UA=3D=3D?= X-Entity-ID: d/0VcHixlS0t7iB1YKCv4Q== Received-SPF: pass client-ip=149.72.154.232; envelope-from=bounces+21787432-489d-emacs-devel=gnu.org@em8926.catern.com; helo=s.wrqvwxzv.outbound-mail.sendgrid.net X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 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_BL_SPAMCOP_NET=1.347, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=no 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:313154 Archived-At: Eli Zaretskii writes: >> From: sbaugh@catern.com >> Date: Thu, 23 Nov 2023 12:38:22 +0000 (UTC) >> Cc: Eshel Yaron , sbaugh@janestreet.com, >> emacs-devel@gnu.org >> >> Eli Zaretskii writes: >> > >> > IMNSHO, it will be a sad day when different completion sources will >> > present different completion UI. There will be no end to user >> > confusion. >> > >> > Completion UI is a user preference, and if we want to support >> > different UIs (as we already do), we should leave it to the user to >> > specify the UI he/she prefers, and then abide by that. >> >> Sure. I, as a user, want to specify two different UIs for two different >> completion sources. >> >> Currently this is impossible. > > It shouldn't be possible. Users should not need to be aware of the > completion sources. Why not? I just explained a use case where users are definitely already aware of the completion sources, and Eshel mentioned another one.