From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Extending the ecomplete.el data store. Date: Tue, 10 Apr 2018 22:47:21 +0200 Message-ID: <871sfm7pra.fsf@mouse.gnus.org> References: <87fu6hcm9r.fsf@red-bean.com> <87zi4lyisi.fsf@red-bean.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523393200 10565 195.159.176.226 (10 Apr 2018 20:46:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2018 20:46:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Emacs Devel To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 10 22:46:36 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f609z-0002bk-3l for ged-emacs-devel@m.gmane.org; Tue, 10 Apr 2018 22:46:35 +0200 Original-Received: from localhost ([::1]:44452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f60C4-0001Dc-TN for ged-emacs-devel@m.gmane.org; Tue, 10 Apr 2018 16:48:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f60BP-0001D1-N2 for emacs-devel@gnu.org; Tue, 10 Apr 2018 16:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f60BK-0001Rl-Ry for emacs-devel@gnu.org; Tue, 10 Apr 2018 16:48:03 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f60BK-0001Oi-Kl for emacs-devel@gnu.org; Tue, 10 Apr 2018 16:47:58 -0400 Original-Received: from 46.67.78.217.tmi.telenormobil.no ([46.67.78.217] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f60B9-0005RM-FW; Tue, 10 Apr 2018 22:47:49 +0200 In-Reply-To: <87zi4lyisi.fsf@red-bean.com> (Karl Fogel's message of "Tue, 06 Feb 2018 14:17:33 -0600") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224503 Archived-At: Karl Fogel writes: > I think you're conflating the storage format with the in-session UI > behavior. Ecomplete can continue to throw away all but the most > recent variant, if it wishes. Yeah, I think you're right. Storing all the variations but making the selection algorithm Do What I Mean is probably the best choice here, and leads to the fewest corner cases and surprises. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no