erc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-discuss] Re: Generalizing erc-track?


From: Michael Olson
Subject: [Erc-discuss] Re: Generalizing erc-track?
Date: Thu, 29 Jun 2006 22:46:19 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Jorgen Schaefer <address@hidden> writes:

> Michael Olson <address@hidden> writes:
>
>> That could be worthwhile, as long as it implements the functionality
>> we need (and if it doesn't, it should be easy to add, with hooks
>> a-plenty).
>
> What functionality do you need?

I need at minimum to be able to implement the full functionality
contained in erc-track.el.  Specifics are below.

> http://www.emacswiki.org/cgi-bin/wiki/download/tracking.el
> provides a minor mode which does mode line handling with faces,
> face priorities, ignored buffers, and a few other things.
>
> The API used by LUI/Circe is trivial:
> (tracking-add-buffer BUFFER [FACES])
>
> Anything you are missing? (On my todo list especially for Circe 2
> are track priorities ala rcirc)

After taking a look at tracking.el, here's the current list.  These
should all be customizable options.

 - Minimum number of characters in a channel name to place in the mode
   line.
 - Maximum number of characters a channel name may contain before we
   require it to be shortened.
 - Function that is used to perform the shortening of names.
 - Whether to use any faces at all in the display.  To some extent
   this can be inferred by an existence or lack of faces in
   `tracking-faces-priorities', but that would make toggling more
   difficult.
 - Whether to ignore text whose face is not listed in
   `tracking-faces-priorities'.
 - Whether to display a count of unseen messages for each buffer that
   has unseen messages next to its shortened name.
 - The string to use as a separator for the aforementioned option.
 - If there are no buffers that have changes in them, determine
   whether we should switch to the last non-tracked buffer.
 - Whether to switch by oldest-first, newest-first,
   least-unseen-messages-first, or most-unseen-messages-first.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

Attachment: pgpgZ0CZz6DML.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]