From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: How to change window divider in text terminal? Date: Thu, 28 Jul 2022 13:55:39 +0200 Message-ID: References: <8735el8p5l.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39897"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) Cc: emacs-devel@gnu.org To: Akib Azmain Turja Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 28 13:58:06 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 1oH29W-000AB4-An for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 13:58:06 +0200 Original-Received: from localhost ([::1]:43224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH29U-0007wr-0Q for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 07:58:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH27E-0006Ug-T1 for emacs-devel@gnu.org; Thu, 28 Jul 2022 07:55:46 -0400 Original-Received: from smtp-out2.suse.de ([2001:67c:2178:6::1d]:46206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oH27B-0000SK-Um for emacs-devel@gnu.org; Thu, 28 Jul 2022 07:55:43 -0400 Original-Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 7EAB620CB8; Thu, 28 Jul 2022 11:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1659009340; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AMX7Lkve3EdI8PC9z4po7wNSX0cnPgestTJoa2FNkbk=; b=Z2bVGVyQeIc2FjRO+9iCKj10+VIJGPLsKRN2OV1dK7QlmmiZJfsHsK6Fz/wq1G6R7UCEl+ 32Jsv1Km0XXiucC1P1t5tPpSfn+iP3NQ+9iwGxOxeq39+tcw+xT7UaeU09iOyvE/9IdaO+ mizQD9cxkxhX5oKD/TQNCFP1oaTSeg0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1659009340; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AMX7Lkve3EdI8PC9z4po7wNSX0cnPgestTJoa2FNkbk=; b=tSR3dk8Rj81j7vkrRqQl9cvZMcoYW/TO/AGu06AwaydEvwEI9uH9tOqhz2Tn3G8l0/4tiV fqFOryVMTbYvxpBQ== Original-Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 512382C141; Thu, 28 Jul 2022 11:55:40 +0000 (UTC) Original-Received: by hawking.suse.de (Postfix, from userid 17005) id BC75A444B1F; Thu, 28 Jul 2022 13:55:39 +0200 (CEST) X-Yow: Now that we're in LOVE, you can BUY this GOLDFISH for a 48% DISCOUNT. In-Reply-To: <8735el8p5l.fsf@disroot.org> (Akib Azmain Turja's message of "Thu, 28 Jul 2022 17:14:46 +0600") Received-SPF: pass client-ip=2001:67c:2178:6::1d; envelope-from=schwab@suse.de; helo=smtp-out2.suse.de 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:292791 Archived-At: On Jul 28 2022, Akib Azmain Turja wrote: > But none of the following work for me: > > (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 ?|)) All of them work for me. Of course, there is no difference since ?| is also the default. > 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". That's only used if the active display table doesn't override it. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."