From: Dmitry Gutov <dgutov@yandex.ru>
To: "João Távora" <joaotavora@gmail.com>
Cc: 45260@debbugs.gnu.org, "Omar Antolín Camarena" <omar@matem.unam.mx>
Subject: bug#45260: 28.0.50; Maybe flex should only sort when there is no sorting metadata?
Date: Tue, 28 Sep 2021 02:40:07 +0300 [thread overview]
Message-ID: <e4da0c91-cfc4-0a24-6db6-7995b90438d2@yandex.ru> (raw)
In-Reply-To: <CALDnm52++Vs49nVVTCWHY0gF-nph3t+k0+jd2h_B2Qfr-sNK7Q@mail.gmail.com>
On 28.09.2021 02:25, João Távora wrote:
> On Tue, Sep 28, 2021 at 12:12 AM Dmitry Gutov <dgutov@yandex.ru> wrote:
>
>> Please go ahead and fix your own code in any way you like.
>>
>> Here's an example of user confusion that the current behavior invokes:
>>
>> https://github.com/company-mode/company-mode/discussions/1223#discussioncomment-1387929
>
> That's a very large discussion with lots of company-mode-specific details.
> Can you post an example of Emacs -Q where Emacs does something that
> would you would not like it to do? That's a bare minimum for discussion
> to resume here.
It's an example of a user trying to write a completion table (to be
consumed by company-capf, as they usually are) with sorting logic and
tripping over the flex style overriding it.
> If you just wish to haphazardly shoot some issue reference to vaguely
> blame my work for your company-mode troubles or frustration, I think
> that's a very petty thing to do. If not, please collaborate.
The problem is more or less understood: flex overriding the sorting
logic even if it's defined in the table.
There is no point in me retelling the discussion. It is itself a piece
of evidence for the problem existing. Maybe not categorical evidence,
but evidence nevertheless.
You should read it (the last few messages will suffice).
> I think I explained that flex has certain semantics regarding sorting.
> Yes, those are the semantics that I like when I created it.
> I think I've also explained that if you don't like those semantics you
> can utilize functions to create a new completion style with semantics
> that you like. I even offered to help you do that. But then again,
> I have no idea what you are bringing up in that link.
flex is popular enough. People use it. I end up having to diagnose
people's problems.
Having many similar-but-slightly-different styles available is unlikely
to reduce my support burdens.
next prev parent reply other threads:[~2021-09-27 23:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-15 18:47 bug#45260: 28.0.50; Maybe flex should only sort when there is no sorting metadata? Omar Antolín Camarena
2021-08-17 10:41 ` João Távora
2021-08-17 12:42 ` Dmitry Gutov
2021-08-17 14:05 ` João Távora
2021-08-17 14:49 ` Dmitry Gutov
2021-08-17 15:27 ` Omar Antolín Camarena
2021-08-17 16:58 ` João Távora
2021-08-17 16:38 ` João Távora
2021-09-27 23:11 ` Dmitry Gutov
2021-09-27 23:25 ` João Távora
2021-09-27 23:40 ` Dmitry Gutov [this message]
2021-09-28 0:36 ` João Távora
2021-09-28 0:39 ` João Távora
2021-09-28 12:38 ` Dmitry Gutov
2021-09-28 16:09 ` João Távora
2021-09-28 16:30 ` Dmitry Gutov
2021-09-28 22:17 ` João Távora
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=e4da0c91-cfc4-0a24-6db6-7995b90438d2@yandex.ru \
--to=dgutov@yandex.ru \
--cc=45260@debbugs.gnu.org \
--cc=joaotavora@gmail.com \
--cc=omar@matem.unam.mx \
/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).