From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: How to change window divider in text terminal? Date: Thu, 28 Jul 2022 17:14:46 +0600 Message-ID: <8735el8p5l.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="872"; 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 Thu Jul 28 13:25:37 2022 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 1oH1e5-000AeI-6y for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 13:25:37 +0200 Original-Received: from localhost ([::1]:56204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH1e3-00046x-P8 for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 07:25:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH1dH-0003Qs-15 for emacs-devel@gnu.org; Thu, 28 Jul 2022 07:24:47 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:38278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH1dE-0001Ah-R6 for emacs-devel@gnu.org; Thu, 28 Jul 2022 07:24:46 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DD22F40DC2 for ; Thu, 28 Jul 2022 13:24:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LiLv7YJX5LKD for ; Thu, 28 Jul 2022 13:24:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659007481; bh=kmF8o6FIsuvEE0b7Jp2JLOOMqLxTWe3NKtfIbeJQ0Fg=; h=From:To:Subject:Date; b=ht2P1AWC4YQRXh9bUizmQO7ANKjs4ywOb3xXaNiYHXIqR1wDMSGqoGpdiIfXCSG0t syWtAKgtFYLrKxabs9ePokZNaB2+8+hSYO5KeVvz3zR4KdA2dlvFazi0Prh0ESIjlL 2v/8kzo9YwX9TahJC15Nz6qX5LBm0CBcJNZoIdcQkfTAuxwmotaechiD8UPRIvab+j LiE2JScV95N16swLJobE3GckZ7MkT02d2Udj51UaHWGt/cQG0uVW+0KekkFHfmilAd K6qJ/hSg8WDNivM7Y7JIiOU/h+D9X1gNqUs09W8ykT1g4PwCdFkxronIWNrK2T9wxe Hq3SZXeRzdRRw== Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:292790 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From=20(elisp) Display Tables: =2D-8<---------------cut here---------------start------------->8--- The ordinary elements of the display table are indexed by character codes; the element at index C says how to display the character code C. The value should be =E2=80=98nil=E2=80=99 (which means to display the chara= cter C according to the usual display conventions; *note Usual Display::), or a vector of glyph codes (which means to display the character C as those glyphs; *note Glyphs::). [...] The display table also has six =E2=80=9Cextra slots=E2=80=9D which serve= special purposes. Here is a table of their meanings; =E2=80=98nil=E2=80=99 in any = slot means to use the default for that slot, as stated below. [...] 5 The glyph used to draw the border between side-by-side windows (the default is =E2=80=98|=E2=80=99). *Note Splitting Windows::. This cur= rently has effect only on text terminals; on graphical terminals, if vertical scroll bars are supported and in use, a scroll bar separates the two windows, and if there are no vertical scroll bars and no dividers (*note Window Dividers::), Emacs uses a thin line to indicate the border. =2D-8<---------------cut here---------------end--------------->8--- But none of the following work for me: =2D-8<---------------cut here---------------start------------->8--- (set-display-table-slot standard-display-table 5 ?|) (set-display-table-slot standard-display-table 5 (make-glyph-code ?|)) (set-display-table-slot standard-display-table 'vertical-border ?|) (set-display-table-slot standard-display-table 'vertical-border (make-glyph-code ?|)) =2D-8<---------------cut here---------------end--------------->8--- And I'm pretty much sure that this happens because the character '|' is hardcoded in "build_frame_matrix_from_leaf_window" in "src/dispnew.c". =2D-=20 Akib Azmain Turja Find me on Mastodon at @akib@hostux.social. This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmLib6cACgkQVTX89U2I YWvrgRAA2kXMZOvDUOLHHIb9+zSO5Pn4UMP7oIQNy7M7KgkLB8hU7qWTVu6k97Vq CyleGpaqTAX6FYBUwmpjyvSrU/3fINKO3bfVSUKcQpxZ9nqzX4uHieWSfA6ihwVT xBE/S70LSk9FXkSUyXf2xryYtdszRzfdjvNISsgFnp8jr2qHe82O1rG6hwfXjE2T ian7YesBqSFBfB4KLlfcaBgGD+uyOiYQyERdGOBdaii0PJxJzTjBX7CultAvfGpO JdL5cKblutgGNVJRhJz3N59HcTK51D3mPaFqDvL+88CcY2febB60s7UoEIChP2JB BBuz8NS1UAwsv/WEjVZ3ggJ3ajquPx1aO7lE+Frqq4wE87loYeICBvU1xx6OjQXc ikDNlSLMSqtDsNrzsg/xF4oKz+CNX8/Wj2hk/yaQhTHyVNzOLKaFIf6WIB96l6Ai FM1/Db5MnWdSBw3cK8Kgtsmeyn75sSF9FIJBudSmnOt++ELlFcQfoR1T3gknruNg uAjg7eES8cA2TJpHaY51Kcm0oQnv7W/y0/asC+W3iYCff8Cm8fQ/OfrnshV2efAD Kwy0bCq7HCBPC4hn+4HHTUmYsrS7e82d7GsT7iN7+hpeyg2MqyE64tmpodqLdHU8 KX9nrIcrkK10OLMYDc1r7j+mZXfefE1igG1U7lEGCULlLf/bGuk= =Vwxq -----END PGP SIGNATURE----- --=-=-=--