GNU bug report logs - #12514
24.2; message-make-date returns a localized date after X restart

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Marco Pessotto <melmothx@HIDDEN>; dated Tue, 25 Sep 2012 14:11:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug No longer marked as found in versions 24.2. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package 'emacs,gnus' to 'emacs'. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 12514 <at> debbugs.gnu.org:


Received: (at 12514) by debbugs.gnu.org; 25 Dec 2012 17:37:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 25 12:37:17 2012
Received: from localhost ([127.0.0.1]:59523 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TnYRF-0003DT-0g
	for submit <at> debbugs.gnu.org; Tue, 25 Dec 2012 12:37:16 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:48181)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <larsi@HIDDEN>) id 1TnYR8-0003DG-Ga
	for 12514 <at> debbugs.gnu.org; Tue, 25 Dec 2012 12:37:11 -0500
Received: from ip-90-20-179-93.dialup.ice.net ([93.179.20.90] helo=rusty)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1TnYQN-0005II-1I; Tue, 25 Dec 2012 18:36:19 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Marco Pessotto <melmothx@HIDDEN>
Subject: Re: bug#12514: 24.2;
	message-make-date returns a localized date after X restart
References: <87a9wei4aj.fsf@HIDDEN> <87sj6u6t8n.fsf@HIDDEN>
	<87licmoyx2.fsf@HIDDEN>
X-Now-Playing: Winston Tong's _Theoretically Chinese_
Date: Tue, 25 Dec 2012 18:36:15 +0100
In-Reply-To: <87licmoyx2.fsf@HIDDEN> (Marco Pessotto's message of
	"Tue, 25 Dec 2012 17:54:17 +0100")
Message-ID: <87txra2fw0.fsf@HIDDEN>
User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1TnYQN-0005II-1I
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1357061779.74667@C+LGgjvOvBJQ1xM3mRuk7g
X-Spam-Status: No
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 12514
Cc: 12514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

Marco Pessotto <melmothx@HIDDEN> writes:

> emacsclient -e '(let ((system-time-locale "C")) (format-time-string "%a,
> %d %b %Y %T %z"))'
>
> After the apparently useless evaluation, everything is back to normal.
>>From what I can see, the bug is deep inside the C code or related
> libraries shipped by Debian, as the Lisp looks quite fine (I did some
> source-diving myself).

Oh, it's that bug.  There was some talk about fixing this a few days
ago, but I don't recall what the result was.

Anybody?

Anyway, it's an Emacs bug, not a Gnus bug, so I'm reassigning back to
Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:
bug#12514; Package emacs,gnus. Full text available.

Message received at 12514 <at> debbugs.gnu.org:


Received: (at 12514) by debbugs.gnu.org; 25 Dec 2012 16:55:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 25 11:55:14 2012
Received: from localhost ([127.0.0.1]:59404 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TnXmY-0007sJ-K5
	for submit <at> debbugs.gnu.org; Tue, 25 Dec 2012 11:55:14 -0500
Received: from mail-bk0-f47.google.com ([209.85.214.47]:35953)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <melmothx@HIDDEN>) id 1TnXmS-0007s4-M1
	for 12514 <at> debbugs.gnu.org; Tue, 25 Dec 2012 11:55:09 -0500
Received: by mail-bk0-f47.google.com with SMTP id j4so3619608bkw.20
	for <12514 <at> debbugs.gnu.org>; Tue, 25 Dec 2012 08:54:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:from:to:cc:subject:references:date:message-id:user-agent
	:mime-version:content-type;
	bh=4dJY6PIrbjZa2lcLFMf67c0o3WBIb0JlsgxPXUZyd3I=;
	b=e++XnkGhzWKvfURxIVeA+3MOc9tHWhN+ly2IdKqiK+sPQdxJWeR47L+wBypuhYonXS
	sAcF6BVeLOJllD4d8ivU3Hs/c8WIT7rtB6gRs3xMwfjgKhCPOW37Q4OSRGwd8BrwdF3z
	mDNtrWee/daRFj6TuO0Yh6Y311PiS5oktF7d0/eZUD0IO95d6cgF9ut4hcN+oL7LUWo1
	Yl+sl5zpHn59Qz48tBVi7X87qZ1y3Vwo9umpqR2W8UB2c/FrnNkRfqo8+z/SSwao56Q1
	cdnwFO5HLRqDNQHmG8fQH1H6lsMnnJx4VLhasxpH3SWSiU+5V89JOQSw6mD/J4NMu85G
	t5yQ==
