bug-gnu-utils
[Top][All Lists]
Advanced

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

[PATCH] patch for po-msgid-to-msgstr working correctly on po-mode


From: Kobayashi Noritada
Subject: [PATCH] patch for po-msgid-to-msgstr working correctly on po-mode
Date: Thu, 29 May 2008 14:34:54 +0900 (JST)

Hi,

Just after starting po-mode, trials to copy msgid to msgstr with C-j
(po-msgid-to-msgstr) sometimes fails with an error:

  Symbol's value as variable is void: po-msgstr-form-flavor

After some operations, this error does not occur.

This is because po-msgid-to-msgstr calls po-set-msgstr-form and it tries        
to use po-msgstr-form-flavor, which is not set until po-get-msgstr-form
is called.

Since po-msgstr-form-flavor only caches a value returned by                     
po-get-msgstr-flavor and is a variable used only in po-set-msgstr-form,
I suggest eliminating that variable and directly using a returned value
from po-get-msgstr-flavor to fix this issue.  Could you please check a          
patch attached here to do so?

Many thanks,

-nori




reply via email to

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