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

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

Re: Bug#137353: gettext: po mode error (fwd)


From: Karl Eichwalder
Subject: Re: Bug#137353: gettext: po mode error (fwd)
Date: Mon, 11 Mar 2002 21:25:29 +0100
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

Here is an additional patch that fixes the rest of the bug

--- ChangeLog.~1.101.~  Mon Mar 11 17:50:35 2002
+++ ChangeLog   Mon Mar 11 21:20:57 2002
@@ -1,7 +1,14 @@
+2002-03-11  Karl Eichwalder  <address@hidden>
+
+       * po-mode.el (po-find-file-coding-system-guts): Checking
+       'insert-file-contents' must come first to avoid messing up with
+       arguments.
+       Reported by Neil Darlow; fixed by Andreas Schwab.
+
 2002-03-09  Karl Eichwalder  <address@hidden>
 
        * po-mode.el (po-find-file-coding-system-guts): Don't try to
-       detect the coding system when filename does not exists.
+       detect the coding system when filename does not exist.
        (po-compute-counters): Search for "^msgid" not 'po-next-entry' if
        we don't know for sure any entry will follow at all.
 
--- po-mode.el.~1.65.~  Mon Mar 11 17:50:35 2002
+++ po-mode.el  Mon Mar 11 21:03:50 2002
@@ -964,8 +964,8 @@
        "\
 Return a Mule (DECODING . ENCODING) pair, according to PO file charset.
 Called through file-coding-system-alist, before the file is visited for real."
-       (and (file-exists-p filename)
-            (eq operation 'insert-file-contents)
+       (and (eq operation 'insert-file-contents)
+            (file-exists-p filename)
             (po-with-temp-buffer
               (let ((coding-system-for-read 'no-conversion))
                  (let* ((charset (or (po-find-charset filename)


-- 
address@hidden (work) / address@hidden (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)



reply via email to

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