GNU bug report logs - #2096
23.0.60; po-mode duplicates header

Previous Next

Package: notemacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Wed, 28 Jan 2009 15:40:03 UTC

Severity: normal

Merged with 5425

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2096 in the body.
You can then email your comments to 2096 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2096; Package emacs. (Wed, 28 Jan 2009 15:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 28 Jan 2009 15:40:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; po-mode duplicates header
Date: Wed, 28 Jan 2009 16:34:39 +0100 (CET)
I have a po file opened in the background, and every time I want to exit Emacs, Emacs reminds me of saving this po file although I haven't changed anything.  Apparently, Emacs has silently duplicated its header so that it starts with

# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL <at> ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2009-01-27 16:22+0100\n"
"Last-Translator: FULL NAME <EMAIL <at> ADDRESS>\n"
"Language-Team: LANGUAGE <LL <at> li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

# German translations for Chantal
# Copyright (C) 2008 J=fclich Forschungszentrum
# Torsten Bronger <bronger <at> physik.rwth-aachen.de>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 15:19+0100\n"
"PO-Revision-Date: 2008-12-28 22:06+0100\n"
"Last-Translator: Torsten Bronger <bronger <at> physik.rwth-aachen.de>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"



In GNU Emacs 23.0.60.9 (x86_64-unknown-linux-gnu)
 of 2009-01-24 on wilson
Windowing system distributor `The Cygwin/X Project', version 11.0.60899901
configured using `configure  '--prefix=/usr/local/' '--mandir=/usr/local/share/man/' '--infodir=/usr/local/share/info/' '--with-x-toolkit=no' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: PO

Minor modes in effect:
  shell-dirtrack-mode: t
  global-auto-revert-mode: t
  savehist-mode: t
  display-time-mode: t
  desktop-save-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2096; Package emacs. (Wed, 28 Jan 2009 17:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 28 Jan 2009 17:00:04 GMT) Full text and rfc822 format available.

Message #10 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Wed, 28 Jan 2009 17:51:34 +0100
reassign 2096 notemacs
thanks

Am 28.01.2009 um 16:34 schrieb Torsten Bronger:

> I have a po file opened in the background, and every time I want to
> exit Emacs, Emacs reminds me of saving this po file although I haven't
> changed anything.  Apparently, Emacs has silently duplicated its
> header so that it starts with

This is a bug in po-mode.el which is part of gettext, not Emacs.  It is
already fixed in gettext CVS since yours truly had reported it some time
ago, see
http://lists.gnu.org/archive/html/bug-gnu-utils/2008-08/msg00006.html.

Cheers,
       Sven




bug reassigned from package `emacs' to `notemacs'. Request was from Sven Joachim <svenjoac <at> gmx.de> to control <at> emacsbugs.donarmstrong.com. (Wed, 28 Jan 2009 17:00:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, owner <at> emacsbugs.donarmstrong.com:
bug#2096; Package notemacs. (Wed, 28 Jan 2009 17:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
Extra info received and forwarded to list. Copy sent to owner <at> emacsbugs.donarmstrong.com. (Wed, 28 Jan 2009 17:45:03 GMT) Full text and rfc822 format available.

Message #17 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Wed, 28 Jan 2009 18:35:41 +0100
Hallöchen!

Sven Joachim writes:

> reassign 2096 notemacs
> thanks
>
> Am 28.01.2009 um 16:34 schrieb Torsten Bronger:
>
>> I have a po file opened in the background, and every time I want to
>> exit Emacs, Emacs reminds me of saving this po file although I haven't
>> changed anything.  Apparently, Emacs has silently duplicated its
>> header so that it starts with
>
> This is a bug in po-mode.el which is part of gettext, not Emacs.  It is
> already fixed in gettext CVS since yours truly had reported it some time
> ago, see
> http://lists.gnu.org/archive/html/bug-gnu-utils/2008-08/msg00006.html.

This is true for the header duplication, however, the *silent*
modification of the po file in the background (i.e., without
explicitly reverting or opening the file) happens in CVS Emacs since
two weeks ago or so.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, owner <at> emacsbugs.donarmstrong.com:
bug#2096; Package notemacs. (Wed, 28 Jan 2009 18:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to owner <at> emacsbugs.donarmstrong.com. (Wed, 28 Jan 2009 18:20:03 GMT) Full text and rfc822 format available.

Message #22 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Wed, 28 Jan 2009 19:12:23 +0100
Am 28.01.2009 um 18:35 schrieb Torsten Bronger:

> Sven Joachim writes:
>
>> This is a bug in po-mode.el which is part of gettext, not Emacs.  It is
>> already fixed in gettext CVS since yours truly had reported it some time
>> ago, see
>> http://lists.gnu.org/archive/html/bug-gnu-utils/2008-08/msg00006.html.
>
> This is true for the header duplication, however, the *silent*
> modification of the po file in the background (i.e., without
> explicitly reverting or opening the file) happens in CVS Emacs since
> two weeks ago or so.

What do you mean with that?  IIRC, just visiting a po file (more
exactly, switching to po-mode) runs po-check-file-header and modifies
the buffer by inserting the double header.  This has been true for a
long time.

Sven




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, owner <at> emacsbugs.donarmstrong.com:
bug#2096; Package notemacs. (Wed, 28 Jan 2009 20:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
Extra info received and forwarded to list. Copy sent to owner <at> emacsbugs.donarmstrong.com. (Wed, 28 Jan 2009 20:10:04 GMT) Full text and rfc822 format available.

Message #27 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Wed, 28 Jan 2009 21:01:51 +0100
Hallöchen!

Sven Joachim writes:

> Am 28.01.2009 um 18:35 schrieb Torsten Bronger:
>
>> [...]
>>
>> This is true for the header duplication, however, the *silent*
>> modification of the po file in the background (i.e., without
>> explicitly reverting or opening the file) happens in CVS Emacs
>> since two weeks ago or so.
>
> What do you mean with that?

I visit the file, and close Emacs.  Then I re-start Emacs (I save my
desktop to a file, so every buffer is restored), and the po header
is not duplicated.  I keep it visited but work on completely
different files all day long.  Then I quit Emacs and it complains
that there are unsaved modifications in the po file (namely, the
header duplication).  The po file hasn't been touched by a
third-party program meanwhile.

I can't really preclude that something in my setup has changed, but
it looks to me as if Emacs has changed recently.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, owner <at> emacsbugs.donarmstrong.com:
bug#2096; Package notemacs. (Wed, 28 Jan 2009 21:35:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to owner <at> emacsbugs.donarmstrong.com. (Wed, 28 Jan 2009 21:35:07 GMT) Full text and rfc822 format available.

Message #32 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Wed, 28 Jan 2009 22:28:31 +0100
Am 28.01.2009 um 21:01 schrieb Torsten Bronger:

> I visit the file, and close Emacs.

In this situation Emacs should ask about saving the buffer, since it is
modified.  And it does that for me.

> Then I re-start Emacs (I save my desktop to a file, so every buffer is
> restored), and the po header is not duplicated.

Huh?

> I keep it visited but work on completely different files all day long.
> Then I quit Emacs and it complains that there are unsaved
> modifications in the po file (namely, the header duplication).

Emacs does this for me whenever I close it.  But I don't use a desktop.

Sven




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, owner <at> emacsbugs.donarmstrong.com:
bug#2096; Package notemacs. (Thu, 29 Jan 2009 22:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
Extra info received and forwarded to list. Copy sent to owner <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 22:30:03 GMT) Full text and rfc822 format available.

