From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Variable-width font indentation (was: What improvements would be truly useful?) Date: Tue, 06 Mar 2018 15:55:25 -0500 Message-ID: References: <87inaiss6l.fsf@web.de> <6FCF6ACA-4F29-4B6B-BE9D-D7130C6E9495@gnu.org> <87fu5moe4c.fsf@web.de> <877eqyocro.fsf@web.de> <83zi3uz4nb.fsf@gnu.org> <0b1dd3fa-e0b0-ed20-a256-dd92d1c1826f@dancol.org> <8bc3c4c7-dfc7-987a-95e7-bd309e2326c6@cs.ucla.edu> <03118DC0-39DA-4AB5-980E-A33809B9A5EE@raeburn.org> <83vaeas8uz.fsf@gnu.org> <837eqprxjx.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1520371463 29869 195.159.176.226 (6 Mar 2018 21:24:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2018 21:24:23 +0000 (UTC) Cc: emacs-devel@gnu.org, raeburn@raeburn.org, dancol@dancol.org, eggert@cs.ucla.edu To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 22:24:18 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 1etK45-0005SU-V0 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2018 22:24:06 +0100 Original-Received: from localhost ([::1]:58307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etK68-0007L2-Bv for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2018 16:26:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etJcX-0006YK-Nz for emacs-devel@gnu.org; Tue, 06 Mar 2018 15:55:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etJcW-0001Yz-SP for emacs-devel@gnu.org; Tue, 06 Mar 2018 15:55:37 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etJcM-0001Tr-8m; Tue, 06 Mar 2018 15:55:26 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1etJcL-0002pV-MX; Tue, 06 Mar 2018 15:55:25 -0500 In-reply-to: <837eqprxjx.fsf@gnu.org> (message from Eli Zaretskii on Tue, 06 Mar 2018 18:14:26 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:223380 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > It means, for one thing, that M-q can fill text with a smooth > > right margin. > > > > Has that been implemented yet? > No, not yet. But unless I'm missing something, doing that would be > relatively simple: we need a variant of justify-current-line which > will (a) compute the number of blanks as a float number, and (b) add a > 'display' property to each blank with an :align-to attribute computed > (in pixels) to produce the smooth right margin. If it is that easy, it means that we already have done more of this job than I thought we did. That would be good news. Would someone please implement this? Whenever the buffer has characters of different widths, it ought to fill them with attention to their widths. Once this is done, we can see what word-processing feature to add next. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.