From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jay Kamat Newsgroups: gmane.emacs.help Subject: Re: Separate area at the top for a serious tab bar Date: Mon, 25 Jun 2018 00:48:44 -0400 Message-ID: <87bmbz8o9f.fsf@gmail.com> References: <376678535.4221832.1529478419186.ref@mail.yahoo.com> <376678535.4221832.1529478419186@mail.yahoo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529902033 18943 195.159.176.226 (25 Jun 2018 04:47:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2018 04:47:13 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 26.1.50 Cc: "help-gnu-emacs@gnu.org" To: "R. Diez" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 06:47:09 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXJPA-0004q4-Ie for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2018 06:47:08 +0200 Original-Received: from localhost ([::1]:44200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXJRH-0002LD-FP for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2018 00:49:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXJQq-0002L7-Kv for help-gnu-emacs@gnu.org; Mon, 25 Jun 2018 00:48:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXJQn-0005y7-F3 for help-gnu-emacs@gnu.org; Mon, 25 Jun 2018 00:48:52 -0400 Original-Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:43398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXJQn-0005wy-9x for help-gnu-emacs@gnu.org; Mon, 25 Jun 2018 00:48:49 -0400 Original-Received: by mail-qt0-x230.google.com with SMTP id y89-v6so10897627qtd.10 for ; Sun, 24 Jun 2018 21:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=c/b4elfJxZPQQKkcNaCKsfPtsDTkP8o3M0e97rE3gjs=; b=mdcoZY2TWwehOLiRspKbbTc4OtmuYIMM0Ep3tXPVVSFJ4e9TgS6X9od5lDnBkG6gr8 zMiu6sjCFhYQbZ2UKqc8Q0qX/jSlkNA/qhrRjERL3yp0PkeJdMloe4oO+GLEyz9r5Cae EmEvBpL4OzWBpT4I0rNBxPr9lzbRUEGoh17Agiv2/c0GqiMHQH6pcRclB+UBQsdZK/j+ fZ7Ixe2A9SnBe/pHRkYHEgpt/gKtamTQA+2vm3Zre/NKKDLNSPn+SNeT4KC8tV2PKds9 deB+nrF9YAsum+GdXaQToeA938YB6yfqg4Q8A3cyDDa2iCEQiK4t/2hZlphEMbadT75k MRUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=c/b4elfJxZPQQKkcNaCKsfPtsDTkP8o3M0e97rE3gjs=; b=OR0S26k13Y2L1E2VP2IlUIKJSvgnCJwQm9ZaIc4KQ/JhTE3XulL9VdOD4TUgEPUBXg qN8eWYpCToivrm5k/2vmMmfu8HSyCKYqyyKYKJdOU2LvLjScXTk8k0P38aFeEpjMdpy0 I/v6+15Q2cWbOltjZ/UifuXvYkNCdRMsBrXDfGtbqCQYsU26clPsD8pTTocTuTnr47Qm bBllW2vOzM3c0g7+AflM6YS4UN+78UoCXrUZXqnSZJsY5u91Jv+i5WQOwAz9WQmT6K6Y rhbUT/vourUusZ7zqJXuLYahJpE+xgjgQSQnen11kZGFxrschgvRyxSEMBf1j5wd89+N 47lQ== X-Gm-Message-State: APt69E3Ul3BNefV7nnuhRVD6blYLjhqdwD74vrh9ojssg4hr4hMy7CrT Yc/9C6hBConLzeLJqoPfo+p/XpFv X-Google-Smtp-Source: ADUXVKJV7CRIWn+tXqrfNoaWtTlwZ/zjll1I57RfyY38l/ojW21UhMb9zUtxktqh5MAK0KWKCpZX4g== X-Received: by 2002:ac8:5398:: with SMTP id x24-v6mr4214308qtp.146.1529902127290; Sun, 24 Jun 2018 21:48:47 -0700 (PDT) Original-Received: from laythe ([207.253.47.138]) by smtp.gmail.com with ESMTPSA id h67-v6sm8832621qkc.77.2018.06.24.21.48.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Jun 2018 21:48:46 -0700 (PDT) In-reply-to: <376678535.4221832.1529478419186@mail.yahoo.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117274 Archived-At: Hi, R. Diez writes: > I just do not want to live without one. Therefore, I am a long-time user of > tabbar.el . I have installed several little enhancements and hacked together > some dodgy Lisp code over the years. It is a problematic solution that still > frustrates me on a regular basis. As someone who has come from other editors (originally eclipse, intellij, and atom), and has thought the exact same thing (that a tabbar is a necessity for an editor), I know how you feel. I would highly reccomend giving the buffer based workflow a try, however. Once I tried seriously dropping tabs, I can't imagine going back to a tabbed workflow. > I am no Lisp expert, but I am sure that many smarter people would quickly > write a better tab bar package if given a good chance. My bet is that > something is holding them back. tabbar.el has many issues with it implementation wise. I think that if someone did a full audit of it and cleaned out the bugs and fixed the performance issues, it would handle a lot nicer, even without any changes on the Emacs side. I think that most of the bugs in the issue tracker are fixable purely in elisp: https://github.com/dholm/tabbar/issues > The reason may be the lack of a separate area for a tab bar. If I remember > correctly, the current tabbar.el steals an area designed for displaying a > ruler. This stealing causes problems, because the handling of that area is > not flexible enough and yields trouble here and there. It is not a good > basis to build upon. See `tabbar-local-mode', which I found works well even when the header line is used. See it's docstring for more information on that. When I used tabbar, I just turned off the header for all the modes I used and used tabbar-local-mode when that option wasn't available. I actually wrote a blog post about my feelings on this topic earlier, maybe you would find some interesting ideas in it: http://jgkamat.gitlab.io/blog/emacs-tabs.html My tabbar configuration is here; if you decide to continue using tabbar, you may find some useful things in it: https://gitlab.com/jgkamat/dotfiles/blob/13da6a341688e5fb1e74d6521dc9a3a941dd0cde/emacs/.emacs.d/lisp/tabbar-tweaks.el -Jay