From unknown Fri Jun 20 07:12:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8299 <8299@debbugs.gnu.org> To: bug#8299 <8299@debbugs.gnu.org> Subject: Status: po-mode faulty? Reply-To: bug#8299 <8299@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:12:10 +0000 retitle 8299 po-mode faulty? reassign 8299 emacs submitter 8299 Gurce severity 8299 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 20 00:46:04 2011 Received: (at submit) by debbugs.gnu.org; 20 Mar 2011 04:46:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1AWg-0001PZ-RV for submit@debbugs.gnu.org; Sun, 20 Mar 2011 00:46:03 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q19X6-0008Ua-JS for submit@debbugs.gnu.org; Sat, 19 Mar 2011 23:42:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q19X0-0002nf-Dn for submit@debbugs.gnu.org; Sat, 19 Mar 2011 23:42:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RFC_ABUSE_POST, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:45499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q19X0-0002nZ-80 for submit@debbugs.gnu.org; Sat, 19 Mar 2011 23:42:18 -0400 Received: from [140.186.70.92] (port=36719 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q19Wz-0001Z4-0X for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 23:42:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q19Wx-0002n9-Oj for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 23:42:16 -0400 Received: from nschwmtas01p.mx.bigpond.com ([61.9.189.137]:44217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q19Wx-0002mu-FV for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 23:42:15 -0400 Received: from nschwotgx02p.mx.bigpond.com ([61.9.190.12]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20110320034210.HIWB2253.nschwmtas01p.mx.bigpond.com@nschwotgx02p.mx.bigpond.com> for ; Sun, 20 Mar 2011 03:42:10 +0000 Received: from nschwwebs02p ([61.9.190.12]) by nschwotgx02p.mx.bigpond.com with ESMTP id <20110320034209.KUOF13035.nschwotgx02p.mx.bigpond.com@nschwwebs02p> for ; Sun, 20 Mar 2011 03:42:09 +0000 Received: Message-ID: <20110320034209.78YBT.27888.root@nschwwebs02p> Date: Sun, 20 Mar 2011 14:42:09 +1100 From: Gurce To: bug-gnu-emacs@gnu.org Subject: po-mode faulty? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150202.4D857791.0105,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 20 Mar 2011 00:46:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Hi there, I recently joined a software project that has been using .po files for multi-lingual string support. While reading up on this format, I learnt that emacs has a "po-mode" to support in the editing of these .po files. I started reading the online documentation regarding the 'gettext' facility (which makes many mentions of emacs and the facilities it provides for .po file editing). But on this the following page, I encountered a few problems: http://punt.sourceforge.net/new_svn/gettext/gettext_3.html In section "3.4 Marking Translatable Strings", it suggests to: 1) Generate the TAGS file for your source via the "etags" tools 2) create a new PO file with emacs, and then emacs can let you browse through all strings in your code via the ',' key. As you scan each potential string one-by-one, if you decide that it should be a multi-lingual string, you then press 'M-,' which will automatically add the "_()" marker around the string in the source code, and also automatically add a msgstr key for you in your .po file. This sounds like a really handy feature. I tried to follow these steps, generated the TAGS file fine, but that 2nd step doesn't seem to work. When I press the ',' key, emacs spends a minute scanning through all the source code, then opens one, but highlighting no string within it. This surprised me a little, so I tried these steps out on a simple 'hello world' c example instead. When I tried steps 1 and 2 on it, it failed on step 2, no string was highlighted (I was hoping it would highlight the 'Hello World' within the printf). By chance, I happened to have an older fedora core 4 pc on me, I tried the simple 'hello world' c example, along with steps 1 and 2, and surprisingly it worked! The "Hello World" string within the printf statement was highlighted, and I was able to add it into the po file via 'M-,'. So I'm now starting to suspect that perhaps something broke in this behaviour for newer versions of emacs? So summarising what I saw regarding po-mode's string searching facility: * fc4 pc has emacs v21.4.1 (works) * opensuse pc has emacs v23.1.1 (doesn't work) So yeah, one aspect of my email was intending to report the problem. But another part of me was curious whether I could examine the issue further myself via the source code, perhaps grabbing it from the cvs repo, version by version, to try see in which version it initially broke, then gauging what changes were made in that version that could have been the culprit. I had a look at the following site regarding cvs access: http://savannah.gnu.org/cvs/?group=emacs With that info, I tried typing in at the console: cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs But got the following response: cvs [checkout aborted]: connect to cvs.savannah.gnu.org(140.186.70.72):2401 failed: Connection timed out So not sure whether I typed something in wrong, or perhaps just unlucky and the server was down. Nonetheless, thought I'd better mention this too. Anyways, hope you can help in any way. Cheers, Gurce From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 20 03:58:36 2011 Received: (at 8299) by debbugs.gnu.org; 20 Mar 2011 07:58:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1DX2-0005ZE-Ej for submit@debbugs.gnu.org; Sun, 20 Mar 2011 03:58:36 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1DX0-0005Z2-Cl for 8299@debbugs.gnu.org; Sun, 20 Mar 2011 03:58:35 -0400 Received: from localhost ([127.0.0.1]:39400) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1DWu-0002DO-Rh; Sun, 20 Mar 2011 03:58:29 -0400 From: Glenn Morris To: Gurce Subject: Re: bug#8299: po-mode faulty? References: <20110320034209.78YBT.27888.root@nschwwebs02p> X-Spook: bank World Trade Center Lon Horiuchi strategic ISEC X-Ran: K2RK+D1q[,%wtp8b;!W1te|w\.W\c_E^7N,P4(mi%-})7]+=z1J)vm01Oo(1az+/%.",F^ X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 20 Mar 2011 03:58:28 -0400 In-Reply-To: <20110320034209.78YBT.27888.root@nschwwebs02p> (gurce@bigpond.com's message of "Sun, 20 Mar 2011 14:42:09 +1100") Message-ID: <2nfwqiz0ij.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8299 Cc: 8299@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Gurce wrote: > I had a look at the following site regarding cvs access: > http://savannah.gnu.org/cvs/?group=emacs > > With that info, I tried typing in at the console: > cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs > > But got the following response: > cvs [checkout aborted]: connect to cvs.savannah.gnu.org(140.186.70.72):2401 failed: Connection timed out Please read the main page: http://savannah.gnu.org/projects/emacs/ The development sources are hosted on Savannah, via Bazaar (bzr). Note that the CVS source code repository is no longer being updated. You can access the Bazaar repository with bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk CVS is only used for the Emacs web-pages. (Also, po-mode is not part of Emacs, so if the problem turns out to be in po-mode, rather than in Emacs, please report it to whoever maintains po-mode.) From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 24 15:49:13 2011 Received: (at control) by debbugs.gnu.org; 24 Apr 2011 19:49:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QE5Iv-0004V2-53 for submit@debbugs.gnu.org; Sun, 24 Apr 2011 15:49:13 -0400 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QE5It-0004Up-4v for control@debbugs.gnu.org; Sun, 24 Apr 2011 15:49:11 -0400 Received: from furball (dhcp128036225098.central.yale.edu [128.36.225.98]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p3OJn57L008704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 24 Apr 2011 15:49:05 -0400 Received: by furball (Postfix, from userid 1000) id 6963716055B; Sun, 24 Apr 2011 15:49:05 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8299 Date: Sun, 24 Apr 2011 15:49:05 -0400 Message-ID: <87hb9nl9am.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 8299 thanks From unknown Fri Jun 20 07:12:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 23 May 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator