From: Henrik E. <hen...@te...> - 2005-03-01 16:17:13
|
Here's a small patch to make erc-track a bit more cosmetically pleasing. Currently, it always inserts spaces before and after the "[#f,#o,#o]" string, which looks really ugly in some cases. This patch changes it so that if erc-track-position-in-mode-line set to t or whatever: "---Mail [#e] ---" => "---Mail [#e]---" and if it's 'after-modes "(Emacs-Lisp)- [#e] --" => "(Emacs-Lisp)-[#e]--" Nuttin' changes if it's set to 'before-modes. Also, shouldn't the default setting be to show it in global-mode-string? That's the Emacs standard, isn't it? |