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: How to make Emacs popular again: Use monospaced fonts less Date: Thu, 15 Oct 2020 21:49:10 +0300 Message-ID: <83v9fbwcih.fsf@gnu.org> References: <87tuv1f2y9.fsf@gnus.org> <87o8l9f1dl.fsf@gnus.org> <83lfgc50gb.fsf@gnu.org> <875z7gflpl.fsf@gnus.org> <83imbf2xux.fsf@gnu.org> <87lfgbarkk.fsf@gnus.org> <83zh4q195b.fsf@gnu.org> <87sgah1mjz.fsf@gnus.org> <83r1q0zwlp.fsf@gnu.org> <837drszozo.fsf@gnu.org> <83lfg7y4ka.fsf@gnu.org> <83d01jy35d.fsf@gnu.org> <83a6wny1oh.fsf@gnu.org> <83362fxwld.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 15 20:50:34 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 1kT8Kg-0003vr-F7 for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 20:50:34 +0200 Original-Received: from localhost ([::1]:52030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT8Kf-0002uh-G4 for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 14:50:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT8JP-0001rf-Pl for emacs-devel@gnu.org; Thu, 15 Oct 2020 14:49:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56237) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT8JP-0007mX-2X; Thu, 15 Oct 2020 14:49:15 -0400 Original-Received: from [176.228.60.248] (port=4361 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kT8JO-0007RM-Bh; Thu, 15 Oct 2020 14:49:14 -0400 In-Reply-To: (message from Stefan Monnier on Thu, 15 Oct 2020 14:31:43 -0400) 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:257756 Archived-At: > From: Stefan Monnier > Cc: larsi@gnus.org, emacs-devel@gnu.org > Date: Thu, 15 Oct 2020 14:31:43 -0400 > > (put-text-property (1- END) END 'relative-end-position (list START 50)) > > could mean something like "make sure that END ends up exactly 50 pixels > more to the right than the horizontal pixel position of START". > > This way, it could be used for indentation relative to some position > START in some previous line. So you now expect the display engine to look back at previous lines, not just previous glyphs on the same screen line? That's against the heart of the design of the display code: it is required to be able to start at any point in the buffer text, and go from there forward one buffer position at a time. The need to go back sometimes is one reason why displaying long lines brings Emacs to its knees. > Sadly, this email format does not include any notion of margin, so > I can't include the simple&elegant implementation of that feature here. Looking forward to seeing that implementation soon in a Git repository near me.