From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Tab bar tabs landed on master Date: Sun, 06 Oct 2019 01:07:54 +0300 Organization: LINKOV.NET Message-ID: <87a7aex2v9.fsf@mail.linkov.net> References: <8736gci5jn.fsf@mail.linkov.net> <83muej8a0f.fsf@gnu.org> <87zhijqfys.fsf@mail.linkov.net> <834l0r84at.fsf@gnu.org> <87bluyj51u.fsf@mail.linkov.net> <838spz45zc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128092"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 06 00:28:23 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGsXG-000XAx-3u for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2019 00:28:22 +0200 Original-Received: from localhost ([::1]:59240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGsXE-0007DA-NU for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2019 18:28:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49908) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGsRX-0001mX-8d for emacs-devel@gnu.org; Sat, 05 Oct 2019 18:22:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGsRV-0006s2-GO for emacs-devel@gnu.org; Sat, 05 Oct 2019 18:22:26 -0400 Original-Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:11092) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iGsRT-0006pt-Rz; Sat, 05 Oct 2019 18:22:24 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7CD8E3C0A1B; Sat, 5 Oct 2019 22:22:21 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (100-96-6-126.trex.outbound.svc.cluster.local [100.96.6.126]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 138443C0A39; Sat, 5 Oct 2019 22:22:21 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.3); Sat, 05 Oct 2019 22:22:21 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Left-Fumbling: 0d5c54ab7714630b_1570314141298_1605184523 X-MC-Loop-Signature: 1570314141298:2670616889 X-MC-Ingress-Time: 1570314141298 Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTP id 06D758181A; Sat, 5 Oct 2019 15:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=e+aTB7YUXtSJkR7P2dRuR2e7ix4=; b= aWo+eNEnl1yWMjBZmByr5U+SPyDFOwl68mgnOaY3hqGGOyF+07E/+x77grRF1GL0 A8xVCMIIFbe3QOblGLD42Gqr/DTrPLtkrm/EiAkk9ut+YJtsuf0GZsZ0Ul6hiRsA tP57C+FIGEH1TDHxd8uLDW1y3IVtrCgocP+qGaN+XcY= Original-Received: from mail.jurta.org (m91-129-99-99.cust.tele2.ee [91.129.99.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTPSA id 6C20B81818; Sat, 5 Oct 2019 15:22:16 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a36 In-Reply-To: <838spz45zc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Oct 2019 17:33:27 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrheefgddujeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrleelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrdelledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240634 Archived-At: > Can you explain how tab-bar-handle-mouse is supposed to work on TTY > frames with a mouse? It doesn't work for me on the MS-Windows > console: I get " is undefined". Which makes sense to > me, as I don't see any code which would generate a TAB_BAR_EVENT event > on a TTY, so I thought I need to write code to implement that in the > TTY case. However, the doc string of tab-bar-handle-mouse seems to > imply that I'm missing something. tab-bar-make-keymap-1 binds '(keymap (mouse-1 . tab-bar-handle-mouse)) that on TTY frames accepts mouse clicks anywhere on the tab bar, and then tab-bar-handle-mouse finds the clicked tab. > Did you try the code on TTY frames with some mouse capability, and if > so, what was your configuration? On TTY frames on GNU/Linux the code works well after enabling xterm-mouse-mode. I tried to test it on MS-Windows too, but can't figure out how to enable mouse on the MS-Windows console. I was able to run 'emacs -nw' only on winpty. Could you suggest how mouse could be enabled on the MS-Windows console?