From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [ELPA] New package: transient Date: Mon, 4 May 2020 10:31:49 -0700 (PDT) Message-ID: References: <87368npxw4.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <20200429101755.GF24737@tuxteam.de> <838sicw4do.fsf@gnu.org> <83zhaqu89z.fsf@gnu.org> <83sggiu2p9.fsf@gnu.org> <83r1w2s9wi.fsf@gnu.org> <83v9leqmss.fsf@gnu.org> <83zhapoz63.fsf@gnu.org> <0a13f7e1-61c7-1e78-22bc-a27c15c269e7@yandex.ru> <83h7wxotix.fsf@gnu.org> <18096f9a-c617-f37b-cdaa-1a6198db2e1c@yandex.ru> <83a72porka.fsf@gnu.org> <83lfm7ok1j.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="ciao.gmane.io:159.69.161.202"; logging-data="99567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, dgutov@yandex.ru, monnier@iro.umontreal.ca, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 04 19:34:31 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 1jVez8-000PnB-Rb for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 19:34:30 +0200 Original-Received: from localhost ([::1]:42086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVez7-0005uU-UK for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 13:34:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVewg-0002yg-NW for emacs-devel@gnu.org; Mon, 04 May 2020 13:31:58 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:43048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVewe-0000T0-Rh; Mon, 04 May 2020 13:31:58 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 044HN56S097973; Mon, 4 May 2020 17:31:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=8AZsKHSFp1jNE1uhsRZ/j9LRVo5o7/KV0bXWfLd9EVw=; b=iND2cYPtvrCnZS+Jkm+tWdUk7bm6UCvQ7YXtv4ingAzWY5CkHIIQq2rtaYHGLpUe4W4c JRF3Rk9aFwX/jvY1DbwXgpIoZVLdm4r1qEQmBsc98N81lyx13RmKEyXbx5zVTJgjgdsR bxsKKWtGgSTpKBfwplyWtI7EU29clP+WV/5ijbBy4J/rW8fAvfD5ZDXh+M1oZDJB72b8 ocib1vc9oOOdVF88qzUtMgilb01ZyIllXoitYc67hYJy1Ov8VTjwxMIDbwfgt1P16vDn /y5t+djsv91T3n9FLz89WsgZQoofKZ5UEQu+EaiVEutAmLNgIKYgMHqJpc50hjJLgr3N ZQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 30s0tm8aff-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 May 2020 17:31:53 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 044HMhk0188158; Mon, 4 May 2020 17:31:53 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 30sjdr07ch-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 May 2020 17:31:53 +0000 Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 044HVo5D005439; Mon, 4 May 2020 17:31:50 GMT In-Reply-To: <83lfm7ok1j.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9610 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=18 mlxscore=0 bulkscore=0 adultscore=0 phishscore=0 mlxlogscore=694 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005040138 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9610 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 suspectscore=18 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=730 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005040138 Received-SPF: pass client-ip=141.146.126.78; envelope-from=drew.adams@oracle.com; helo=aserp2120.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/04 12:52:00 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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:248878 Archived-At: > I don't know how to solve this contradiction, but if we want our > completion to be a better tool, we should do something about these > conflicting goals. Exactly. Completion is many things, with many uses. In one use case you want to see all such functions; in another case you don't. For code completion, you are mostly interested in prefix completion (the prefix being the text just before point). For `C-h f' and other help commands you might be interested in substring completion. And so on. There are many, many possibilities. And then there's the question of whether it's only a completion candidate as a name (string) or a completion candidate as a key-value pair (e.g. alist entry), where the value part can offer rich info. (Or a propertized string candidate. Or a symbol with plist data. Or...) And that's just completion. When it comes to doc/help, there are as many possibilities: reference, API ref, guide, tutorial, video,...