From: Stephen Berman <stephen.berman@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 27008@debbugs.gnu.org
Subject: bug#27008: 26.0.50; auto-hscroll-mode and scroll-left
Date: Tue, 30 May 2017 21:45:47 +0200 [thread overview]
Message-ID: <878tle9lhw.fsf@rosalinde> (raw)
In-Reply-To: <83a85udzet.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 30 May 2017 20:31:38 +0300")
On Tue, 30 May 2017 20:31:38 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Tue, 30 May 2017 20:18:27 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 27008@debbugs.gnu.org
>>
>> > From: Stephen Berman <stephen.berman@gmx.net>
>> > Cc: 27008@debbugs.gnu.org
>> > Date: Tue, 30 May 2017 18:57:01 +0200
>> >
>> > Thanks very much for pursuing this. I updated my master branch, applied
>> > your patch and rebuilt, but when I executed the recipe of my OP, I saw
>> > the same effect with the patch as without it: only the current line
>> > respects w->min_hscroll, the other are displayed from BOL. I'd be happy
>> > to try and help diagnose this further, if you can advise me what to do.
>>
>> I don't have any advice, because your recipe worked for me after the
>> changes. I'm confused now.
>
> Ah, I see: I sent the wrong patch. Here's the right one:
Thanks. Yes, with this patch the non-current lines are displayed from
w->min_hscroll. However, there's a new problem: now when points moves
to a line, that line automatically scrolls further by w->min_hscroll.
So when I do `(scroll-left 32 t)' and then move point to another line,
that line scrolls further left so that its column 64 is on the left edge
of the window (the other lines remain displayed starting at column 32).
When point moves to the next line, that one scrolls further to column 64
and the previous one goes back to being displayed from column 32.
Steve Berman
next prev parent reply other threads:[~2017-05-30 19:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-21 14:10 bug#27008: 26.0.50; auto-hscroll-mode and scroll-left Stephen Berman
2017-05-21 15:23 ` Eli Zaretskii
2017-05-21 20:12 ` Stephen Berman
2017-05-30 14:56 ` Eli Zaretskii
2017-05-30 16:57 ` Stephen Berman
2017-05-30 17:18 ` Eli Zaretskii
2017-05-30 17:31 ` Eli Zaretskii
2017-05-30 19:45 ` Stephen Berman [this message]
2017-05-31 7:14 ` Eli Zaretskii
2017-05-31 14:18 ` Stephen Berman
2017-05-31 14:39 ` Eli Zaretskii
2017-05-31 16:04 ` Eli Zaretskii
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=878tle9lhw.fsf@rosalinde \
--to=stephen.berman@gmx.net \
--cc=27008@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.