From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Fri, 15 Mar 2019 21:30:18 +0200 Message-ID: <83h8c4ylyt.fsf@gnu.org> References: <82dbc0e0-26e2-4137-bd63-127bcbade3c1@default> <83k1h0yp66.fsf@gnu.org> <12910fc2-5a03-4eb7-9c4d-0f461492f6cb@default> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="80818"; mail-complaints-to="usenet@blaine.gmane.org" Cc: spacibba@aol.com, esq@lawlist.com, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 15 20:35:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4scP-000KrM-9G for ged-emacs-devel@m.gmane.org; Fri, 15 Mar 2019 20:35:49 +0100 Original-Received: from localhost ([127.0.0.1]:60408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4scO-00063t-87 for ged-emacs-devel@m.gmane.org; Fri, 15 Mar 2019 15:35:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4sbx-0005af-IG for emacs-devel@gnu.org; Fri, 15 Mar 2019 15:35:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4sXO-0001Yn-Ct; Fri, 15 Mar 2019 15:30:38 -0400 Original-Received: from [176.228.60.248] (port=4920 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h4sXM-00063Z-Ez; Fri, 15 Mar 2019 15:30:37 -0400 In-reply-to: <12910fc2-5a03-4eb7-9c4d-0f461492f6cb@default> (message from Drew Adams on Fri, 15 Mar 2019 19:18:11 +0000 (UTC)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:234185 Archived-At: > Date: Fri, 15 Mar 2019 19:18:11 +0000 (UTC) > From: Drew Adams > Cc: spacibba@aol.com, emacs-devel@gnu.org, esq@lawlist.com > > I understood that the simple fill-column indicator > feature is not a more general feature, and it is not > waiting for the fake-cursors feature. My questions > were about further possibilities and (perhaps) basing > them on some common building blocks. It is not about waiting, it's about the best design for each feature. One of the features is similar to a cursor: it moves by user commands, and can in principle be repositioned at every redisplay cycle. The other is entirely unlike a cursor: its position is more or less fixed, and changes very rarely, if at all. This fundamental difference leads to 2 different designs and implementations, conflating which is IMO not a good idea. Cursor drawing is implemented in Emacs in a way that is very different from normal glyph display, something that is justified by its frequently-moving nature and the fact that there's only one cursor per window. The indicator discussed here is a very different creature.