unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] Improve interaction between mouse-drag-region and scroll-margin
Date: Sat, 25 Sep 2021 19:31:10 +0200	[thread overview]
Message-ID: <87wnn4y335.fsf@wavexx.thregr.org> (raw)
In-Reply-To: 83sfxspo7l.fsf@gnu.org

On Sat, Sep 25 2021, Eli Zaretskii wrote:
>> From: Yuri D'Elia <wavexx@thregr.org>
>> Date: Sat, 25 Sep 2021 19:03:59 +0200
>> 
>> We don't touch hscroll-margin directly, we just disable the mode.
>> The comment was misleading.
>
> ???  Then what is this part of the patch about:
>
>>> +    (setq scroll-margin 0)

We're handling two independent auto-scrolling settings.

One is scroll-margin which does automatic vertical scrolling: there's no
mode for it.

But we previously (before this patch) also handled auto-hscroll-mode,
which does horizontal autoscroll.




      reply	other threads:[~2021-09-25 17:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-25 16:09 [PATCH] Improve interaction between mouse-drag-region and scroll-margin Yuri D'Elia
2021-09-25 16:17 ` Eli Zaretskii
2021-09-25 16:31   ` Yuri D'Elia
2021-09-25 16:41     ` Eli Zaretskii
2021-09-25 17:03       ` Yuri D'Elia
2021-09-25 17:19         ` Eli Zaretskii
2021-09-25 17:31           ` Yuri D'Elia [this message]

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=87wnn4y335.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=emacs-devel@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 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).