From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making vertical-border char defcustom? Date: Mon, 20 Jan 2020 20:08:00 +0200 Message-ID: <83tv4qvw5b.fsf@gnu.org> References: <2E19AE9F-891D-42D9-9BD4-9B355804C189@paulwrankin.com> <8336cbzcft.fsf@gnu.org> <135AF6D0-B520-496B-92F6-531CEDF2C932@paulwrankin.com> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="64567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Paul W. Rankin" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 20 19:08:29 2020 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 1itbTR-000Gba-Ki for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 19:08:29 +0100 Original-Received: from localhost ([::1]:42434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itbTQ-0003Mi-Mx for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 13:08:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55288) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itbSt-0002vi-J9 for emacs-devel@gnu.org; Mon, 20 Jan 2020 13:07:56 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itbSt-0003rS-DC; Mon, 20 Jan 2020 13:07:55 -0500 Original-Received: from [176.228.60.248] (port=2948 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itbSq-0006aK-0H; Mon, 20 Jan 2020 13:07:55 -0500 In-reply-to: <135AF6D0-B520-496B-92F6-531CEDF2C932@paulwrankin.com> (hello@paulwrankin.com) 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.23 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:244432 Archived-At: > From: "Paul W. Rankin" > Date: Mon, 20 Jan 2020 09:49:30 +1000 > Cc: emacs-devel@gnu.org > > > I don't understand the difficulty. AFAIU, all you need is augment > > your prettify-vertical-border with a call to window-display-table, and > > then no overriding could get in your way. Or am I missing something? > > Ah sorry, the issue seems to be with some interference from a global minor mode page-break-lines-mode... Your suggestion helped me find that. Thanks. You are welcome. > Would the net benefit from making the vertical-border char defcustom still make it worthwhile? It seems similar to the recently added display-fill-column-indicator-character, a vertical line that sits next to the vertical border and is customisable. We don't offer customization of the display tables via defcustom, most probably because it is "tricky" (as you yourself discovered). I hesitate to offer just this one slot of the display table, and the fact that it only affects TTY frames and requires UTF-8 capable terminal on top of that doesn't provide additional motivation... display-fill-column-indicator-character is an entirely different matter, it's a minor mode which lets users specify an indicator glyph.