Modeline Clicks and Drags
bash
If depressed within a window modeline:
ACTION MOUSE KEY
(1) clicked on the first blank character of a window’s modeline,
the window’s buffer is buried (placed at the bottom of the
buffer list);
(2) clicked on the right edge of a window’s modeline, the Info
buffer is displayed, or if it is already displayed and the
modeline clicked upon belongs to a window displaying Info,
the Info buffer is hidden;
(3) clicked on the buffer id of a window’s modeline, dired is run
on the current directory, replacing the window’s buffer;
successive clicks walk up the directory tree
(4) clicked anywhere within the middle of a window’s modeline,
the function given by action-key-modeline-function is
called;
(5) dragged vertically from a modeline to within a window, the
modeline is moved to the point of the drag release, thereby
resizing its window and potentially its vertically neighboring
windows;
(6) dragged other than straight vertically from a modeline to another
window, duplicate the modeline’s window buffer to the window of
release;
(7) dragged from a bottommost modeline when the frame has a non-nil
drag-with-mode-line property, then move the frame until
release of the Action Mouse Key;
(8) otherwise, dragged from a another modeline to outside of
Emacs (MacOS only), create a new frame sized to match the
selected window with the same buffer.bash
ASSIST MOUSE KEY
(1) clicked on the first blank character of a window’s modeline,
the bottom buffer in the buffer list is unburied and placed in
the window;
(2) clicked on the right edge of a window’s modeline, the summary
of Smart Key behavior is displayed, or if it is already
displayed and the modeline clicked upon belongs to a window
displaying the summary, the summary buffer is hidden;
(3) clicked on the buffer id of a window’s modeline, the next
buffer in sequence is displayed in the window;
(4) clicked anywhere within the middle of a window’s modeline,
the function given by assist-key-modeline-function is
called;
(5) dragged vertically from a modeline to within a window, the
modeline is moved to the point of the drag release, thereby
resizing its window and potentially its vertically neighboring
windows;
(6) dragged other than straight vertically from a modeline to another
window, swap buffers in the two windows;
(7) dragged from a bottommost modeline when the frame has a non-nil
drag-with-mode-line property, then move the frame until
release of the Action Mouse Key;
(8) dragged from a modeline to outside of Emacs (MacOS only),
create a new frame sized to match the selected window with
the same buffer. If there is only one window in the source
frame or if hycontrol-keep-window-flag is non-nil,
leave the original window and just clone it into the new
frame; otherwise, delete the original window.bash
If dragged from a window and released within a window modeline:
ACTION KEY
(1) If depress was on a buffer name in Buffer-menu/ibuffer mode or on
a file/directory in dired mode, splits the release window and displays
the item in the original release window.
(2) Otherwise, splits the release window and displays the depress window’s
buffer in the original release window.
ASSIST KEY
Swaps buffers in the two windows.