From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: A solution to display completion candidates after point in a minibuffer Date: Sat, 03 Oct 2020 11:07:07 +0300 Message-ID: <834knbhgwk.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 03 10:07:43 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOcZy-0003Wv-Ld for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Oct 2020 10:07:42 +0200 Original-Received: from localhost ([::1]:47958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOcZx-0005Ap-MN for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Oct 2020 04:07:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOcZT-0004lA-4q for emacs-devel@gnu.org; Sat, 03 Oct 2020 04:07:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51318) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOcZS-0007WL-0S; Sat, 03 Oct 2020 04:07:10 -0400 Original-Received: from [176.228.60.248] (port=3213 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOcZR-0001Cn-3q; Sat, 03 Oct 2020 04:07:09 -0400 In-Reply-To: (emacs-devel@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256989 Archived-At: > Date: Fri, 02 Oct 2020 21:30:15 +0000 > cc: emacs-devel@gnu.org > From: Gregory Heytings via "Emacs development discussions." > > In fact I think this example demonstrates a (minor) bug in Emacs, given > that the exact same code gives a different behavior with different > versions of Emacs. The Emacs display code is stable, but it does evolve, and bugs are being fixed regularly. So it doesn't surprise me that something works differently between two different versions, especially in code that attempts to supplant the display engine instead of letting it do its job. That being said, writing code that works around redisplay does need a good understanding of why things work like they do, and the above might not be due to some bug that was fixed, but due to something else entirely. Waving the need to understand what goes on could well get us in trouble down the road.