Message #37 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Thu, 29 Jan 2009 23:23:56 +0100
Hallöchen!

Sven Joachim writes:

> Am 28.01.2009 um 21:01 schrieb Torsten Bronger:
>
> [...]
>
>> Then I re-start Emacs (I save my desktop to a file, so every
>> buffer is restored), and the po header is not duplicated.
>
> Huh?

Well, I played around a bit twice today, and honestly I don't
understand the rules when po-mode wants to update the buffer.
Changing "PO-Revision-Date" seems to trigger it but not always.  You
probably know the rules much better than me.

I *suspect* that everytime my desktop was restored, the PO buffer
was immediately updated and thus changed.  When I quit Emacs, I got
the message about an unsaved buffer.

Anyway, if a solution of the "header duplication" issue highly
probably also solves any other superfluous update of the PO buffer
-- which would render the buffer changed -- then please close the
ticket.

Thank you!

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, owner <at> emacsbugs.donarmstrong.com:
bug#2096; Package notemacs. (Fri, 30 Jan 2009 18:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to owner <at> emacsbugs.donarmstrong.com. (Fri, 30 Jan 2009 18:50:02 GMT) Full text and rfc822 format available.

Message #42 received at 2096 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 2096 <at> debbugs.gnu.org
Subject: Re: bug#2096: 23.0.60; po-mode duplicates header
Date: Fri, 30 Jan 2009 19:40:38 +0100
Am 29.01.2009 um 23:23 schrieb Torsten Bronger:

> Well, I played around a bit twice today, and honestly I don't
> understand the rules when po-mode wants to update the buffer.
> Changing "PO-Revision-Date" seems to trigger it but not always.  You
> probably know the rules much better than me.

Not really, I'm not a po expert either.

> I *suspect* that everytime my desktop was restored, the PO buffer
> was immediately updated and thus changed.  When I quit Emacs, I got
> the message about an unsaved buffer.

Yes, that is certainly the case.  Loading the desktop restores major
modes, thus runs po-mode => po-check-file-header inserts another
header.

> Anyway, if a solution of the "header duplication" issue highly
> probably also solves any other superfluous update of the PO buffer
> -- which would render the buffer changed -- then please close the
> ticket.

I have already reassigned it to `notemacs' since it's in po-mode.el (and
already fixed in gettext CVS).

Cheers,
       Sven




Merged 2096 5425. Request was from Sven Joachim <svenjoac <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 19 Jan 2010 20:35:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to Torsten Bronger <bronger <at> physik.rwth-aachen.de> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 25 Jan 2010 19:45:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Feb 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.