From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenny Stevens Newsgroups: gmane.emacs.devel Subject: Re: [G ran Uddeborg] Pattern for spell-checking in po-files. Date: Fri, 23 May 2003 14:08:09 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <22437.1053724089@kdstevens.com> References: <1261.1053715963@ichips.intel.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1053724549 13907 80.91.224.249 (23 May 2003 21:15:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 May 2003 21:15:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 23 23:15:45 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JJtB-0003bc-00 for ; Fri, 23 May 2003 23:15:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19JK56-0006w9-00 for ; Fri, 23 May 2003 23:28:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JJsK-0006uS-OZ for emacs-devel@quimby.gnus.org; Fri, 23 May 2003 17:14:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19JJrl-00063F-Bs for emacs-devel@gnu.org; Fri, 23 May 2003 17:14:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19JJoJ-00035V-8y for emacs-devel@gnu.org; Fri, 23 May 2003 17:10:44 -0400 Original-Received: from kdstevens.com ([205.139.124.217]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JJnz-0002jR-5P for emacs-devel@gnu.org; Fri, 23 May 2003 17:10:23 -0400 Original-Received: from kdstevens.com (stevens@localhost [127.0.0.1]) by kdstevens.com (8.12.9/8.11.4) with ESMTP id h4NL89M4022438; Fri, 23 May 2003 14:08:09 -0700 Original-To: Karl Eichwalder In-Reply-To: Your message of "Fri, 23 May 2003 11:52:43 PDT." <1261.1053715963@ichips.intel.com> Original-cc: Göran Uddeborg X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14160 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14160 Ken Stevens writes: > I'd like to ask for ispell support for .po files. .po files are > translation files as used by the gettext tools collection. Basically > they contain the english message (msgid) and translation (msgstr) > provided by the translator, plus comments (# ): Certainly. Some questions: Do we _always_ want to only check the msgstr values, or does it make sense to check the English text as well? I would prefer to have this automatic based on major or minor mode. I didn't locate any po-mode library... can you send that to me to help testing? In my short evaluation, the following regexp seems to be an improvement: ("^msgid" . "^msgstr") replaced by: ("^\\(#~ \\)?msgid" . "^\\(#~ \\)?msgstr") regards -Ken