all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62707@debbugs.gnu.org
Subject: bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle
Date: Fri, 07 Apr 2023 13:56:44 +0200	[thread overview]
Message-ID: <87jzyndhxf.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <83a5zkoua9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Apr 2023 13:34:22 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Maybe it's distracting at times, but this is how Emacs behaves with
> all the toolkits, or at least most of them.  The size of the
> scroll-bar thumb is set according to the size of text, not according
> to the number of lines.  So I don't think we should change this for
> just one configuration.

Ah ok.  Now that I know the meaning I guess it is a feature ;-) I have
just checked and it is really less obvious (or distracting) with the
gtk3 backend.  I don't know why.

For my patch, it shouldn't change any behaviour.  It is just:

    - less code in xterm.c
    - one less call to XFillRectangle

But maybe there are some X11 optimization that I'm aware of: like it is
better to do two small area XFillRectangle than one big one.  So it's up
to you to decide if it should be applied or just ditched.

Thanks.
-- 
Manuel Giraud





  reply	other threads:[~2023-04-07 11:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07  6:46 bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-07  7:10 ` Eli Zaretskii
2023-04-07  7:55   ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-07  9:14     ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-07 10:40       ` Eli Zaretskii
2023-04-07 10:34     ` Eli Zaretskii
2023-04-07 11:56       ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-04-07 12:56       ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-07 13:46         ` Eli Zaretskii
2023-04-07 13:57           ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-08  0:13         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-08  0:11     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-08 14:46       ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87jzyndhxf.fsf@ledu-giraud.fr \
    --to=bug-gnu-emacs@gnu.org \
    --cc=62707@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /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.