From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "R. Diez" Newsgroups: gmane.emacs.help Subject: Help customising the behaviour of the new Tab Line mode Date: Fri, 14 Aug 2020 15:34:29 +0200 Message-ID: <005b781b-a6e0-e1b8-bf2e-090c67de16ac@yahoo.de> References: <005b781b-a6e0-e1b8-bf2e-090c67de16ac.ref@yahoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24941"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 14 15:35:18 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6Zra-0006M3-Kk for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 15:35:18 +0200 Original-Received: from localhost ([::1]:38196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6ZrZ-0005TA-M6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 09:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6Zqy-0005Qw-Gm for help-gnu-emacs@gnu.org; Fri, 14 Aug 2020 09:34:40 -0400 Original-Received: from sonic307-53.consmr.mail.ir2.yahoo.com ([87.248.110.30]:36936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6Zqu-0001oB-UF for help-gnu-emacs@gnu.org; Fri, 14 Aug 2020 09:34:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1597412072; bh=AB6Hrq9yRuMrBp3fssucbS9p6r0iC+L1vkV4dNimDL4=; h=To:From:Subject:Date:References:From:Subject; b=FdbCoX7IOU0yvV/P05R4iXv7F6I0V+c6fHPqvxKde6pJHm50A/i3Z/JNfzjSY5OrlHURSzIt3iHilHuWXonpK6nA8p974lhfnFeLOAL1y7Woy8FWlzg5L6GmVUGjqfNaA+zLrqEaYRnX8sm1dArxjxjS5O+VK0N4rvAyb15CQsQEXS4H6WR77CO4Nj1VvWd5q8KUy2Ofa1P8Ee5S+B6dXTtSagMO6/xzi50gABXdjhlepxDGeaC79TuoJkVBPgGTlbL0zFwY5YIN+kOIcqpL5mn8IEhXZVRMGLItDv4ctuhG+Tefh+Hp0nbgf5F+WFl5IjCrbdibzoBgdWq5RDpAXg== X-YMail-OSG: 5xENt6EVM1mqi06Cuf2O3a6sEAHQgSW.ml8cSGlTfwOEm5zp8FJDKN.rf3pIqK8 j_3wb90fBMlJ.dSnFn.c_Ceaw9AaTZndn.7ycAyHCyu.mPnDRW7dCH0V4gCJPjYYvJzZFb5pksTg auuFmYT6RxC1G6OJtbPZPigMehUfVS7XtAKXa_rqpoIOvYR0w7yuy6SL3kemSl7gJCRo4DSidp5x YGbnloRE4CbjkoCNfgHFb_l4CNCbLJFEdwAlmVaaANpinoo7eU4aZsoMVNsxLB2psfBBUZrvWr8O v.SEOo2x_MGHJ9lCV_sOmowvbHmACzEy0d1CTEy3qSMEWz1GxVoK0CIZiNCWKBpwvGehnqdYdgZP XL5TdwbGKLsB7bbCqAdInhFHZK4mztWN2f.zg9nTv6tPIwpI18D43fdTM6R_XG2uYLavl68og6bB aW0rhjNSSIxd_otxEdX7ahlrJXTlWqaZIGUer_HIiFM_Ps8JTZCmXkdSj4uPuGopDibF9oziiQK6 KEUkQYIlueOjJ.NxFzuCAHIYCzfjhwrcziExYa5CxF_OFRdUrVjryX8feWYbmvd8dyNe8cDgGhAa qJpfm5IXLSgUsak.jT6okmiUTB_lpt4ayqcu7NEi4pJyuzuAxwMdhR.k0eDB0nD9oucXZF9Ghqxh 6edp7KId_mdq5J40OuLaDIaEz94dlpn8rhfLC501JXX3dYzoin8ArZXmHfIU2O3MnDMSeo.mRnDf xaqWXlwVd5LBuxosPcb30criNUy2wDxxqpEGR5l1E4OgCFUB5Lhbig7mcjmS6gmHL7ldtOGLdrpE HUV3mX2AO4.uQRTzWQr6q7In1lkov5tcs5..c4QvPz Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Fri, 14 Aug 2020 13:34:32 +0000 Original-Received: by smtp405.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cb7c088f4e1eecaec8046b6c50840dbb; Fri, 14 Aug 2020 13:34:30 +0000 (UTC) Content-Language: en-GB X-Mailer: WebService/1.1.16455 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=87.248.110.30; envelope-from=ruben10post@yahoo.de; helo=sonic307-53.consmr.mail.ir2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/14 09:34:32 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123657 Archived-At: Hi all: I have been accumulating frustration with Emacs since many years, but the 27.1 release got me excited again. Specifically: Feature 1) "Mouse scroll up and down with control key modifier changes font size." Wow, zoom in, like everybody else! Feature 2) Tab Line mode Tabs! Official tabs!!! Finally!!!!! Could it be that the Emacs developers are actually listening to us, humble users???? I have already written in this mailing list about how important tabs are for me, because they help me use my positional memory to switch quickly between documents. The gory details are here: https://lists.gnu.org/archive/html/help-gnu-emacs/2018-06/msg00289.html For example, I tend to have source.h to the left and source.cpp to the right, so that I can quickly switch between them. I tend to keep all such .h & .cpp files in pairs on the tab bar. I know I could use 'ff-find-other-file' for that, but I use these positional navigation in many other situations, like base.h to the left, and derived.h to the right. And so on. I have been using old package tabbar.el, but it is full of bugs and quirks. There are some variants with other bugs and quirks. I have compensated with my poor Lisp. But now, I want to do it "right" with the new Tab Line mode in Emacs 27.1. Issue 1) The first thing I noticed is that 'compile' creates a window/pane/whatever for the compilation output, and the tab line at the top does not show the compilation buffert. In fact, if I call split-window-below, the tab line below only has the current buffer on it. However, I would like all Tab Lines to show all buffers (or at least all buffers visited in the whole frame). And I want all those buffers to have the same tab order (because my positional memory is useful, but limited). That would match the behaviour of the old tabbar.el package. How do I achieve that? Please remember that my Lisp is rather limited. I can tinker, but it won't be pretty. 8-) Issue 2) The second thing I am missing is the ability to reorder tabs. I actually do not touch the mouse for that. To get an idea of what I am looking for, open a few web pages in Firefox or Chromium, and then: - Press Ctrl+PageUp to move the current view a few pages to the right. - Press Ctrl+Shift+PageDown to move the current tab to the left, exchanging its position with the previous tab. With key shortcuts Ctrl+Shift+PageUp and Ctrl+Shift+PageDown, I have got used to reordering tabs very quickly. It is like reordering your objects on your physical desktop to your liking, so that you always find everything quickly. Has anybody written some Lisp to achieve that reordering with Emacs 27.1's Tab Line mode? Many thanks in advance, rdiez