X-Received: by 10.204.147.8 with SMTP id j8mr12257822bkv.105.1356454466925;
	Tue, 25 Dec 2012 08:54:26 -0800 (PST)
Received: from localhost (78-0-124-61.adsl.net.t-com.hr. [78.0.124.61])
	by mx.google.com with ESMTPS id f24sm17143660bkv.7.2012.12.25.08.54.24
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 25 Dec 2012 08:54:25 -0800 (PST)
From: Marco Pessotto <melmothx@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#12514: 24.2;
	message-make-date returns a localized date after X restart
References: <87a9wei4aj.fsf@HIDDEN> <87sj6u6t8n.fsf@HIDDEN>
Date: Tue, 25 Dec 2012 17:54:17 +0100
Message-ID: <87licmoyx2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 12514
Cc: 12514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -0.7 (/)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> This is the definition of `message-make-date', so this seems rather odd:
>
> (defun message-make-date (&optional now)
>   "Make a valid data header.
> If NOW, use that time instead."
>   (let ((system-time-locale "C"))
>     (format-time-string "%a, %d %b %Y %T %z" now)))
>
> Are you picking up a very old version of message.el from somewhere,
> perhaps?  Or are you redefining `message-make-date'?

No and no. "Library is file /usr/share/emacs/23.2/lisp/gnus/message.elc"

I run GNU Emacs shipped with Debian. GNU Emacs 23.2.1
(i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-12-11 on
raven, modified by Debian.

I can reliably reproduce this bug on my box with the receipt provided.
My workaround was to put something like this in .xinitrc:

emacsclient -e '(let ((system-time-locale "C")) (format-time-string "%a,
%d %b %Y %T %z"))'

After the apparently useless evaluation, everything is back to normal.
From what I can see, the bug is deep inside the C code or related
libraries shipped by Debian, as the Lisp looks quite fine (I did some
source-diving myself).

I can reproduce it reliably with emacs 24.2 too.

; start emacs
emacs --daemon
emacsclient -c -n

; start gnus

; evaluate: everything fine
(message-make-date)
"Tue, 25 Dec 2012 17:44:53 +0100"

; kill X and leave the daemon alive
; bring the emacs back with emacsclient -c -n


; evaluate first time, here we have the broken header
(message-make-date)
"mar, 25 dic 2012 17:45:40 +0100"

(emacs-version)
"GNU Emacs 24.2.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-12-25 on universe"

; and now we're back to normal, after the first evaluation
(message-make-date)
"Tue, 25 Dec 2012 17:46:23 +0100"

(gnus-version)
"Gnus v5.13"

Please let me know if I can help in some way.

Best wishes and thanks for your awesome work.

-- 
Marco




Information forwarded to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:
bug#12514; Package emacs,gnus. Full text available.

Message received at 12514 <at> debbugs.gnu.org:


Received: (at 12514) by debbugs.gnu.org; 25 Dec 2012 15:35:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 25 10:35:21 2012
Received: from localhost ([127.0.0.1]:59350 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TnWXD-0004CX-Vp
	for submit <at> debbugs.gnu.org; Tue, 25 Dec 2012 10:35:20 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:39790)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <larsi@HIDDEN>) id 1TnWX6-0004CG-6p
	for 12514 <at> debbugs.gnu.org; Tue, 25 Dec 2012 10:35:14 -0500
Received: from ip-90-20-179-93.dialup.ice.net ([93.179.20.90] helo=rusty)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1TnWWJ-0002uU-Lj; Tue, 25 Dec 2012 16:34:20 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Marco Pessotto <melmothx@HIDDEN>
Subject: Re: bug#12514: 24.2;
	message-make-date returns a localized date after X restart
