Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] use clear-to-end to reduce trailing whitespace
- X-seq: zsh-workers 53322
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Colascione <dancol@xxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] use clear-to-end to reduce trailing whitespace
- Date: Tue, 21 Jan 2025 17:14:21 -0800
- Archived-at: <https://zsh.org/workers/53322>
- In-reply-to: <87wmeo7z91.fsf@dancol.org>
- List-id: <zsh-workers.zsh.org>
- References: <87ed121ui4.fsf@dancol.org> <CAH+w=7bXVUpVVZ-wauCQTchCJK60zaqCSZUV+KKQ93tNoe2VDQ@mail.gmail.com> <CAH+w=7aWgKLzQ6MZfsyEYabdGic0qX6tfsC4HX4g8vBAW-+Lpw@mail.gmail.com> <875xma9xad.fsf@dancol.org> <CAH+w=7bTcHFgT-s2WxzrJuhX8mYXpiW1dguCo3n5eSs8r5D3TA@mail.gmail.com> <87wmeo7z91.fsf@dancol.org>
On Tue, Jan 21, 2025 at 11:17 AM Daniel Colascione <dancol@xxxxxxxxxx> wrote:
>
> I'll keep all this in mind if we need another revision of the patch.
It'd be nice to get rid of that "variable 'rnllen' set but not used"
error. Can be dealt with separately if necessary.
> I haven't been able to get CEOL after wrap to erase the next line in the
> terminals I mentioned previously. See the attached Python program.
Thanks for checking.
> Why would we ever see this case though? If we're exactly filling up the
> window, there's no point to emitting CEOL. Does the code do it anyway?
I wasn't sure whether your changes to the
/* Find rightmost non-space character in main line */
section could have resulted in that situation arising.
> Other shells use CEOL
> without major trouble, yes?
Are there other shells with an editor that tries to handle full-screen
motion like ZLE?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author