From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Question about completion behavior Date: Thu, 10 Mar 2022 15:03:31 +0100 Message-ID: <20220310140331.xa53sex6wywkr56l@Ergus> References: <831qzbg5j2.fsf@gnu.org> <20220309101159.4k3uma2ztvldlqiz@Ergus> <20220309114654.zq3h3u47btmt7q2u@Ergus> <83tuc7e066.fsf@gnu.org> <87y21ji6ht.fsf@yahoo.com> <87lexiiqnk.fsf@yahoo.com> <20220310102157.wmmn7bkkdbux7aug@Ergus> <8735jqhxdr.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14023"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Eli Zaretskii , Po Lu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 10 15:06:25 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 1nSJQu-0003W1-K8 for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Mar 2022 15:06:24 +0100 Original-Received: from localhost ([::1]:44462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSJQt-00080O-Ai for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Mar 2022 09:06:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSJOw-00068T-3k for emacs-devel@gnu.org; Thu, 10 Mar 2022 09:04:22 -0500 Original-Received: from sonic310-14.consmr.mail.bf2.yahoo.com ([74.6.135.124]:33639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSJOt-0003Wr-QA for emacs-devel@gnu.org; Thu, 10 Mar 2022 09:04:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1646921056; bh=Kb9R4IBSvSchxNTHyaDj3eU40nOF/BByskLXNHKj/9k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=M0T0/vHlffYaST1El2+haJamqcvrMhHWOYrIYUv5CqTbBuerwl/swBmbZKd+YlqZDBrP08vVnDRu1JJA89bHIt3zT1SEYm0xxs/pP7mBBOCDRlCoD6qOJI59J89Ui4j4NbygLbCfiND08ZtWVm6zQdSkfaJo4Tu64EAh32XrPPJ2npKdt0LMRgyiHbbHEthaT9mFjMffTw3A76XFgD/agUuP43rOp1QTHmFSyT2z/buTScnZpdYWnWik25JbJ3y8scnMgJMiNriJcdmhCvAllJhcN5zYHq0eytgqfVrYYwLBWG3m+GmQ8U8J6DzCC1GtzuDZcVwdaS4Luw2WeMOMQA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646921056; bh=ucuAJj7lABtfsDeJ5sm5FT/MvmxZpq3LFGj391wHcnZ=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=LkQYbnjrZ17Y+SjVmigCKiFmGmX/BiBkf1sJy7+uj3XBT5oqX1ThDfyOJ50W/dsJHw9r6eqztcakNbinwkJuuS4aiG08f9lxPqYz6mEtEnUH/pI8G1pDhcCfcJiPcFpJJHM6gqno29cj/q6Pm5s3Z1TvQWwTogTO/JXfkI1fFumo1lAHotrr4C2etOp6xSGs/xqw03COPkufI5LcTNb4RKmtwFsyJ3S+iG+ULJG1t/KOfvjoUd/k5fLwuZtiAk8BoZsOW223QEwezXv0C53z171mRXpK9oBQl7xcyyt6Z9F/efeUBh7rW7pOxOtps9/qGlqfBHz3iXU1dJyC2AluPQ== X-YMail-OSG: lGGNT.0VM1ltB2NVNbVrI66whJ.e24pkAfKrJMLdOz6v8EQtrFMhOTChE4Ly9LN Rq961jDs7earesELYj8nSGy34FTHA6bbVnDBjhsTL2aViJAole7wg6maBOjpJy6f5S7I9xgAYWk. PKxRUGY91k.VjVWVzMhTu_Bsdp_DZ5QvxpxXIu1MwE_01NXZqgQyWZYlBNDlh_sAWUPRLAF3VEed UwYRZhpur_JwJO2FPwJq8U_jKM.6vLSh0zjrTa8ARKdbOCElvkYsaxGPnQBE7gjmGfk1p7NzM7W1 KymVRcSIUoBB7FDeK.7j5nwgZlB0ScSKkTv.YothXYjwHVmN7bAG9LahOqoH4V4lSP1gjp75oJgo ovXqwW85ftCHiYUpYy2aBAaNDnNZ.0bCgd9hVO2SdpH1GMr7jflBP7AlUzWS.treAg2fUjj2_8Jy UIeOKGc0BaqvPlTepmYSQa04UBLFFGJvRPSfFyqr2ZeNOVH1qk2nnbAHIrByC0GVnwGBQX5CkpyZ CSbouMplCxn.bBWMqezTtGNOGkkkccWtlnaV.3Df9NSYfWOxX_x1oD4Pev8GxSGg34WwwJqlX9va PbytKIFA9TOUTXHf6HIY.OJp7j8LkHFSuWho_me5S3mhUO366txQcYkIFFRyRk_Cjio.Yce5fAYn h5.SSjcHGlOeCU.QQtSwjYrxiQCuLlNSaGAgBISURAWd5AOcoNe.8QFDZTouieVK5F73mwkyrqDQ 1QSnoJOSGJWchfTZ2MJzgOCL9wBY74W_C31JrZ0At.7jYSuudJCNjFAov7VI84TRi2Gmoh3eZF1V 8cmTtMYuhrL2Gg_sUoAW9DoSVvlEatreOvBu.DOAt3 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Thu, 10 Mar 2022 14:04:16 +0000 Original-Received: by kubenode501.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c6f9f09ddf821f1ebff6fe8aae7cbdd1; Thu, 10 Mar 2022 14:04:11 +0000 (UTC) Content-Disposition: inline In-Reply-To: <8735jqhxdr.fsf@yahoo.com> X-Mailer: WebService/1.1.19878 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.135.124; envelope-from=spacibba@aol.com; helo=sonic310-14.consmr.mail.bf2.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, 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:286993 Archived-At: Hi: I just added a new branch feature/completions-customs. The changes there are minimal and finished in my opinion. Whenever any of the maintainers decide they can correct, fix, or merge into master. (there is a small issue with the reference in the manual, so please fix it, but I don't have any more time) The changes include the max-height for completion window, a completions-highlight-mode and the new values for completion-auto-help. == I didn't include the zcomplete-mode because I am not sure how to name it and didn't receive any feedback except from Juri. In total it is 53 lines and provides an interaction similar to zsh (as explained before) which may be very suitable for new users. Apart from that I am wondering if it makes sense to add an option to propertise/configure the Initial line in the Completions buffer (there is one to remove the help, but not the other) (for example to remove it or add properties like intangible, a face etc) could we also add a sort of counter there to indicate the total number of candidates? Best, Ergus.