From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Scrollbar bug on OS X
Date: Wed, 06 Apr 2005 13:14:43 -0400 [thread overview]
Message-ID: <jwvr7hnalba.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <5b72982df8c370d3a58358de397046c8@gmail.com> (David Reitter's message of "Wed, 6 Apr 2005 15:32:14 +0100")
> I acknowledge your explanations on the other points - thanks. In the UI that
> I'd like to implement in order to conform to standards in my environment,
> the vertical slider size shows a proportion of _ displayed lines_ not
> document characters or real lines (those that end with a CR or LF). Whether
Since the height of lines can vary, the number of displayed lines can change
from one part of the buffer to another, so it's still not stable.
You really need to use the pixel size.
> visual change on the screen is more", and that b) both Windows and Mac
> software has sliders with a stable size.
The closest kind of software would be things like web-browsers for which
some details are relevant:
- the slider size changes as the page is being filled and rendered, so it's
not nearly as stable as you make it out to be.
- html pages are typically small and web-browsers's algorithms are taylored
for that case, they tend to become unusable when browsing large pages
(like more than a megabyte), whereas it is considered important for Emacs
to be able to comfortably edit multi-MB files (although there is also
a limit).
- html-rendering becomes even more unusable if you start to actually
interactively edit the 1MB page.
I.e. it's not just that Emacs hackers are incompetent, but it's that the
problem is difficult.
> Is there a way to store count-screen-lines statically and just update it
> when necessary?
Of course. That's one of the tricks we'd have to use in order to get
"stable" slider sizes. Problem is, I haven't yet heard of other useful
things we could do with that kind of extra info, so again: the amount of
work seems unjustified.
Stefan
next prev parent reply other threads:[~2005-04-06 17:14 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-03 10:37 Aquamacs distro for OS X like behavior David Reitter
2005-04-04 11:40 ` David Kastrup
2005-04-04 14:02 ` David Reitter
2005-04-04 17:28 ` Stefan Monnier
2005-04-04 17:47 ` David Kastrup
2005-04-04 23:27 ` David Reitter
2005-04-05 0:02 ` David Kastrup
2005-04-05 14:58 ` Stefan Monnier
2005-04-06 13:03 ` David Reitter
2005-04-06 14:08 ` Stefan Monnier
2005-04-06 14:32 ` Scrollbar bug on OS X (was: Aquamacs distro for OS X like behavior) David Reitter
2005-04-06 17:14 ` Stefan Monnier [this message]
2005-04-06 22:07 ` Miles Bader
2005-04-06 22:25 ` Scrollbar bug on OS X David Kastrup
2005-04-06 22:51 ` Stefan Monnier
2005-04-07 18:27 ` Richard Stallman
2005-04-07 19:26 ` Stefan Monnier
2005-04-07 19:30 ` David Kastrup
2005-04-07 19:46 ` Jan D.
2005-04-07 19:59 ` David Reitter
2005-04-08 2:05 ` Miles Bader
2005-04-08 11:31 ` David Reitter
2005-04-08 12:42 ` Stefan Monnier
2005-04-08 13:12 ` David Reitter
2005-04-08 14:08 ` Stefan Monnier
2005-04-08 15:46 ` Kevin Rodgers
2005-04-09 8:04 ` Eli Zaretskii
2005-04-09 16:04 ` Luc Teirlinck
2005-04-09 16:46 ` Miles Bader
2005-04-09 17:02 ` Luc Teirlinck
2005-04-09 16:18 ` Luc Teirlinck
2005-04-11 18:22 ` Kevin Rodgers
2005-04-07 19:41 ` Jan D.
2005-04-08 14:32 ` Richard Stallman
2005-04-08 14:50 ` Stefan Monnier
2005-04-10 1:54 ` Richard Stallman
2005-04-10 5:53 ` Jan D.
2005-04-10 10:58 ` Miles Bader
2005-04-11 1:56 ` Richard Stallman
2005-04-06 22:44 ` Stefan Monnier
2005-04-06 16:17 ` Scrollbar size flaky on OS X (was: Aquamacs distro for OS X like behavior) David Reitter
2005-04-06 17:19 ` Scrollbar size flaky on OS X Stefan Monnier
2005-04-05 19:07 ` Aquamacs distro for OS X like behavior Richard Stallman
2005-04-05 19:25 ` Lennart Borgman
2005-04-06 14:59 ` Richard Stallman
2005-04-06 16:20 ` David Kastrup
2005-04-07 18:27 ` Richard Stallman
2005-04-07 22:24 ` Lennart Borgman
2005-04-08 9:17 ` Johan Vromans
2005-04-08 9:50 ` David Reitter
2005-04-09 3:38 ` Richard Stallman
2005-04-05 4:22 ` Richard Stallman
2005-04-04 18:25 ` Aidan Kehoe
2005-04-04 21:01 ` 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
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=jwvr7hnalba.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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).