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: Variable pitch text filling Date: Fri, 03 Dec 2021 08:58:29 +0200 Message-ID: <83pmqe899m.fsf@gnu.org> References: <87ilwft1ph.fsf@gnus.org> <87wnkojmny.fsf@gnus.org> <837dcos1oy.fsf@gnu.org> <87o860jm27.fsf@gnus.org> <831r2ws0jf.fsf@gnu.org> <87fsrcjkik.fsf@gnus.org> <83y254qkq3.fsf@gnu.org> <87y254i56e.fsf@gnus.org> <83tufsqkd3.fsf@gnu.org> <87tufsi3x7.fsf@gnus.org> <83o860qi1i.fsf@gnu.org> <87czmgi2ec.fsf@gnus.org> <83lf14qgpu.fsf@gnu.org> <87fsrcgmdu.fsf@gnus.org> <83ilw8qg2s.fsf@gnu.org> <874k7sglur.fsf@gnus.org> <83fsrcqeq2.fsf@gnu.org> <874k7ro20z.fsf@gnus.org> <83r1avpf6g.fsf@gnu.org> <87tufrl70i.fsf@gnus.org> <063c14ec-b60e-fc10-a9b9-8808e2f58b40@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40307"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, larsi@gnus.org, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 03 07:59:29 2021 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 1mt2XZ-000AJC-1B for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Dec 2021 07:59:29 +0100 Original-Received: from localhost ([::1]:60066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mt2XX-0000pp-VG for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Dec 2021 01:59:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt2Wn-0000A8-2M for emacs-devel@gnu.org; Fri, 03 Dec 2021 01:58:41 -0500 Original-Received: from [2001:470:142:3::e] (port=48558 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt2Wm-0001je-OP; Fri, 03 Dec 2021 01:58:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/W2UvOqMo7Tfl6Nwphg5S0zMm50bwUrQGPWCkAc2N8c=; b=JZSVQlfIT+cu kdSO2X8dZLp33cdWSZxyO1aC2dyVq2ExMpZnKRF/bGI5E5w5tmqMfNncOaHIqqh1bUrb9zov2I4yd MAV62ywpvMrpW36E5T02J7Vtrs381t/ZyhxIjgIY5utr9O0y6l7yL5VRgvV81Zov6zvNnjjESaFjs WmNutWS+hexhLnAJ1UNkPpFYpn3X0rfHBq7YJi4DeJI233LdwT6W/kajLYpNuCPG0exNqrOGogQIQ c5fG8iNe5UzdJYi3mnEJ3hBVJ2xlS/nEbifoNp2c2KtwgYhUJZh4DrfjI7z8N7Ne9lb+oS47CZ4h0 v7tOizYCrMD/Nohwdaiv3w==; Original-Received: from [87.69.77.57] (port=2455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt2Wm-0001Az-Fu; Fri, 03 Dec 2021 01:58:40 -0500 In-Reply-To: (message from Stefan Kangas on Thu, 2 Dec 2021 13:19:39 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:280808 Archived-At: > From: Stefan Kangas > Date: Thu, 2 Dec 2021 13:19:39 -0800 > Cc: emacs-devel@gnu.org > > Yet another idea is to just not display anything in some states. For > example, I almost always edit Unicode files with Unix line endings, so I > would only want an indication if this is *not* the case. Patches to make this customizable will be welcome, I think. We already allow customization for the EOL indication. But please keep in mind that an Emacs buffer doesn't only show files, it also shows text from other sources. For example, email, where Unicode is not as common as files on certain platforms. And even with files, don't you see "-" there many times? If not, it means you are looking at ELisp files too much ;-) > Maybe this is different on other platforms, but I expect this is > fairly typical on GNU/Linux at least. No, the most typical is to have "-" there, not U. As long as you deal mainly with ASCII files, that is. > Similarly, maybe we don't need to show any indicator at all until a > buffer is modified? That indicator has very little to do with the buffer being modified, so no, that will make little sense. Moreover, having the indicator pop up suddenly will attract attention and distract for no good reason.