From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs po-mode help request Date: Sun, 02 Dec 2018 08:32:24 +0200 Message-ID: <83bm64bfrb.fsf@gnu.org> References: <39bef15c-f598-68cb-8fff-8f8704869fd4@free.fr> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1543732271 3366 195.159.176.226 (2 Dec 2018 06:31:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2018 06:31:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 02 07:31:07 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTLHV-0000j2-QH for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2018 07:31:05 +0100 Original-Received: from localhost ([::1]:43581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTLJb-0004Wd-S0 for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Dec 2018 01:33:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTLJ1-0004Vd-Pm for help-gnu-emacs@gnu.org; Sun, 02 Dec 2018 01:32:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTLIy-0000BE-J1 for help-gnu-emacs@gnu.org; Sun, 02 Dec 2018 01:32:39 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTLIy-0000B8-GJ for help-gnu-emacs@gnu.org; Sun, 02 Dec 2018 01:32:36 -0500 Original-Received: from [176.228.60.248] (port=2184 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gTLIy-00075c-3u for help-gnu-emacs@gnu.org; Sun, 02 Dec 2018 01:32:36 -0500 In-reply-to: <39bef15c-f598-68cb-8fff-8f8704869fd4@free.fr> (message from MENGUAL Jean-Philippe on Sat, 1 Dec 2018 19:31:29 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118817 Archived-At: > From: MENGUAL Jean-Philippe > Date: Sat, 1 Dec 2018 19:31:29 +0100 > > I am a translator for free software and I use Emac because po-mode > provides for an accessible tool to translate po files. My problem is > that while I use Emacs, I dont know to program in Lisp and I just can > copy-and-paste code. Thus I implemented the po-wrap feature via the > Emacs wiki. > > My current problem is as follows: when I exit Emacs after I change a PO > file, Emacs automatically update the field "Last-Translation" with the > current date. All right. I am unable to get the sema about the > translator name and email (Last-translator field). I tried to implement > some code from po-mode+.el and to change some code in po-mode.el, but I > never can get the result. The feature seems to exist in the code but > without effect nor any mean to enable it or set it. > > Any solution? The minimal support included in Emacs for editing Gettext files is in po.el. That package doesn't define po-mode, it just allows Emacs to deduce the encoding of the file correctly. It also doesn't update any headers. So if your problem is with the headers, perhaps the simpler po.el which comes with Emacs will be better suited to your needs?