le (re-search-forward po-fuzzy-regexp nil t) (setq po-fuzzy-counter (1+ po-fuzzy-counter))) (setq po-translated-counter (- po-translated-counter po-fuzzy-counter))) '())) ;; Push the results out. (if flag (message (_"\ Position %d/%d; %d translated, %d fuzzy, %d untranslated, %d obsolete") position total po-translated-counter po-fuzzy-counter po-untranslated-counter po-obsolete-counter) (message ""))) (po-update-mode-line-string)) (defun po-redisplay () "Redisplay the current entry." ;; FIXME: Should try to fit the whole entry on the window. If this is not ;; possible, should try to fit the comment and the msgid. Otherwise, ;; should try to fit the msgid. Else, the first line of the msgid should ;; be at the top of the window. (goto-char po-start-of-msgid)) (defun po-other-window () "Get the cursor into another window, out of PO mode." (interactive) (if (one-window-p t) (progn (split-window) (switch-to-buffer (other-buffer))) (other-window 1)))