[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
po-mode.el: statistics string should end with a space
From: |
Sven Joachim |
Subject: |
po-mode.el: statistics string should end with a space |
Date: |
Fri, 05 Nov 2010 19:07:49 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.50 (gnu/linux) |
Hi,
the statistics string displayed in the Emacs mode line does not end with
a space, so it is glued together with the display of the buffer
position, like this: 97t43f56u37%.
Since this isn't very readable, how about adding a space to separate
what does not belong together, as in the following patch?
--8<---------------cut here---------------start------------->8---
diff --git a/elisp/po-mode.el b/elisp/po-mode.el
index 512bcb9..5818411 100644
--- a/elisp/po-mode.el
+++ b/elisp/po-mode.el
@@ -1255,7 +1255,8 @@ all reachable through 'M-x customize', in group
'Emacs.Editing.I18n.Po'."
(if (> po-untranslated-counter 0)
(format "+%du" po-untranslated-counter))
(if (> po-obsolete-counter 0)
- (format "+%do" po-obsolete-counter))))
+ (format "+%do" po-obsolete-counter))
+ " "))
(po-force-mode-line-update))
(defun po-type-counter ()
--8<---------------cut here---------------end--------------->8---
Possible ChangeLog entry:
2010-11-05 Sven Joachim <address@hidden>
* po-mode.el (po-update-mode-line-string): Insert a space at the
end of the statistics string to separate it from other parts of
the mode line.
Cheers,
Sven
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- po-mode.el: statistics string should end with a space,
Sven Joachim <=