unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: RE: not too happy with Emacs 21 vertical-line dragging when scrollbars present
Date: Mon, 4 Oct 2004 11:12:39 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICAEIPCAAA.drew.adams@oracle.com> (raw)
In-Reply-To: <E1CEUbt-0003Ym-0A@fencepost.gnu.org>

I'm not surprised that this was not thought of :-).

[ BTW, at one point with Emacs 20 (or 19?) I discovered by chance that I
could bind that small square using `nil' as the key! Later this hack
possibility was removed:
(global-set-key [nil down-mouse-1] 'shrink-frame-to-fit) ]

Anyway... I think you mean the two mode-line characters next to  the scroll
bar. In my case, the scroll bar is on the right, so these would be the last
(rightmost) two characters.

If I understand you correctly, you are saying:

1. Leave the mode line extended under the scroll bar.
2. But change the part of it that is under the scroll bar to show a
drag-handle graphic (image/glyph), indicating that you can drag that spot.

Is that right? If so, that's not a bad suggestion. And it would satisfy
Kim's criterion that we visually associate the scroll bar with its window. I
had been complaining that the drag handle had nothing to do with
(activating) the mode line, but I think your proposal is a good one.

I can take a look at this, if no one else is interested in hacking it.  It
would be better, however, for someone already familiar with programming the
new mode line to take a crack at it. I'll see what I can do, when I get some
time. If this is simple to do, then someone please send the few lines of
code needed.

Also, is it straightforward to use something like the drag-handle mouse
pointer as the glyph for those two mode-line characters? Suggestions
appreciated.

Thanks,

  Drew


-----Original Message-----
From: Richard Stallman [mailto:rms@gnu.org]
Sent: Monday, October 04, 2004 8:19 AM
To: Drew Adams
Cc: emacs-devel@gnu.org
Subject: Re: not too happy with Emacs 21 vertical-line dragging when
scrollbars present


    The squares where the `.' are were visible drag handles for the windows.

ISTR that we never thought of them as having a purpose; they were
simply unused space.  So we used them to make the mode line bigger,
without realizing anything useful was being taken away.

At Lisp level you could put a different meaning on clicks on the first
two characters of the mode line.  Want to try that?  It would be
desirable to change what those two characters look like, so as to give
a visual hint.

  reply	other threads:[~2004-10-04 18:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DNEMKBNJBGPAOPIJOOICEEIKCAAA.drew.adams@oracle.com>
2004-10-04 15:18 ` not too happy with Emacs 21 vertical-line dragging when scrollbars present Richard Stallman
2004-10-04 18:12   ` Drew Adams [this message]
2004-10-04 21:37     ` Miles Bader
2004-10-04 21:46       ` Drew Adams
2004-10-05  1:33         ` Miles Bader
2004-10-05  2:01           ` Drew Adams
2004-10-05  8:20             ` Kim F. Storm
2004-10-05  8:49               ` Drew Adams
2004-10-06 17:10               ` Richard Stallman
2004-10-06 17:26                 ` Stefan Monnier
2004-10-07 12:34                 ` Kim F. Storm
2004-10-07 17:16                   ` Drew Adams
2004-10-07 21:18                     ` Kim F. Storm
2004-10-07 21:33                       ` Drew Adams
2004-10-07 22:19                         ` Kim F. Storm
2004-10-07 22:35                           ` Drew Adams
2004-10-09 15:44                       ` Richard Stallman
2004-10-09 16:00                         ` Jason Rumney
2004-10-10 15:15                           ` Richard Stallman
2004-10-10 17:40                             ` Jason Rumney
2004-10-10 22:12                               ` Stefan
2004-10-11 16:45                               ` Richard Stallman
2004-10-11 19:12                                 ` David Kastrup
2004-10-08 16:05                   ` Richard Stallman
2004-10-09 21:29                     ` Kim F. Storm
2004-10-10 15:15                       ` Richard Stallman
2004-10-10 15:15                       ` Richard Stallman
2004-10-10 22:37                         ` Kim F. Storm
2004-10-06  5:28       ` Richard Stallman
2004-10-06  5:29     ` Richard Stallman

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=DNEMKBNJBGPAOPIJOOICAEIPCAAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --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).