bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] po-mode.el in 0.18.3


From: Jan Djärv
Subject: [bug-gettext] po-mode.el in 0.18.3
Date: Sun, 28 Jul 2013 13:29:28 +0200

Hello.

The function po-send-mail does:

(shell-command-on-region
               (region-beginning) (region-end)
               (concat po-gzip-uuencode-command " " name ".gz") t))))))

This compresses and uuencodes the po-file in the mail to be sent, but it also 
leaves the original uncompressed unencoded text (i.e. the original po file) 
after the uuencoded version.  This seems a bit wasteful and redundant.  To fix 
this, po-send-mail needs a 5:th argument to shell-command-on-region:

(shell-command-on-region
               (region-beginning) (region-end)
               (concat po-gzip-uuencode-command " " name ".gz") t t))))))

that is two t at the end.

Thanks,

        Jan D.





reply via email to

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