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: Wed, 06 Feb 2019 18:08:29 +0200 Message-ID: <83tvhgsxvm.fsf@gnu.org> References: <20190205105340.q7zdbu7kolc7rvpr@Ergus> <83imxytcfr.fsf@gnu.org> <20190205184720.nd43dg5ho47dhqfe@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="251485"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 17:10:08 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 1grPm3-0013HK-Kv for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 17:10:07 +0100 Original-Received: from localhost ([127.0.0.1]:53209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grPm2-0006sp-Dn for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 11:10:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grPkk-0006r4-Ph for emacs-devel@gnu.org; Wed, 06 Feb 2019 11:08:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grPke-0006W6-Eo; Wed, 06 Feb 2019 11:08:42 -0500 Original-Received: from [176.228.60.248] (port=2820 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1grPka-0006Ab-VG; Wed, 06 Feb 2019 11:08:40 -0500 In-reply-to: <20190205184720.nd43dg5ho47dhqfe@Ergus> (message from Ergus on Tue, 5 Feb 2019 19:47:20 +0100) 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:233049 Archived-At: > Date: Tue, 5 Feb 2019 19:47:20 +0100 > From: Ergus > Cc: emacs-devel@gnu.org > > I would like to have something simple like fill-column-indicator mode > package https://github.com/alpaker/Fill-Column-Indicator. > > (but without it's conflicts and many issues) even if it only brings the > most basic functionalities. This is a very basic code editing > functionality that shouldn't depend of external packages (like line > numbers for example) in my opinion. > > It could be a line | or a background color change up to the X column. This > is very useful, when coding old Fortran or Cobol, but also in C. How popular are such extensions? IMO it only makes sense to implement something like that in core if there's enough demand, like with line numbers. Perhaps you should start a poll on Reddit about this, and we can then see how many people would like to use such a feature. Do many people share you dissatisfaction with solutions that show fill-column only when it is crossed, for example? There are also some questions about what exactly to do with continuation lines, and with situations where fill-column is larger than the window-width. fci-mode forces you to turn on truncate-lines, and basically ignores fill-column values larger than the window-width, but for a core feature we need to figure out what to do in those cases. E.g., your proposal of indicating fill-column with background color will then cause unpleasant display with alternating background around continued lines. These aspects could/should also be discussed on Reddit before implementing.