From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Indicate continuation and truncation with ASCII characters without disabling fringes Date: Wed, 15 May 2024 14:35:49 +0300 Message-ID: <8634qjux2i.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28253"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 15 13:36:43 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1s7Cw7-00074U-7W for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 15 May 2024 13:36:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7CvO-0008K8-8O; Wed, 15 May 2024 07:35:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7CvJ-0008I9-SC for help-gnu-emacs@gnu.org; Wed, 15 May 2024 07:35:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7CvJ-00027I-KH for help-gnu-emacs@gnu.org; Wed, 15 May 2024 07:35:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Q7P2IB26ZCm1TCsTFaacZ6cM8HNKR+tGoc5E9+VlvNY=; b=aM3RH925lWpm t3bLjPaT9Kaoco7C6hKJh3iHqfpm0+lbi1yO3PD+Rfsl8AQH6VwndiNOgpAtQ+LZQOc/lrKTI/Dvp XUda7mKgCsB9uNGmFR3WfphGv8QNye87kMFMC5y0gHQr1EEFovjjh61BaeUkqMTcAYv26j5lLyb46 0oNidDR5EY0wuwb79bI8U/urJKn1J99tdE/8SirZ6pGRLdw5EyMXcO97UDmAutugdT5+lLoPxONwt 7FIsEfJuATwSnDFCjmz8uCvuu45za1DMtYk3Aaj3HxYfg01ynoX/OkbtCs8B69V7YXJkiG0pJjM/4 c2Px7zddk7j7lgZJ5nPVXQ==; In-Reply-To: (message from Emre Yolcu on Wed, 15 May 2024 01:04:44 -0400) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146753 Archived-At: > From: Emre Yolcu > Date: Wed, 15 May 2024 01:04:44 -0400 > > When fringes are not available, Emacs falls back to using the leftmost > and rightmost character cells to indicate line continuation and > truncation with ASCII characters. Is there an easy (i.e., Elisp) way to > force this fallback behavior when fringes are enabled? No. The logic you describe is hard-coded in the display engine, such that the truncation/continuation glyphs are shown only if the width of the corresponding fringe is zero. There's no way currently to affect this logic.