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: How to Display a Zero Height Line Date: Thu, 12 Dec 2024 08:47:09 +0200 Message-ID: <86cyhx1jpu.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16330"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Psionic K Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 07:48:02 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 1tLczS-000461-4t for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 07:48:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLcyf-0000te-Ku; Thu, 12 Dec 2024 01:47:13 -0500 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 1tLcye-0000tT-8c for help-gnu-emacs@gnu.org; Thu, 12 Dec 2024 01:47:12 -0500 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 1tLcyd-0006Wp-Op; Thu, 12 Dec 2024 01:47:11 -0500 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=ApSTW7ExOoBS+Sp9i/viegw6/VVeiC7TYZXnCT0SXsw=; b=bhuM5MKLFzgk UFBgsHP7ecAAzH7RDbi0yflZAfCvuHQdPsd0/rkVDCY9figd9PywzgKs9rNKWM70S7FCkk0Jb7ee3 9K72ERQMtB6oFy8wKTdD3zmqDdhaUIkqsFouPqTEqYOAZQ6+WdvLWeZUCdl2pH7tOJt49O1cbjcrT dHX+ILKXTft0LNYTvISasCTvIfXUeTlsvZU7SfZdRjHDjbCBfk4RgUJh1ena2ZLRJJUjp1vwdrLX9 6fswI/JdBeY905Rt1MlJZs5R3Y6AvBSfT4t0UgRCn5PxxnT2hCKZw9qXjGjUHFjDXvWzWoxqiriHX vxBAewTFjkhfkGdF4VcfzQ==; In-Reply-To: (message from Psionic K on Thu, 12 Dec 2024 15:37:31 +0900) 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:148766 Archived-At: > From: Psionic K > Date: Thu, 12 Dec 2024 15:37:31 +0900 > Cc: help-gnu-emacs@gnu.org > > > And what is the problem with what the above snippet produces? Is the > > problem that you _want_ the background color extended to EOL? If so, > > you need to use (:extend t), and you need to make sure the face > > affects the entire line till the newline. > > The background of TODO extends vertically in a graphical client. I > want the space between the two lines. I do not want the background of > the TODO to extend to the previous line. Any and all intended > workarounds are acceptable. I am merely choosing an implementation of > an effect in Dslide and it doesn't matter how it works. I still don't understand, but did you try to use the :extend attribute? It extends the background to the window's edge past the last character visible on the line. It does NOT extend to previous lines.