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: Making vertical-border char defcustom? Date: Mon, 20 Jan 2020 00:13:27 +1000 Message-ID: <2E19AE9F-891D-42D9-9BD4-9B355804C189@paulwrankin.com> 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="54747"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 19 15:14:28 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 1itBLP-000EBW-PY for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jan 2020 15:14:27 +0100 Original-Received: from localhost ([::1]:50548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itBLO-0005SD-Pb for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jan 2020 09:14:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36304) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itBKe-0004xL-V0 for emacs-devel@gnu.org; Sun, 19 Jan 2020 09:13:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itBKd-0001Sp-RG for emacs-devel@gnu.org; Sun, 19 Jan 2020 09:13:40 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58329) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itBKZ-0001P5-Ij for emacs-devel@gnu.org; Sun, 19 Jan 2020 09:13:35 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 909FE213F4 for ; Sun, 19 Jan 2020 09:13:33 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 19 Jan 2020 09:13:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=from:content-type:content-transfer-encoding:mime-version :subject:message-id:date:to; s=fm1; bh=dt1OVu6sdvCVdt6/xS8pUuVIn MthWgEK3hG67KNne5k=; b=LaYpD4Z2ylte0nkjshKRcMnWHLgpnd6F0sYP/Y6PV VRttDSlah3g9jsVxxD4kJdUdpdytgS5r02hd90sJa7TpJ/IlDi5H0JarBYLak6PR 3lsfcL4ljPO5MMcxsczymgOALPZFXUx7Bhn/FCTFULePvdIyzzEqf/k2HMr4L/W8 6N2WhngyZCnmfw24dVhW81mg9hV+9tdqQsDz01DHFuFcmf17y/GFAX+ByhX5rHEJ o+CgZ1V55IHhiBTEm7MZZWp4xjHRjfj5xIN5Ezfq6cISuJACID6yeAO0WGv7Y1Gq VzNoBfKNgg9m8uMtkBSSGF7slfH0odp63JtTNqKaGSB4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=dt1OVu 6sdvCVdt6/xS8pUuVInMthWgEK3hG67KNne5k=; b=OqynYOs/D55qub+uxAXcUr zG9cQuKCoU+rWShMkSi0K/ig6pfZFMNNumy9X+P2NpI3hA2dYlwkBQfUb+mrcZks nHaQ6m7rNcZuqXbSbapyzsEpzEoSrA3u/uxXu3ZPEaxIkaRhz5vlO2RoXvv01oZ9 xRcHJhHQxocUh+VsGeRDhilv/q9ANfWVf5jpkZ9k1was076wqdC/o8WkRvU5NcBP YBfBH7Pt1R9d7829zGlmEmKP6lUITvoal9Dxmc2eBJhwBn/QFt+UqmPB+oKf75ez ISRN7R+SwQc0ZCh3wZCBSW6JenLJ+pWALU1F5o3Cm+jAH15luNfsCUvKqRgY7EaQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmhdthh dtjeenucfhrhhomheprfgruhhlucghrdcutfgrnhhkihhnuceohhgvlhhlohesphgruhhl fihrrghnkhhinhdrtghomheqnecuffhomhgrihhnpehprghulhifrhgrnhhkihhnrdgtoh hmnecukfhppeduvddtrddvvddrvdejrdduudehnecurfgrrhgrmhepmhgrihhlfhhrohhm pehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgvrhfuihiivg eptd X-ME-Proxy: Original-Received: from [172.20.10.3] (unknown [120.22.27.115]) by mail.messagingengine.com (Postfix) with ESMTPA id A370E80059 for ; Sun, 19 Jan 2020 09:13:31 -0500 (EST) 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.26 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:244369 Archived-At: Would anyone be open to adding a defcustom for the vertical-border slot in standard-display-table? In the past I've been using the following... (defun prettify-vertical-border (&optional dummy) (ignore dummy) (set-display-table-slot (or buffer-display-table standard-display-table) 'vertical-border ?=E2=94=82)) (when (not window-system) (add-hook 'window-configuration-change-hook 'prettify-vertical-border) (add-hook 'change-major-mode-hook 'prettify-vertical-border)) 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... This would make Emacs look a lot prettier on UTF-8 consoles, as currently the 0x7C (vertical bar) default does not create a solid vertical line with most fonts. Thoughts? --=20 Paul W. Rankin https://www.paulwrankin.com