From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Psionic K Newsgroups: gmane.emacs.help Subject: Re: How to Display a Zero Height Line Date: Thu, 12 Dec 2024 18:00:15 +0900 Message-ID: References: <86cyhx1jpu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Psionic K , help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 10:01:15 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 1tLf4M-0001SR-RH for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 10:01:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLf3e-0006rR-Hg; Thu, 12 Dec 2024 04:00:30 -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 1tLf3d-0006rD-73 for help-gnu-emacs@gnu.org; Thu, 12 Dec 2024 04:00:29 -0500 Original-Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLf3b-0004p5-C2 for help-gnu-emacs@gnu.org; Thu, 12 Dec 2024 04:00:28 -0500 Original-Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-6efc58fae20so3050567b3.0 for ; Thu, 12 Dec 2024 01:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1733994026; x=1734598826; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Htueup0u4VRbzvbIbfDjl8qMc0ilUtGC1hDLMbsdXYc=; b=oG47CNbV3K4YRUxuLrQ/wi47KK/RKFzOqRBr4u79TV7NEpPQqW6axj8rlgd7FKC2mn 0ebqXoUftFlm7PJRov/InAzqRb7Haie9vidpXy0cDcx66zkYvwhBy+bjvDjeqQiy2lhd 1YGc9ZUfp85kiYicxxMP6z8iAF1n92IpqB4DD0qIvovzvaxfMqa6TG0VhL9Iv5HwiHT4 jhgr3yoG0YAxhXT6RKe/kv+gHC/FKEc9ss6gRanogdLYK3ilPUDpn9oncPHk8SHilNJW eJldu4IzkF4oUSkxTNdMl8KdsfjtJUsAtjeNwAfdOVt6R3QcXMmOdUwglONUhNwnvTNG X+vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733994026; x=1734598826; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Htueup0u4VRbzvbIbfDjl8qMc0ilUtGC1hDLMbsdXYc=; b=MDzqZckY+ODqPN0kmTcKEdsLVswvPH45+ezRoFFgIawv4e9rbNCOpGj1gCJdLvjGHb 5W7qrCCGoOLXyGiV93JRft/nccFmEZqedl9XqXPpdJNyeWnW5y1fbftoVgHxERvfIq+l G/U7FTuLlyCEdTVIqzmt35go7NozbrMy7WqJa6qQNnw3VZZJ6wWCxzsbc+puKyO9KP6u /1eRJY+fg4f35HZsQvE+T11Zf05297ZIejet7ui6mdIaGZbm+clsjTRuZDJFq11n2iaX Te89CY+PHkE5/kUk3mla2nUOufjTjzONxW0UAlHsO5YllgAa8zLLpZxIeyUUIpcYKoBX HLrA== X-Forwarded-Encrypted: i=1; AJvYcCVMeB9k+h8NhLi2wFhTeT5GECiKcNV6hrHgGLshLAsT6nENgFq7+MopBDIqOFPcBzLNB+2jkB/Y/zusdXJjUQ==@gnu.org X-Gm-Message-State: AOJu0YxCewPx6WDscBruu951+JoX46OKmzda75ZEg/adkkUrvW1jsz8u ogX7TM5uORXMQT/cgdqT+YOb8ajGHprcbtS7rlvgfcOIxoetbre17rirhFnLJoE4YVnlj9YYaNI GTnHf/xyXecxLCzsJ+XEumtb6qhNwZfS05MM/Lw== X-Gm-Gg: ASbGncv7Ma+3nQDhthLU73cI7EAbaw6kZah84191mXz26KFu71SHWUBN+ubz0ay3DbF 2i7hKeAKdAvLKgtm6RbH0vw5/luUG5KKCWpC5jUzG X-Google-Smtp-Source: AGHT+IEuILurupLMXAl8Kl4fIRM8nOYNoKqZ/s+SsPm2AIecgyUhnzelz82b9QHGK4wko0IU7VLF9GM3+F8TMMMLnlQ= X-Received: by 2002:a05:690c:690d:b0:6ef:698a:1f02 with SMTP id 00721157ae682-6f19e84cdf8mr24052347b3.32.1733994025750; Thu, 12 Dec 2024 01:00:25 -0800 (PST) In-Reply-To: <86cyhx1jpu.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1132; envelope-from=exec@positron.solutions; helo=mail-yw1-x1132.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:148768 Archived-At: > > 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? Why would I be in such a rush to horizontally :extend that which must be vertically truncated? I have further inspected the possibility of using empty lines with actual newlines in the buffer text. No combination of assigning the current line, an extraneous line used to create space, and the newline before the next heading, via overlays with line-height, face height, and line-spacing of zero, appear to overcome the font locking behavior. Directly manipulating the font locking behavior is acceptable if there is a precise means of targeting. I have in the past applied properties independent of font locking and then read these via new font locking rules. As an implementation I prefer to avoid it because if org learns tree-sitter, my solution will break depending on the font locking in use.