unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Indicate continuation and truncation with ASCII characters without disabling fringes
@ 2024-05-15  5:04 Emre Yolcu
  2024-05-15 11:35 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Emre Yolcu @ 2024-05-15  5:04 UTC (permalink / raw)
  To: help-gnu-emacs

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? I couldn't find 
anything in the manual, so I thought to ask here before trying to patch 
it in the source.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Indicate continuation and truncation with ASCII characters without disabling fringes
  2024-05-15  5:04 Indicate continuation and truncation with ASCII characters without disabling fringes Emre Yolcu
@ 2024-05-15 11:35 ` Eli Zaretskii
  2024-05-15 15:28   ` Emre Yolcu
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-05-15 11:35 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Emre Yolcu <mail@emreyolcu.com>
> 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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Indicate continuation and truncation with ASCII characters without disabling fringes
  2024-05-15 11:35 ` Eli Zaretskii
@ 2024-05-15 15:28   ` Emre Yolcu
  0 siblings, 0 replies; 3+ messages in thread
From: Emre Yolcu @ 2024-05-15 15:28 UTC (permalink / raw)
  To: help-gnu-emacs

Eli Zaretskii wrote:
> 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.

I see. Thanks a lot for the explanation.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-15 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15  5:04 Indicate continuation and truncation with ASCII characters without disabling fringes Emre Yolcu
2024-05-15 11:35 ` Eli Zaretskii
2024-05-15 15:28   ` Emre Yolcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).