From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Wed, 6 Feb 2019 00:32:44 +0100 Message-ID: <20190205233244.xy63h46yqal7edfh@Ergus> References: <20190205105340.q7zdbu7kolc7rvpr@Ergus> <83imxytcfr.fsf@gnu.org> <20190205184720.nd43dg5ho47dhqfe@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="205547"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 00:33:05 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 1grADB-000rLW-46 for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 00:33:05 +0100 Original-Received: from localhost ([127.0.0.1]:42439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grADA-00051U-3f for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2019 18:33:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grAD1-00051B-6N for emacs-devel@gnu.org; Tue, 05 Feb 2019 18:32:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grACz-000523-MQ for emacs-devel@gnu.org; Tue, 05 Feb 2019 18:32:55 -0500 Original-Received: from sonic301-22.consmr.mail.ir2.yahoo.com ([77.238.176.99]:40452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grACy-0004xN-VE for emacs-devel@gnu.org; Tue, 05 Feb 2019 18:32:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1549409568; bh=6F6DgpNXmhmSstuuVZhS93gnwPaIMnzpNSBKqCnJmL0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=WSPTskBkZ30X3+Kdy0DBjaaDwMKPvApHxMK05FqhjWFOiNtsrbH0iNX0oF6KsMwf5Clg37BzJqAWQzxL7bCKiIZzBtje3JKJC/ZnPnZxhXPQwRUzyJ9W2nNW1gDJsLeWtN1oF4un9TUjpEvzk0iB3xR2xoOvbe98+PyMS+PAW6yMo/fF1AqVz+S84i+IK4zKDdHHwOHJ5Rv7qKaX75myharjiT3xY7pdXomy1lrNQmbPiWDrnFgDYpzIz5VZHei7LxztYtH7x69ho8g/pmU/9sOw6oSLC7g0usMEXUg8HI/smvLPLWHGVsi0yQ75clqoOQZ/emuZeLNC1pIO2HOYBw== X-YMail-OSG: MRoZ4C0VM1nA5HvOWW9rqPTS2ZQjkdJe5a0slTccKi.9yM8KNXECZhBypmm7rXi ABlIKpCgUAZFMv6JeFwDXiZavua8yXVz3izDLxI.YZfNr699WIf1MAqXhacFFzAVE4IqGRxoIt7c weFU_6y_0vedVonYNjCCWEMAOsyNF2TxKaSr5V0PT28xDjaRlWR3lw5hFt7V2yE9bjlOtZ.I.W8m XOhbx1VxZVgdT.fxkwe7zWpQbdDlfN8xnpkfwiRAOlO1S3s4Rwcyctlo_NK6WWnAHJ88uQEee5le Hvg_NikXHOsUYYW5JiYMPEKMeClhV7Oa9y1bCmJogzam1UrQ3BNYSZ5ZvVItTamYBN.1u8LyCQyu NBT3.a2Nm036Bv1MnBURget8RP.7YghXmBAtogUMHBnwAgJ1QgwcIrTMpobntQeiMpd9zVE7aOeb HpVY353wdLzN7JhKR_oASdyqfq4fRUF7e.rdQWqVzv25qSfaG8Cpuxh4lT0fhgnoNnW6nzc_a9ne DyJzpAILa6S_IOfyhipzRcIE81ymcfOzVtb1hl_azBy8NXKmhzBaprZPAy1EbHvgExcbyxZ_IpFA 5tZ_oG.UGUBnvz4WkvPm7lLnjf1VTikeUNLQMVEHFGqoJIZANpU4Ch.uWRQ7Xs80GvocWbdxISRu LW5DsYivN.oYgRciUhPCpyOt4qlrGmY6e_yP9aJpkYUujERNvFSzzkQIEJbwwMKBEXynWfaBcL4S FTPzL9ZM2.bN6worfbMN0HFTC2Vdy8h5RXBDCwvFczHRAtJ7084YDl3yHlV56LcH3CeQJ_uuTleY W3Ot9w7QS3Q6uvdKcAEMEmwT1cxIzhydgL4Kl3SWWO Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Tue, 5 Feb 2019 23:32:48 +0000 Original-Received: from 2.152.205.184.dyn.user.ono.com (EHLO Ergus) ([2.152.205.184]) by smtp426.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 013b146b1c3179b151ff00473eb75103; Tue, 05 Feb 2019 23:32:47 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.176.99 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:233016 Archived-At: Hi Drew: Thanks for replying. I saw the page and I tried almost all the options. My feature request comes from the fact that almost all the options there are unmaintained and some look like patches in new clothes. - Column-marker creates a mark only in the crossed lines. But it is more intuitive to have something indicating where is the limit before reaching it. Like a rule or a background color change. - ModeLinePosition like ruler-mode shows the indicators in the borders and conflicts with spaceline and sml. But it is also far from the center of the screen. When editing there. - FillColumnIndicator is the one I have been using until now, but it is abandoned since a long time ago (the last update was in December but it was to add in the readme that it is not longer maintained), it has many issues and incompatibilities, enforces to use whitespace-mode because is incompatible with show-trailing-whitespace. - Column-Enforce-Mode is like Column-marker, but changes the rest of the line, at least for me it becomes annoying after a while. And also highlights the line only after crossed. (SO same issue than Column-maker) There are other options in melpa: hl-fill-column-mode which is more or less like column-marker. I think this is a very basic text editing functionality (like line numbers). And Emacs shouldn't need a plugin for this very basic text editing functionalities. On the other hand, making it part of emacs can be guaranteed to have a similar clean appearance as you did with the line numbers in the last release. So everything will be more standard by default. But again, it is my opinion, I don't want to bother with this too much because you are very busy people. Any design choice that can make it better, more efficient or simpler will be fine even if it is not what I had in mind. Best, On Tue, Feb 05, 2019 at 07:56:02PM +0000, Drew Adams wrote: >> I would like to have something simple like fill-column-indicator mode >> (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. > >Haven't been following this thread; sorry. > >Have you looked at this Emacs Wiki page? Perhaps it will help - it mentions a few ways to indicate a particular column. > >https://www.emacswiki.org/emacs/EightyColumnRule > >