emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing completion sources to customize completion display


From: Eli Zaretskii
Subject: Re: Allowing completion sources to customize completion display
Date: Thu, 23 Nov 2023 16:35:49 +0200

> From: sbaugh@catern.com
> Date: Thu, 23 Nov 2023 14:03:37 +0000 (UTC)
> Cc: me@eshelyaron.com, sbaugh@janestreet.com, emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >> From: sbaugh@catern.com
> >> Date: Thu, 23 Nov 2023 12:38:22 +0000 (UTC)
> >> Cc: Eshel Yaron <me@eshelyaron.com>, sbaugh@janestreet.com,
> >>    emacs-devel@gnu.org
> >> 
> >> Eli Zaretskii <eliz@gnu.org> writes:
> >> >
> >> > IMNSHO, it will be a sad day when different completion sources will
> >> > present different completion UI.  There will be no end to user
> >> > confusion.
> >> >
> >> > Completion UI is a user preference, and if we want to support
> >> > different UIs (as we already do), we should leave it to the user to
> >> > specify the UI he/she prefers, and then abide by that.
> >> 
> >> Sure.  I, as a user, want to specify two different UIs for two different
> >> completion sources.
> >> 
> >> Currently this is impossible.
> >
> > It shouldn't be possible.  Users should not need to be aware of the
> > completion sources.
> 
> Why not?  I just explained a use case where users are definitely already
> aware of the completion sources, and Eshel mentioned another one.

You _can_ be aware of the source, but we must not _require_ users to
be aware.  If the user is NOT aware, he/she will not be able to set up
the UI according to the source.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]