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

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

Re: Bug#496944: gettext-el: po-previous-translated-entry goes into an in


From: Bruno Haible
Subject: Re: Bug#496944: gettext-el: po-previous-translated-entry goes into an infinite loop (fwd)
Date: Sun, 9 May 2010 02:21:56 +0200
User-agent: KMail/1.9.9

Hi Noritada,

> po-previous-translated-entry (keybind: 'T') goes into an infinite loop
> (unless the current previous entry is not a 'translated' one).  It is
> because the function searches for a previous *untranslated* entry with a
> regular expression and checks whether the entry is a translated one or
> not.  Here I attach a patch to fix that bug.  Could you please apply
> this patch?
> 
> A changelog entry describing the details is as follows:
> 
> 2008-08-28  Noritada Kobayashi  <address@hidden>
> 
>       * po-mode.el: Fix po-previous-translated-entry going into an
>       infinite loop.
>       (po-previous-translated-entry): Search for a previous entry of
>       every type in the while loop.  Previously, this function
>       searched only for an untranslated entry and checked whether it
>       is translated or not.

It's obviously a bug. In my tests, it leads to an error message
"There is no such entry" in the status area, not to an endless loop.
But it's a bug anyway. I have applied your patch. Thanks!

Bruno




reply via email to

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