From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Fri, 15 Mar 2019 08:44:20 -0400 Message-ID: <234b0a33-65e5-5170-47ce-c0eaab762aef@gmail.com> References: <20190309132207.w2ho3j6p5on6fyzw@Ergus> <838sxo87gc.fsf@gnu.org> <20190311104814.kp2nv6arv47hcykz@Ergus> <83y35l4ee0.fsf@gnu.org> <20190312152928.73o4b5fk4paz7wm5@Ergus> <834l883w15.fsf@gnu.org> <20190312192017.fkfd4h5gsbdue5q3@Ergus> <83imwm3fxf.fsf@gnu.org> <20190313200225.dpqrw7xthkj47fqw@Ergus> <83bm2e35a1.fsf@gnu.org> <20190314030224.l5zseslncw3xc5ox@Ergus> <835zsm2c2s.fsf@gnu.org> <303612d8-e691-f753-84c9-f462d88262b6@gmail.com> <83d0ms1to4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="150625"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 15 14:56:21 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 1h4nJs-000d6c-IM for ged-emacs-devel@m.gmane.org; Fri, 15 Mar 2019 14:56:20 +0100 Original-Received: from localhost ([127.0.0.1]:55523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4nJr-0004ch-10 for ged-emacs-devel@m.gmane.org; Fri, 15 Mar 2019 09:56:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4mUA-0002bC-EE for emacs-devel@gnu.org; Fri, 15 Mar 2019 09:02:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4mCF-0006n7-Ds for emacs-devel@gnu.org; Fri, 15 Mar 2019 08:44:24 -0400 Original-Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:40897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4mCE-0006m5-Sw; Fri, 15 Mar 2019 08:44:23 -0400 Original-Received: by mail-qk1-x735.google.com with SMTP id h28so5342731qkk.7; Fri, 15 Mar 2019 05:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qamuGZQoxGjbNiapw0X83R+43TLtxfy31DuQ9sdJf4Q=; b=ljx3B5EmnfvZuEYwm8QVsHnWREqhFIntdNA3b9vZJD6RoHerPCvOFXtDxBc0VAZpn1 UutGwHRpn/XNXGkXhzINV8EpeQtwkqTbUzZB/lNc4lYG9nrhh7qmbADkmd543obYQGdG aJ813DIZuh6FYan/BXjTfgmLDZ32AQlhNI9fkhY89RzN/pJ+G13M7RHG2xb6bGZ1x7OE fQJNwCtjIJgd8cz+5Qcr0k2vYY++2e0oKzCpFzDGkYIYVgmmH2KYGDZ4IwJ6PXs+aEsl JcyRk+7IHBz0Ak3LwLi8BhZb9fk3bPqS+dX1bfFGl4fvjih1uRRjDp3qXZ12iZvRVsoR UO6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qamuGZQoxGjbNiapw0X83R+43TLtxfy31DuQ9sdJf4Q=; b=cK1X69laJhOsk2mtmrDFrAxPxnzAHpD6HvSN0obVwXT8DLykWCb17BJSW/qvGsPaNa cHQqOutZ/qQDxY644cGZVjUxFLacZSnOjvny5GkF7BNNkacTvTZCUGswbLr+I3sO+f2m nLAeyVeDp7Jp5gbATNuFtgxsWkCoYu+ZrdHkwfxCfZH/uhhnw8c91E1LdxJCSP/aOo9a Csg1Fd3kAtGl4bMulYnX3OLSZL+2+Kb7JGD4MNYMSSGCbncxln09mZl4xPhuaDG0NUM5 JPEO+TOwa0kbigziIpmjCNWFDQIjUOoWF4pewZDcbkZepUEg5daEMXGRAdcK9N9zK6SZ QO/Q== X-Gm-Message-State: APjAAAXNYGtbeV/cCIy4F9rhBewYC9khPtEoa0XosCtL1XSkt8z+ZXI4 tu5WMua2FrSOASxtKLU+/NhPs99X X-Google-Smtp-Source: APXvYqy4UD+qyAD/V2Hk7YXKj/a1l/RY1wSo7qn3lJiE6TjjbSjF1ZQH4RSxykXr+uMlk0hXqOVCVA== X-Received: by 2002:a37:4a42:: with SMTP id x63mr2447985qka.23.1552653861863; Fri, 15 Mar 2019 05:44:21 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:8867:e47c:fac:51b? ([2601:184:4180:66e7:8867:e47c:fac:51b]) by smtp.googlemail.com with ESMTPSA id e9sm186786qtm.76.2019.03.15.05.44.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Mar 2019 05:44:21 -0700 (PDT) In-Reply-To: <83d0ms1to4.fsf@gnu.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::735 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:234156 Archived-At: On 15/03/2019 03.30, Eli Zaretskii wrote: > Does this answer your question? It does, thanks. It's a very thorough answer. Thanks for taking the time, Eli! > The continuous line idea does have one advantage: it seamlessly > supports lines of variable height. But that use case is rare, and I > think we will be able to support them with the glyph-based > implementation as well. This was actually going to be my follow-up question :) I see lines of variable height in many of most of my Emacs mode, through a combination of factors: - Font switches due to symbols picked by prettify-symbols-mode not being available in my main programming font - Variable-pitch fonts being used by AucTeX for section and paragraph titles - Varying font sizes to indicate nesting depth in Org-mode - Changing line spacing to separate top-level items in org-mode Is there actually a good way to support all this? Maybe using a very thin space and a face with a :background on it would do. Or maybe it will be possible to put a 'display (space …) property on the line character so that it displays as a 1-px wide line? Also, as a second follow-up question: we already have code to draw boxes around characters; would it be hard to extend that code to allow customization of which sides to draw? Alternatively, would it be hard to add a vertical strike-through face property? (I've used horizontal strike-through as a way to display horizontal lines in the past) Cheers, Clément.