From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Fwd: A system for localizing documentation strings Date: Fri, 27 Jul 2007 21:27:25 +0900 Message-ID: References: <795F38F4-7253-47DC-97DD-53BED4F0AB97@mx6.tiki.ne.jp> <871weuk228.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1185539319 22172 80.91.229.12 (27 Jul 2007 12:28:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2007 12:28:39 +0000 (UTC) Cc: stephen@xemacs.org, fusion@mx6.tiki.ne.jp, eliz@gnu.org, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 27 14:28:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IEOvo-0007YK-Hp for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2007 14:28:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IEOvn-0007f6-QZ for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2007 08:28:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IEOus-0005DG-9S for emacs-devel@gnu.org; Fri, 27 Jul 2007 08:27:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IEOup-00054V-H1 for emacs-devel@gnu.org; Fri, 27 Jul 2007 08:27:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IEOup-00054E-7o for emacs-devel@gnu.org; Fri, 27 Jul 2007 08:27:31 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IEOum-0005Id-Ro; Fri, 27 Jul 2007 08:27:29 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l6RCRQxf027530; Fri, 27 Jul 2007 21:27:26 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l6RCRQFs003178; Fri, 27 Jul 2007 21:27:26 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id l6RCRPbR018609; Fri, 27 Jul 2007 21:27:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IEOuj-0006l4-8o; Fri, 27 Jul 2007 21:27:25 +0900 In-reply-to: (message from Andreas Schwab on Fri, 27 Jul 2007 11:53:00 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75676 Archived-At: In article , Andreas Schwab writes: > "Stephen J. Turnbull" writes: > > Eli Zaretskii writes: > > > > > I didn't know gettext supported message strings in comments. Does > > > it? > > > > gettext() itself obviously doesn't, since comments aren't executable. > > Extraction tools like xgettext should, they aren't supposed to parse > > the text beyond the _() macro. xgettext knows Lisp syntax. When it is called as this: % xgettext -L lisp --keyword=_ something like this docstring is extracted correctly. (defun temp (_"Docstring of the function temp.") ...) --- Kenichi Handa handa@m17n.org