From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.devel Subject: Re: PO files and Emacs Date: Mon, 11 Mar 2002 21:02:45 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200203100503.g2A53jS03926@wijiji.santafe.edu> <200203110900.g2B90LO04268@wijiji.santafe.edu> Reply-To: Karl Eichwalder NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1015878814 4108 80.91.224.249 (11 Mar 2002 20:33:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2002 20:33:34 +0000 (UTC) Cc: emacs-devel@gnu.org, sanvila@unex.es, neil@darlow.co.uk, haible@ilog.fr, handa@etl.go.jp, schwab@suse.de Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16kWUA-000149-00 for ; Mon, 11 Mar 2002 21:33:34 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16kWW1-0004jI-00 for ; Mon, 11 Mar 2002 21:35:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kWTw-0003wx-00; Mon, 11 Mar 2002 15:33:20 -0500 Original-Received: from dns.franken.de ([193.175.24.33] helo=elvis.franken.de) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kWT6-0003dO-00; Mon, 11 Mar 2002 15:32:28 -0500 Original-Received: from uucp by elvis.franken.de with local-rmail (Exim 3.22 #1) id 16kWT1-0007i5-00; Mon, 11 Mar 2002 21:32:23 +0100 Original-Received: by tux.gnu.franken.de (Postfix, from userid 270) id 27DC9A4453; Mon, 11 Mar 2002 20:02:45 +0000 (UTC) Original-To: rms@gnu.org In-Reply-To: <200203110900.g2B90LO04268@wijiji.santafe.edu> (Richard Stallman's message of "Mon, 11 Mar 2002 02:00:21 -0700 (MST)") Original-Lines: 32 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:1865 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1865 Richard Stallman writes: > Ok. Eli, could you install it? Meanwhile, Karl, could you look at > the bug that has been reported? Andreas found the problem; I'll fix po-mode.el coming with GNU gettext accordingly. Andreas Schwab writes: > That's because your function is called with the same arguments as > find-operation-coding-system, which itself gets the same arguments as the > I/O primitives. Those are, for file I/O, insert-file-contents and > write-region. The latter has the signature > > (write-region START END FILENAME &optional APPEND VISIT LOCKNAME MUSTBENEW) > > which means that (car (cdr arg-list)) == START. You should just move the > second test before the first one. Thanks for explaining the error I made! > (and (eq (car arg-list) 'insert-file-contents) > (file-exists-p (car (cdr arg-list))) Eli, will you be able to install po.el now? -- ke@suse.de (work) / keichwa@gmx.net (home): | http://www.suse.de/~ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel