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

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

Re: Bug#482364: gettext-el: patch for po-mode to save buffer when PO-Rev


From: Bruno Haible
Subject: Re: Bug#482364: gettext-el: patch for po-mode to save buffer when PO-Revision-Date is hold
Date: Sun, 25 May 2008 13:22:04 +0200
User-agent: KMail/1.5.4

Kobayashi Noritada wrote on 2008-05-22:
> po-mode provides po-auto-replace-revision-date, an option for users to
> decide whether PO-Revision-Date field in the header should be
> automatically updated or not.  However, when users choose holding that
> field, by setting that variable to "ask" and answering "n" to "May I set
> PO-Revision-Date? (y or n) " or by setting that variable to "nil", the
> field is not updated AND THE BUFFER IS NOT SAVED.  I've confirmed that
> this issue represents in Emacs 21 and Emacs 22.
> 
> This may be a bug due to a fact[1] that Emacs considers the buffer is
> saved when a hook in write-contents-hooks returns non-nil.  So, I've
> created a patch to fix the issue.  Could you please apply it?

Thank you. Indeed this is a documented behaviour of Emacs:
  http://www.delorie.com/gnu/docs/elisp-manual-21/elisp_383.html

I have applied your patch. Many thanks!

Bruno





reply via email to

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