[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about align-to behaviour with wrap-mode
From: |
Eli Zaretskii |
Subject: |
Re: Question about align-to behaviour with wrap-mode |
Date: |
Tue, 22 Nov 2022 15:46:02 +0200 |
> From: Abdul-Lateef Haji-Ali <a.hajiali@hw.ac.uk>
> Date: Tue, 22 Nov 2022 09:45:20 +0000
>
> > The bottom line is that you cannot use relative alignment if your lines can
> > wrap, and hope for that to work. For wrapped lines the alignment must be to
> > absolute column numbers, and it must take the continuation lines into
> > consideration when you calculate the alignment column.
>
> I see. Do you mean that I should write a hook to update the alignment of
> "After" as more text is inserted before it (to calculate the alignment column
> taking the continuation lines into considerations)?
Yes, something like that.
Basically, align-to is not well suited to deal with continued lines.