emacs-devel
[Top][All Lists]
Advanced

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

Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package


From: Eli Zaretskii
Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico
Date: Sun, 11 Apr 2021 21:23:00 +0300

> From: Philip Kaludercic <philipk@posteo.net>
> Cc: dgutov@yandex.ru,  emacs-devel@gnu.org
> Date: Sun, 11 Apr 2021 19:39:39 +0200
> 
> >> But why should that mean that both interfaces should be identical?  It
> >> seems cleaner to instead have a sr->cr translation layer, as to prevent
> >> unnecessary dependencies between the two interfaces?
> >
> > I don't understand what you mean by "translation layer".
> 
> completing-read has it's existing interface, and let's say that
> selecting-read would not try to copy this interface 1:1. Instead a third
> function could attempt to "translate" completing-read calls into
> selecting-read calls, reducing the complexity of selecting-read.

That's possible if necessary, but is not the best solution.  It is
better not to need any translation at all, I hope you will agree.



reply via email to

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