all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A patch to make ERC use Tabbar.
@ 2008-12-18 15:23 Andy Stewart
  2008-12-20  3:49 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Stewart @ 2008-12-18 15:23 UTC (permalink / raw
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A patch to make ERC use Tabbar.
  2008-12-18 15:23 A patch to make ERC use Tabbar Andy Stewart
@ 2008-12-20  3:49 ` Glenn Morris
  2008-12-22 17:05   ` Michael Olson
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2008-12-20  3:49 UTC (permalink / raw
  To: Andy Stewart; +Cc: emacs-devel


I see this was applied in erc already.

http://lists.gnu.org/archive/html/erc-discuss/2008-12/msg00008.html




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A patch to make ERC use Tabbar.
  2008-12-20  3:49 ` Glenn Morris
@ 2008-12-22 17:05   ` Michael Olson
  2008-12-23  7:04     ` Michael Olson
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olson @ 2008-12-22 17:05 UTC (permalink / raw
  To: emacs-devel

Glenn Morris <rgm@gnu.org> writes:

> I see this was applied in erc already.
>
> http://lists.gnu.org/archive/html/erc-discuss/2008-12/msg00008.html

I will try to sync it to Emacs CVS HEAD later today.

-- 
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A patch to make ERC use Tabbar.
  2008-12-22 17:05   ` Michael Olson
@ 2008-12-23  7:04     ` Michael Olson
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olson @ 2008-12-23  7:04 UTC (permalink / raw
  To: emacs-devel

Michael Olson <mwolson@gnu.org> writes:

> I will try to sync it to Emacs CVS HEAD later today.

ERC has been synced.

-- 
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-23  7:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18 15:23 A patch to make ERC use Tabbar Andy Stewart
2008-12-20  3:49 ` Glenn Morris
2008-12-22 17:05   ` Michael Olson
2008-12-23  7:04     ` Michael Olson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.