unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jay Kamat <jaygkamat@gmail.com>
To: "R. Diez" <rdiezmail-emacs@yahoo.de>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Separate area at the top for a serious tab bar
Date: Mon, 25 Jun 2018 00:48:44 -0400	[thread overview]
Message-ID: <87bmbz8o9f.fsf@gmail.com> (raw)
In-Reply-To: <376678535.4221832.1529478419186@mail.yahoo.com>

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



  parent reply	other threads:[~2018-06-25  4:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <376678535.4221832.1529478419186.ref@mail.yahoo.com>
2018-06-20  7:06 ` Separate area at the top for a serious tab bar R. Diez
2018-06-20 12:16   ` martin rudalics
2018-06-20 12:55     ` Van L
2018-06-27  8:44     ` R. Diez
2018-06-27  9:17       ` martin rudalics
2018-06-20 14:09   ` Drew Adams
2018-06-22  5:51     ` Van L
2018-06-20 16:32   ` Teemu Likonen
2018-06-24 18:31   ` Grant Rettke
2018-06-25  4:48   ` Jay Kamat [this message]
2018-06-25  6:24     ` R. Diez
2018-06-25  9:28       ` Marcin Borkowski
2018-06-25 10:20         ` R. Diez
2018-06-25 14:49           ` Eli Zaretskii
2018-06-25 14:56             ` Jean-Christophe Helary
2018-06-25 15:25               ` Eli Zaretskii
2018-06-26 18:55             ` Bob Proulx
2018-06-26 19:01               ` Eric Abrahamsen

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=87bmbz8o9f.fsf@gmail.com \
    --to=jaygkamat@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rdiezmail-emacs@yahoo.de \
    /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.
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).