GNU bug report logs - #76084
31.0.50; Dragging tab line does not resize windows, unlike header line or mode line

Previous Next

Package: emacs;

Reported by: Jared Finder <jared <at> finder.org>

Date: Thu, 6 Feb 2025 06:09:01 UTC

Severity: normal

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Jared Finder <jared <at> finder.org>
Cc: 76084 <at> debbugs.gnu.org
Subject: bug#76084: 31.0.50; Dragging tab line does not resize windows, unlike header line or mode line
Date: Mon, 10 Feb 2025 11:15:34 +0100
> The code in xdisp.c that updates the mouse icon for dragging the mode
> line (search for "draggable") is straightforward to adjust to also
> handle the header and tab lines.  That works for almost all cases, I
> can confirm it works fine for Info mode, tab-line mode, and
> window-tool-bar mode.

Can you do that?

> It doesn't work for ruler-mode still because
> ruler-mode sets its own binding for <header-line> <down-mouse-1> in
> its keymap.
>
> To handle this I would need to add checks against the down-mouse-1
> keybinding before setting the mouse icon.  I'm just worried about
> performance here since looking up the keymap would get run on mouse
> motion.

I think there's no reason to bother about 'ruler-mode'.  IIRC, apart
from the scroll bar, the ruler has no "empty space" and dragging should
mostly happen in a horizontal fashion.

martin





This bug report was last modified 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.