References: <87a9wei4aj.fsf@HIDDEN>
X-Now-Playing: Winston Tong's _Theoretically Chinese_
Date: Tue, 25 Dec 2012 16:34:16 +0100
In-Reply-To: <87a9wei4aj.fsf@HIDDEN> (Marco Pessotto's message of
	"Tue, 25 Sep 2012 16:08:04 +0200")
Message-ID: <87sj6u6t8n.fsf@HIDDEN>
User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1TnWWJ-0002uU-Lj
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1357054460.56256@kfeGa3BEGtj2vdy4ziK/4A
X-Spam-Status: No
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 12514
Cc: 12514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)

Marco Pessotto <melmothx@HIDDEN> writes:

> Sorry for the cross-post to bugs@HIDDEN, but I suspect the bug is more
> related to Emacs than to Gnus, as it seems to be at C level. Or
> maybe this is related to some libraries shipped by Debian.
>
> The bug is present at least since emacs 23.2.
>
> start emacs with emacs --daemon
>
> start gnus to load message.el
>
> (message-make-date)
>
> => "Tue, 25 Sep 2012 15:43:59 +0200"
>
> ; kill X
>
> (message-make-date)
>
> => "mar, 25 set 2012 15:44:31 +0200"
>
> ; message-make-date is a two lines function:
>
> (let ((system-time-locale "C"))
>   (format-time-string "%a, %d %b %Y %T %z"))
>
> => "Tue, 25 Sep 2012 15:45:13 +0200"

This is the definition of `message-make-date', so this seems rather odd:

(defun message-make-date (&optional now)
  "Make a valid data header.
If NOW, use that time instead."
  (let ((system-time-locale "C"))
    (format-time-string "%a, %d %b %Y %T %z" now)))

Are you picking up a very old version of message.el from somewhere,
perhaps?  Or are you redefining `message-make-date'?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:
bug#12514; Package emacs,gnus. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Sep 2012 14:10:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 25 10:10:31 2012
Received: from localhost ([127.0.0.1]:55314 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TGVqH-0005tl-Q3
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 10:10:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59421)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <melmothx@HIDDEN>) id 1TGVqE-0005td-UK
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 10:10:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <melmothx@HIDDEN>) id 1TGVoC-0003fl-NJ
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 10:08:26 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:41555)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <melmothx@HIDDEN>) id 1TGVoC-0003fh-Jo
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 10:08:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49233)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <melmothx@HIDDEN>) id 1TGVo8-0004ul-AA
	for bug-gnu-emacs@HIDDEN; Tue, 25 Sep 2012 10:08:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <melmothx@HIDDEN>) id 1TGVo3-0003eI-RV
	for bug-gnu-emacs@HIDDEN; Tue, 25 Sep 2012 10:08:16 -0400
Received: from mail-ee0-f41.google.com ([74.125.83.41]:50434)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <melmothx@HIDDEN>) id 1TGVo3-0003dy-HJ
	for bug-gnu-emacs@HIDDEN; Tue, 25 Sep 2012 10:08:11 -0400
Received: by eekc4 with SMTP id c4so2192739eek.0
	for <bug-gnu-emacs@HIDDEN>; Tue, 25 Sep 2012 07:08:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:subject:date:message-id:user-agent:mime-version
	:content-type; bh=r9aK+4alyZ48rEffwd02CEa6p/C0II4SSZK/t4HV+jQ=;
	b=nKcGn2cgWMVDpSfs8HaxNDVyCVNuXKE/CdIL9owNE8MPU3ZrZjJWeCf4WfUfzOEtx3
	Pcks3/Qr3C6mLidPv71cTl8jaDbEu8dXwWn0hiE6u3/ODQvQaAgGXgrfAykBE4/RvyEM
	EqMyUEQUku996pcKBqfHam2NoFVp120bjbO7QxC/vPop3F8YF0sxi9N1vCwFgrEiqHIH
	0RSo5IfEvFFP1cSqQ1Wids4lfuJtW1zW3PacWyOzzZq5SyQhnTqSfXWOuPlszms0RFKw
	N1FIGSodk/Ytjc2UDz5NYeM5j9UgLhMsfrNYtdXkLKlbxm5eeGVlo0ez6s4w0sYQtqkI
	KYbA==
