From: Dmitry Gutov <dmitry@gutov.dev>
To: Eshel Yaron <me@eshelyaron.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 47e313e9805: Unbind 'C-M-i' in Text mode
Date: Wed, 6 Dec 2023 16:33:44 +0200 [thread overview]
Message-ID: <5770145a-7c7b-f6e9-f004-9041f7e98657@gutov.dev> (raw)
In-Reply-To: <m1cyvjl9ie.fsf@sp-byods-145-109-54-47.wireless.uva.nl>
On 06/12/2023 15:56, Eshel Yaron wrote:
>> My preference would be "no annotation at all", if we're talking about
>> simple solutions.
>
> Fine by me. I'm attaching a simple patch that does that.
Thanks, pushed.
>> The fourth option was a newspaper emoji?
>
> Well, it's supposed to be a book, you get it with `C-x 8 RET book RET`.
Cool.
>> I think the more comprehensive approach here would be to implement
>> support for `:company-kind` in the default UI, and then return `text'
>> in that function.
>
> I agree, that would be nice in general and help here too. For this case
> I was also thinking about using the common part-of-speech of each word
> as its annotation (e.g. "n" for nouns, "v" for verbs...) but we don't
> get that information from the spelling dictionary, unfortunately.
Note that this implementation approach conflates presentation with
information. Symbolic values in company-kind with a pre-defined registry
allow showing icons in GUI and prettily-formatted letters in the terminal.
Being able to choose narrower categories sometimes could be handy, though.
prev parent reply other threads:[~2023-12-06 14:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <170099515102.15929.4538081255360222923@vcs2.savannah.gnu.org>
[not found] ` <20231126103911.6CEAFC25D5B@vcs2.savannah.gnu.org>
2023-11-29 19:11 ` master 47e313e9805: Unbind 'C-M-i' in Text mode Arash Esbati
2023-11-30 6:07 ` Eli Zaretskii
2023-11-30 7:40 ` Arash Esbati
2023-11-30 8:41 ` Eli Zaretskii
2023-11-30 10:46 ` Arash Esbati
2023-11-30 17:17 ` Juri Linkov
2023-12-05 23:26 ` Dmitry Gutov
2023-12-06 7:53 ` Eshel Yaron
2023-12-06 12:45 ` Dmitry Gutov
2023-12-06 13:56 ` Eshel Yaron
2023-12-06 14:33 ` Dmitry Gutov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5770145a-7c7b-f6e9-f004-9041f7e98657@gutov.dev \
--to=dmitry@gutov.dev \
--cc=emacs-devel@gnu.org \
--cc=me@eshelyaron.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).