unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: adam@alphapapa.net, emacs-devel@gnu.org
Subject: Re: tab-bar: Defining another mouse-button binding?
Date: Thu, 09 Sep 2021 22:38:52 +0300	[thread overview]
Message-ID: <83h7etk08j.fsf@gnu.org> (raw)
In-Reply-To: <878s05lfp5.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 09 Sep 2021 22:19:34 +0300)

> From: Juri Linkov <juri@linkov.net>
> Cc: adam@alphapapa.net,  emacs-devel@gnu.org
> Date: Thu, 09 Sep 2021 22:19:34 +0300
> 
> >> >> to drag a tab by mouse-1
> >> >
> >> > works, but feels strange, because we don't really drag the button: it
> >> > is never shown in an intermediate position while dragging.  I wonder
> >> > whether we should advertise such a strange "dragging".
> >> 
> >> There is no indication during dragging, and currently I have no idea
> >> how to shown an intermediate indication, but at the end it works,
> >> so maybe this could be explained in the documentation.
> >
> > What would you like to explain there?
> 
> That there is no indication during dragging, but at the point of
> releasing the mouse button, the tab is moved here.

That doesn't need to be explained, people can see it.  I just don't
think we can call this "dragging the tabs", because that's not how
this looks in other applications, and people will be disappointed.

> >> >> and also wheel-left/wheel-right to switch to the next/previous tab,
> >> >> and S-wheel-left/wheel-right to move the tab.
> >> >
> >> > This doesn't work, neither on GUI frames nor on TTY frames.  I get an
> >> > error message about "<nil> <mouse-wheel> is undefined".
> >>
> >> Does the mouse wheel work on a tab-line?
> >
> > No, it doesn't, AFAICT.
> 
> Then could you please send both event names of <mouse-wheel>
> for both directions of mouse wheel scrolling.

I don't understand: I just told you, above, what events are sent in
this case.  is that not what you are asking about?



  reply	other threads:[~2021-09-09 19:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07  9:37 tab-bar: Defining another mouse-button binding? Adam Porter
2021-09-08 18:12 ` Juri Linkov
2021-09-08 19:00   ` Adam Porter
2021-09-08 19:23     ` Juri Linkov
2021-09-09  7:53     ` Juri Linkov
2021-09-09 17:28       ` Eli Zaretskii
2021-09-09 18:58         ` Juri Linkov
2021-09-09 19:15           ` Eli Zaretskii
2021-09-09 19:19             ` Juri Linkov
2021-09-09 19:38               ` Eli Zaretskii [this message]
2021-09-10  6:36                 ` Juri Linkov
2021-09-10  7:05                   ` Eli Zaretskii
2021-09-10 16:19                     ` Juri Linkov
2021-09-10 17:59                       ` Eli Zaretskii
2021-09-11  8:39                       ` martin rudalics
2021-09-11  9:39                         ` Eli Zaretskii
2021-09-11 11:03                           ` Eli Zaretskii

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=83h7etk08j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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).