From: Andy Stewart <lazycat.manatee@gmail.com>
To: emacs-devel@gnu.org
Subject: A patch to make ERC use Tabbar.
Date: Thu, 18 Dec 2008 23:23:30 +0800 [thread overview]
Message-ID: <87bpv9tslp.fsf@debian.domain> (raw)
Hi all,
ERC is very great except can use Tabbar-mode to display buffer title.
Today, i hacking the code of ERC and Tabber, I have success use Tabbar
with ERC.
,----
| First add this variable define in erc.el:
|
| (defvar erc-header-line-uses-tab-p t
| "Use tab instead `erc-header-line-format' display in header line.")
|
| And apply this patch to erc.el
|
| ,----
| | 6084 (when (boundp 'header-line-format)
| | 6085 (let ((header (if erc-header-line-format
| | 6086 (format-spec erc-header-line-format spec)
| | 6087 nil)))
| | 6088 +++ (cond (erc-header-line-uses-tab-p
| | 6089 +++ (set (make-local-variable 'tabbar--local-hlf) header-line-format)
| | 6090 +++ (kill-local-variable 'header-line-format))
| | 6091 ((null header)
| | 6092 (setq header-line-format nil))
| `----
`----
I use Emacs 23.0.60.1 cvs version.
So any developer of ERC can apply this patch?
-- Andy
next reply other threads:[~2008-12-18 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 15:23 Andy Stewart [this message]
2008-12-20 3:49 ` A patch to make ERC use Tabbar Glenn Morris
2008-12-22 17:05 ` Michael Olson
2008-12-23 7:04 ` Michael Olson
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=87bpv9tslp.fsf@debian.domain \
--to=lazycat.manatee@gmail.com \
--cc=emacs-devel@gnu.org \
/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).