From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] New packages: corfu-doc and corfu-doc-terminal Date: Sat, 28 May 2022 18:03:18 -0400 Message-ID: References: <87czfxu7be.fsf@disroot.org> <874k19tya1.fsf@disroot.org> <871qwdtnbd.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Yuwei Tian To: Akib Azmain Turja Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 29 00:05:06 2022 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 1nv4YT-0001pN-Li for ged-emacs-devel@m.gmane-mx.org; Sun, 29 May 2022 00:05:05 +0200 Original-Received: from localhost ([::1]:56234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nv4YS-0004nF-7L for ged-emacs-devel@m.gmane-mx.org; Sat, 28 May 2022 18:05:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv4Wt-00045M-Ha for emacs-devel@gnu.org; Sat, 28 May 2022 18:03:29 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:45299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv4Wq-0005zW-Ha for emacs-devel@gnu.org; Sat, 28 May 2022 18:03:26 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2403E80799; Sat, 28 May 2022 18:03:22 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CAED38076B; Sat, 28 May 2022 18:03:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1653775400; bh=ZtfFWd1AnBkRkhX1aCtvMLlwy7sXsQU1KJhd3M4Rwbc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SSXMfymBLSxErZSVbRFomtu7OpyA5U5iVu+nQCIB4wH0MGZyHfPQqCgbI6VHYIObp yStLi36EL2xP0J72Jh3IkAiuBKpbk079PSGPSlMT06cp4f0zHxOz5aYBUuD/8+6lXq zBFF6GU3013vw4zZA/dCDC0SdfPoiW1Fg+Yo14ZIl7AHrlaTAjcOWqZhVgOqpCqyv5 aPMLpB5FFf3m8rj4YlqEwZRiCvOslOGVh5uwtJpqaxbaGWfxL/j5WAQuWwmPSgiR1H FeUl4uPUhp8OLrSuV9vT18MDGL8/yAIgMaEZ0QJznVdUseYCEHGPdwimIsPJ1Aye80 6DPgmlPn5svdw== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5B1A712033F; Sat, 28 May 2022 18:03:20 -0400 (EDT) In-Reply-To: <871qwdtnbd.fsf@disroot.org> (Akib Azmain Turja's message of "Sun, 29 May 2022 02:27:34 +0600") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:290350 Archived-At: Akib Azmain Turja [2022-05-29 02:27:34] wrote: > Stefan Monnier writes: >>> example, I asked Corfu's author if it is possible to add corfu-terminal >>> to Corfu as an extension, but he said no just because of the extra Popon >>> dependency, which I intentionally extracted out of corfu-terminal to let >>> others use it) >> >> But once the API is available corfu can make use of it without adding >> a dependency on `popon`. > > But that would need Corfu to add a dependency that API, Most likely it could use this API without depending on it (i.e. use it if available and fallback on the existing code if not). > unless that API is a part of Emacs distribution. That'd be the plan, yes. > Yeah, it is probably better to spend the effort here No: even if/when we'll get C-level support for such things in ttys, there will *still* be a need for an API that lets packages like corfu stop worrying about whether the output goes to a tty or a GUI. Stefan