unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: --without-toolkit-scroll-bars at runtime?
Date: Mon, 21 Mar 2005 11:28:57 -0500	[thread overview]
Message-ID: <jwv8y4hq898.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <x5r7i97pbr.fsf@lola.goethe.zz> (David Kastrup's message of "Mon, 21 Mar 2005 02:36:08 +0100")

> how difficult would it be to make "--without-toolkit-scroll-bars" a
> runtime instead of or in addition to being a compile-time option?

I had started to look into it at some point.  It's probably not too
difficult, but still a fair bit of work.  Doesn't look like it's worth
the trouble.

A more interesting direction (to me anyway) would be to change the
toolkit's behavior.  Xaw3d (by default) behaves just liek Xaw so you get the
3d look while keeping the flexibility.  Sadly RedHat's Xaw3d is not using
the default, instead it's compiled with -DARROW_SCROLLBAR to get the dumber
behavior (and little arrows at the end), I can't remember what Debian does.
It wouldn't be too hard to make the Xaw3d behavior changeable at runtime
with Xresoucres.  Hopefully someone will make that change.

Similarly, it would be good to provide a Gtk "theme" that gives Xaw-like
behavior (or some other: there used to be a variety of useful behaviors in
various scrollbars, such as the one used in the Smalltalk machine, ...).
But I doubt it can currently be done with just a theme.

> forward motion without moving the mouse, you can't control the scroll
> amount to get just the right window start for getting a
> block/function/loop fully on-screen.  Something which, by the way, is
> also hard to do by keyboard given Emacs' recenter policies.

I use C-0 C-l and it's worked fine so far.  But I admit I've never tried it
with images in the buffer.  In any case, it *should* work, so if it doesn't
we should try and fix it.


        Stefan

  reply	other threads:[~2005-03-21 16:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21  1:36 --without-toolkit-scroll-bars at runtime? David Kastrup
2005-03-21 16:28 ` Stefan Monnier [this message]
2005-03-22 10:50   ` Miles Bader
2005-03-22 21:47     ` Jan D.
2005-03-22  3:34 ` Richard Stallman
2005-03-22 10:45   ` David Kastrup
2005-03-22 14:29 ` Ehud Karni

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=jwv8y4hq898.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).