From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron Newsgroups: gmane.emacs.devel Subject: Re: master 47e313e9805: Unbind 'C-M-i' in Text mode Date: Wed, 06 Dec 2023 08:53:29 +0100 Message-ID: References: <170099515102.15929.4538081255360222923@vcs2.savannah.gnu.org> <20231126103911.6CEAFC25D5B@vcs2.savannah.gnu.org> <75c363c1-0dfd-c223-74f1-d98af65b3094@gutov.dev> 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="39527"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 06 08:54:28 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 1rAmjk-000A5Y-61 for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Dec 2023 08:54:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAmiu-0005Zp-NR; Wed, 06 Dec 2023 02:53:36 -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 1rAmit-0005Zf-Br for emacs-devel@gnu.org; Wed, 06 Dec 2023 02:53:35 -0500 Original-Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAmir-0000eB-43 for emacs-devel@gnu.org; Wed, 06 Dec 2023 02:53:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1701849212; bh=mjEhUjs8jWED5zwQSg2bBkEWPwRz9jitSJg2j+9Ed3s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=xa3Ilaid49Syu+d1eTeS5l296MYd/clqM+Ia+npWtY7wsUMLt+Wq+gVn8EglKpL1R zWDOgpzCvfyd27CtZwES6ZXyhV8ErH+GoPIL2zls5MuPakUwYIhrrnpT/VS4g16NZP CfSKqP+9mEvRju4ggfsNWjvj+rNrhvGH5VTuPo6I+EoYrFYeHTvEbCfOokFeGYv6Tm h0iXhwQYnZkdkAT6Ym7TKcUMtGtRsmHwPf7GZQw0sC7B+IRS51bsaxjSVujicpEY4h 8rn//LHJGAelMKCqGVFMNBDRW3wV8cKU9OXBffGGs+fso7ryXOVdCBrziSMd+6VFyJ y0UlpelRZkZlg== In-Reply-To: <75c363c1-0dfd-c223-74f1-d98af65b3094@gutov.dev> (Dmitry Gutov's message of "Wed, 6 Dec 2023 01:26:41 +0200") X-Hashcash: 1:20:231206:dmitry@gutov.dev::DgXCvFaVtoej8co9:guZ X-Hashcash: 1:20:231206:emacs-devel@gnu.org::V7zP0LCHK0g6Vhdh:3hk2 Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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, SPF_HELO_PASS=-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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313549 Archived-At: Hi Dmitry, Dmitry Gutov writes: >> +(defun ispell-completion-at-point () >> + "Word completion function for use in `completion-at-point-functions'." >> [...] >> + (list beg end (cdr all) >> + :annotation-function (lambda (_) " Dictionary word") > > I have to say that "Dictionary word" is not a great annotation: it's > long, longer than most of the completions coming from that backend, so > these words, repeated, constitute most of the text inside the > Completions buffer. And it's the same string for all completions. I see what you mean. How do you feel about the following alternatives? - "Word" - "Dict" - "Spell"/"Ispell" - "=F0=9F=95=AE" - No annotation at all - One of the above, and make it configurable Thanks, Eshel