From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Paul W. Rankin" Newsgroups: gmane.emacs.devel Subject: Re: Making vertical-border char defcustom? Date: Mon, 20 Jan 2020 09:49:30 +1000 Message-ID: <135AF6D0-B520-496B-92F6-531CEDF2C932@paulwrankin.com> References: <2E19AE9F-891D-42D9-9BD4-9B355804C189@paulwrankin.com> <8336cbzcft.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="112593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 20 00:50:19 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 1itKKh-000TFy-B3 for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jan 2020 00:50:19 +0100 Original-Received: from localhost ([::1]:55382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itKKg-0004aE-9L for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jan 2020 18:50:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60773) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itKK5-00046h-4i for emacs-devel@gnu.org; Sun, 19 Jan 2020 18:49:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itKK3-0005A0-W2 for emacs-devel@gnu.org; Sun, 19 Jan 2020 18:49:41 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54133) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itKK1-00059I-Pk; Sun, 19 Jan 2020 18:49:38 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5719E2177A; Sun, 19 Jan 2020 18:49:37 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 19 Jan 2020 18:49:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=b qmn2qa1/FXjLZIMAbRKYvBWxxcCuK9k/mMFnAUwf7I=; b=J6NDZIZw17A8+EFCA OmlKRtCI4qfkfLIAzrrfVPzorh/b/2ZCoTRxGNpm5+oxZnL0Mf7E6ng7YkOxvL04 jj3gItUkn5Y9nneMUXDPZ+UpiNSDVkgRsxZU1SDogMbANR0/FWtKQEX8/DHZnS9+ meiCSodwYVTQ9Cby/7bX3nzblM4Pkm04IGXaaVPHjUiP82uaMdRFbFLa2h1xLbYU 6cHODjo6XMqOTtOyUkTHcZV0Szy6URnlVOVih6PItwQrbm1bfiSox4XBk16Az5j7 xLPKI4PiNgCaCuhYFBKA/knC8gMJCTRCTK5bEChDGrsmad5HL6j3APXfwD3E+daY HPLNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=bqmn2qa1/FXjLZIMAbRKYvBWxxcCuK9k/mMFnAUwf 7I=; b=RNzepCYfeocwjUBj3129uILc+yKamNqFSbcAglyLdIvNnuhbiRU928cIQ 8h2iVJP5vXJyXXI3lkJdOcxGbHgfjdZ4MiORTMaVTj7THA6L0TPod+FP+meh8E2O ZZSwwg1jd9hj96XQotXi9bardu5cid80jtdctbnASFzcT8EXZIn0U/hBVbD+glwT WRlVBH5hStks/A3IHsp0eEGCOtYAk7574RdIUlpHd/o/fqQpeZJFkX5hm+Pd+cOC ULyt8imgZQQztWPT3dJsWbnRtQrSZCDHu6eYhy2A//51nA44EGJ+SxcpqTfIpLxm T71UPDnpf8FIAf68lhuUFU09HMuig== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeggddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpedfrfgruhhl ucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmqe enucfkphepuddvtddrvddvrddvjedrudduheenucfrrghrrghmpehmrghilhhfrhhomhep hhgvlhhlohesphgruhhlfihrrghnkhhinhdrtghomhenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Original-Received: from [172.20.10.3] (unknown [120.22.27.115]) by mail.messagingengine.com (Postfix) with ESMTPA id 235863060B26; Sun, 19 Jan 2020 18:49:35 -0500 (EST) In-Reply-To: <8336cbzcft.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.28 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:244396 Archived-At: On 20 Jan 2020, at 1:35 am, Eli Zaretskii wrote: >=20 >> From: Paul W. Rankin >> Date: Mon, 20 Jan 2020 00:13:27 +1000 >>=20 >> (defun prettify-vertical-border (&optional dummy) >> (ignore dummy) >> (set-display-table-slot >> (or buffer-display-table standard-display-table) >> 'vertical-border ?=E2=94=82)) >>=20 >> (when (not window-system) >> (add-hook 'window-configuration-change-hook >> 'prettify-vertical-border) >> (add-hook 'change-major-mode-hook >> 'prettify-vertical-border)) >>=20 >> However the problem with this approach is that some major/minor-modes >> set their own overriding display-table... I think help-mode or >> special-mode... >=20 > 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. 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.=