Received: by 10.14.201.73 with SMTP id a49mr19679769eeo.39.1348582090424;
	Tue, 25 Sep 2012 07:08:10 -0700 (PDT)
Received: from localhost (93-137-196-180.adsl.net.t-com.hr. [93.137.196.180])
	by mx.google.com with ESMTPS id k21sm586862bkv.1.2012.09.25.07.08.07
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 25 Sep 2012 07:08:09 -0700 (PDT)
From: Marco Pessotto <melmothx@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.2; message-make-date returns a localized date after X restart
Date: Tue, 25 Sep 2012 16:08:04 +0200
Message-ID: <87a9wei4aj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)


Sorry for the cross-post to bugs@HIDDEN, but I suspect the bug is more
related to Emacs than to Gnus, as it seems to be at C level. Or
maybe this is related to some libraries shipped by Debian.

The bug is present at least since emacs 23.2.

start emacs with emacs --daemon

start gnus to load message.el

(message-make-date)

=> "Tue, 25 Sep 2012 15:43:59 +0200"

; kill X

(message-make-date)

=> "mar, 25 set 2012 15:44:31 +0200"

; message-make-date is a two lines function:

(let ((system-time-locale "C"))
  (format-time-string "%a, %d %b %Y %T %z"))

=> "Tue, 25 Sep 2012 15:45:13 +0200"

; after the evaluation, everything is back to normal

; without evaluating it, calling (message-make-date) alone continues
; to return a localized date.

(message-make-date)

=> "Tue, 25 Sep 2012 15:45:32 +0200"

Best wishes


In GNU Emacs 24.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-09-25 on universe
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
Configured using:
 `configure '--with-x-toolkit=lucid''

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: it_IT.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x g <backspace> v <backspace> v e r s i o n <return> 
( m e s s a g e - m a k e - d a <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> C-n M-x g n u s <return> 
y M-x m e s s a g - e m <backspace> <backspace> <backspace> 
e - m a k <tab> e <tab> C-g C-g q y <return> <return> 
( m e s s a g e - m a k e - d a t e ) C-x C-e C-x C-e 
C-u C-x C-e C-a M-f M-f M-f C-f <return> <return> C-n 
C-n <return> <return> C-x C-f <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> <backspace> <backspace> 
m e <backspace> <backspace> ~ / m e <tab> <backspace> 
<backspace> <tab> <tab> * b u g <tab> <M-backspace> 
<backspace> m k a <backspace> <backspace> a k e <tab> 
<return> C-p C-p C-p M-< C-SPC M-> M-w C-x b <return> 
C-y C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-n C-SPC C-n C-n C-n C-n C-w C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-e C-x 
C-e C-n C-n C-n C-n C-n C-e C-x C-e C-n C-n C-n C-n 
C-n C-n C-x C-e C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-SPC C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n M-w M-x g n u <backspace> 
<backspace> <backspace> e m - <backspace> a c s - <tab> 
<M-backspace> r e p o <tab> r t <tab> <return>

Recent messages:
byte-code: Beginning of buffer [3 times]
Mark set
Mark activated
Mark set [2 times]
"mar, 25 set 2012 15:55:51 +0200"
"Tue, 25 Sep 2012 15:55:53 +0200"
"Tue, 25 Sep 2012 15:55:55 +0200"
Mark activated
byte-code: End of buffer
Making completion list... [2 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail regexp-opt help-mode view
nndraft nnmh nnagent nnml network-stream auth-source eieio byte-opt
bytecomp byte-compile cconv macroexp assoc starttls tls gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu
mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap
nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit
server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty emacs)


-- 
Marco




Acknowledgement sent to Marco Pessotto <melmothx@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#12514; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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