all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: JD Smith <jdtsmith@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>,
	Philip Kaludercic <philipk@posteo.net>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Bar drawing in display engine, master indent-spacing variable
Date: Sat, 14 Sep 2024 13:45:13 -0400	[thread overview]
Message-ID: <FB520DB8-06D3-4C27-9502-4B9C4412AE65@gmail.com> (raw)
In-Reply-To: <CADwFkm=q3fBdD9tqXZnXv0oWwgDiYC2G3kFc3La6PEXdmHXxHA@mail.gmail.com>



> On Sep 14, 2024, at 10:38 AM, Stefan Kangas <stefankangas@gmail.com> wrote:
> 
> JD Smith <jdtsmith@gmail.com> writes:
> 
>>> On Jul 24, 2024, at 2:33 PM, JD Smith <jdtsmith@gmail.com> wrote:
>>> 
>>> 
>>> I propose the addition of indent-bars to ELPA.
>>> 
>>> https://github.com/jdtsmith/indent-bars
>>> 
>> 
>> Following up this request to add indent-bars to ELPA.  The display issue in RTL mode which Eli mentioned was an Emacs bug, fixed in #72287.
> 
> Philip, Stefan, WDYT?
> 
> Meanwhile, I can only echo Eli's sentiment that we should really have
> this built-in and implemented in the display engine. 

Perhaps ideal would be to have low level drawing primitives available in the display engine (and automatically handling space vs. tab, blank/too-short lines, etc.).  Then lighter weight lisp packages can drive them.  Such packages can then get entirely out of the overlay/font-lock/stipple/replacing display-char business, and focus on the interesting logic (like treesitter scopes).  If these draw primitives are sufficiently generic, I suspect lots of different applications would occur to people, beyond just indentation guides.

One other very simple thing which would help here would be to have one master variable across all modes that sets (or is set to) the indentation spacing (`indent-spacing' ?).  Each mode pretty much goes its own way now.


  reply	other threads:[~2024-09-14 17:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-24 18:33 Adding indent-bars to ELPA JD Smith
2024-07-24 19:08 ` Eli Zaretskii
2024-07-24 19:30   ` [External] : " Drew Adams
2024-07-24 19:32   ` JD Smith
2024-07-25  5:11     ` Eli Zaretskii
2024-07-25 12:44       ` JD Smith
2024-09-14 13:33 ` JD Smith
2024-09-14 14:38   ` Stefan Kangas
2024-09-14 17:45     ` JD Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-16  6:46 Bar drawing in display engine, master indent-spacing variable Pedro Andres Aranda Gutierrez
2024-09-16  7:12 ` Ihor Radchenko
2024-09-16  7:18   ` Pedro Andres Aranda Gutierrez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FB520DB8-06D3-4C27-9502-4B9C4412AE65@gmail.com \
    --to=jdtsmith@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=philipk@posteo.net \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.