From: Eli Zaretskii <eliz@gnu.org>
To: luangruo@yahoo.com
Cc: jporterbugs@gmail.com, ashton@wiersdorfmail.net, 74430@debbugs.gnu.org
Subject: bug#74430: 30.0.92; pixel-scroll-precision-mode hiding Eshell prompt after some commands
Date: Sat, 28 Dec 2024 13:13:18 +0200 [thread overview]
Message-ID: <86frm8t60h.fsf@gnu.org> (raw)
In-Reply-To: <86v7vmvc2p.fsf@gnu.org> (message from Eli Zaretskii on Sat, 14 Dec 2024 11:38:38 +0200)
Ping! Ping! Ping! Po Lu, are you there?
> Cc: jporterbugs@gmail.com, ashton@wiersdorfmail.net, 74430@debbugs.gnu.org
> Date: Sat, 14 Dec 2024 11:38:38 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> Ping! Ping! Po Lu, can you please answer the question?
>
> > Cc: jporterbugs@gmail.com, ashton@wiersdorfmail.net, 74430@debbugs.gnu.org
> > Date: Sat, 30 Nov 2024 12:07:51 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > Ping!
> >
> > > Cc: jporterbugs@gmail.com, ashton@wiersdorfmail.net, 74430@debbugs.gnu.org
> > > Date: Fri, 22 Nov 2024 08:58:58 +0200
> > > From: Eli Zaretskii <eliz@gnu.org>
> > >
> > > > From: Po Lu <luangruo@yahoo.com>
> > > > Cc: Eli Zaretskii <eliz@gnu.org>, Ashton Wiersdorf
> > > > <ashton@wiersdorfmail.net>, 74430@debbugs.gnu.org
> > > > Date: Fri, 22 Nov 2024 07:59:50 +0800
> > > >
> > > > Jim Porter <jporterbugs@gmail.com> writes:
> > > >
> > > > > I'm only dimly aware of how 'pixel-scroll-precision-mode' works, but I
> > > > > seem to recall that it sets the window's vscroll to allow scrolling
> > > > > past *part* of a line. On the Eshell side, I believe the relevant
> > > > > function is 'eshell-postoutput-scroll-to-bottom', which calls
> > > > > 'recenter' to scroll the window.
> > > > >
> > > > > I'm guessing these interact badly, and what we actually want to do is
> > > > > to reset the vscroll when Eshell calls 'recenter'. However, I'm not
> > > > > sure what the best way to do this would be. Is there some better
> > > > > function Eshell can call that would handle this case correctly?
> > > >
> > > > Since pixel-scroll-precision-mode never configures a vscroll taller than
> > > > one screen line, resetting vscroll in these scenarios is generally the
> > > > safest and simplest solutions to problems such as the OP is facing.
> > >
> > > So you suggest that eshell-postoutput-scroll-to-bottom explicitly
> > > resets the window's vscroll, and that should solve the OP's problem?
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>
next prev parent reply other threads:[~2024-12-28 11:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-18 17:52 bug#74430: 30.0.92; pixel-scroll-precision-mode hiding Eshell prompt after some commands Ashton Wiersdorf
2024-11-21 10:53 ` Eli Zaretskii
2024-11-21 18:37 ` Jim Porter
2024-11-21 23:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-22 6:58 ` Eli Zaretskii
2024-11-30 10:07 ` Eli Zaretskii
2024-12-14 9:38 ` Eli Zaretskii
2024-12-28 11:13 ` Eli Zaretskii [this message]
2024-11-25 5:13 ` Jim Porter
2024-11-30 10:07 ` Eli Zaretskii
2024-12-14 9:38 ` Eli Zaretskii
2024-12-14 18:40 ` Ashton Wiersdorf
2024-12-15 19:10 ` Jim Porter
2024-12-27 20:09 ` Ashton Wiersdorf
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86frm8t60h.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=74430@debbugs.gnu.org \
--cc=ashton@wiersdorfmail.net \
--cc=jporterbugs@gmail.com \
--cc=luangruo@yahoo.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).