all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: martin rudalics <rudalics@gmx.at>
Cc: 49247@debbugs.gnu.org, s930054123yaoyao@gmail.com
Subject: bug#49247: 28.0.50; [Feature Request] Make tab-bar-lines dragable
Date: Wed, 30 Jun 2021 22:37:07 +0300	[thread overview]
Message-ID: <878s2r9mr8.fsf@mail.linkov.net> (raw)
In-Reply-To: <0b86ca8e-d540-12c8-94ac-2f7327f82126@gmx.at> (martin rudalics's message of "Tue, 29 Jun 2021 15:16:59 +0200")

>> I actually don't quite see how to implement it even if it wasn't hard:
>> dragging the frame by its title bar or the external border is
>> implemented in the window manager, not in Emacs.  What would be the
>> way of implementing something similar in Emacs?
>
> See section 30.4.3.7 Mouse Dragging Parameters of the Elisp manual.

This is an impressive feature - it works like in window managers.

The only difference is that after trying

  (set-frame-parameter nil 'drag-with-header-line t)

then dragging is limited only to the screen boundaries
and doesn't allow dragging parts of the frame off the screen
(to leave frame partly visible) like window managers do.

Also can't drag by the mode-line with

  (set-frame-parameter nil 'drag-with-mode-line t)

but probably because it affects only frames without minibuffer window.

So it seems it should be possible to do the same for tab-line by implementing

  (set-frame-parameter nil 'drag-with-tab-line t)





  parent reply	other threads:[~2021-06-30 19:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28  3:57 bug#49247: 28.0.50; [Feature Request] Make tab-bar-lines dragable Liang-Jie Lee
2021-06-28 19:46 ` Juri Linkov
     [not found]   ` <CAB+tG3vqkAC+TDtoTDP=REnG+ODVky35UCaQVTfbiN5m34xL5w@mail.gmail.com>
2021-06-29  8:30     ` Juri Linkov
2021-06-29 11:53       ` Eli Zaretskii
2021-06-29 13:16         ` martin rudalics
2021-06-30 11:54           ` Eli Zaretskii
2021-07-01  7:53             ` martin rudalics
2021-07-01  9:03               ` Eli Zaretskii
2021-07-02  9:03                 ` martin rudalics
2021-07-04 20:32                   ` Juri Linkov
2021-06-30 19:37           ` Juri Linkov [this message]
2021-07-01  7:54             ` martin rudalics
2021-07-01  9:05               ` Eli Zaretskii
2021-07-04 20:37                 ` Juri Linkov
2021-07-04 21:09                   ` bug#49247: [External] : " Drew Adams
2021-07-05  2:26                   ` Eli Zaretskii
2021-07-05  9:06                   ` martin rudalics
2021-07-05 20:54                     ` Juri Linkov
2021-07-06 16:29                       ` martin rudalics
2021-07-06 16:41                         ` Juri Linkov
2021-07-07  7:31                           ` martin rudalics
2021-07-07 14:02                             ` bug#49247: [External] : " Drew Adams
2021-07-07 22:54                             ` Juri Linkov
2021-07-08  1:32                               ` bug#49247: [External] : " Drew Adams
2021-07-08 17:51                         ` Juri Linkov
2021-06-29 20:41         ` Juri Linkov

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=878s2r9mr8.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=49247@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    --cc=s930054123yaoyao@gmail.com \
    /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.