From: martin rudalics <rudalics@gmx.at>
To: rms@gnu.org
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Emacs 22.1 spit window mouse resize
Date: Sat, 09 Jun 2007 10:35:07 +0200 [thread overview]
Message-ID: <466A663B.2050801@gmx.at> (raw)
In-Reply-To: <E1HwfND-0001X2-36@fencepost.gnu.org>
> I think that dragging the mode line up or down
> should not change the selected window. If it does select a window,
> that's a bug.
>
> I tried to fix this bug, using mouse-drag-move-window-top
> to avoid the need to temporarily select a window inside
> mouse-drag-mode-line-1. Why does it select a window?
Because of
(global-set-key [mode-line drag-mouse-1] 'mouse-select-window)
Is there any need for this barely sensical binding?
In this context:
1. Has the drag-mouse-1 concept where I can drag an object _without_
keeping the button depressed been abandoned for modelines and dividers?
Is there a reasonable way to implement it? Clicking button-1 again to
stop the drag would simply have to do _nothing_. But this would
apparently conflict with
;; Binding mouse-1 to mouse-select-window when on mode-, header-, or
;; vertical-line prevents Emacs from signaling an error when the mouse
;; button is released after dragging these lines, on non-toolkit
;; versions.
(global-set-key [mode-line mouse-1] 'mouse-select-window)
2. Is there any way to drag vertical dividers in a more convenient way
than to move the mouse cursor to a tiny area on the mode-line? I could
conceive to move vertical dividers either by dragging a fringe (provided
it's there) or by dragging scroll bars "horizontally" (thus trying to
distinguish merely x- and merely y- increments).
I tried a slightly enhanced `mouse-drag-vertical-line' with the
following bindings
(global-set-key [right-fringe down-mouse-1] 'mouse-drag-right-fringe)
(global-set-key [left-fringe down-mouse-1] 'mouse-drag-left-fringe)
and it works well though it might conflict with `gdb-ui' bindings.
next prev parent reply other threads:[~2007-06-09 8:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1648.1181145235.32220.bug-gnu-emacs@gnu.org>
2007-06-07 2:20 ` Emacs 22.1 spit window mouse resize Bob Babcock
2007-06-07 8:53 ` martin rudalics
2007-06-08 14:23 ` Richard Stallman
2007-06-09 8:35 ` martin rudalics [this message]
2007-06-17 13:43 ` martin rudalics
[not found] ` <mailman.2286.1182087886.32220.bug-gnu-emacs@gnu.org>
2007-06-17 19:26 ` Bob Babcock
[not found] ` <mailman.1705.1181206608.32220.bug-gnu-emacs@gnu.org>
2007-06-08 3:07 ` Bob Babcock
[not found] ` <mailman.1762.1181272080.32220.bug-gnu-emacs@gnu.org>
2007-06-09 2:45 ` Bob Babcock
2007-06-06 15:54 martin rudalics
-- strict thread matches above, loose matches on Subject: below --
2007-06-06 2:37 Bob Babcock
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=466A663B.2050801@gmx.at \
--to=rudalics@gmx.at \
--cc=bug-gnu-emacs@gnu.org \
--cc=rms@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 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.