From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2 Date: Wed, 6 Aug 2008 16:05:59 -0700 Message-ID: <013301c8f818$fdf19270$0200a8c0@us.oracle.com> References: <4897737C.90709@gmx.at> <001501c8f67e$7c63b300$0200a8c0@us.oracle.com> <008601c8f756$9bce0f00$0200a8c0@us.oracle.com> <00a001c8f786$fa665d30$0200a8c0@us.oracle.com> <00ff01c8f7fd$5d92d6b0$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 641@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218065280 7100 80.91.229.12 (6 Aug 2008 23:28:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Aug 2008 23:28:00 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "'Juanma Barranquero'" , <641@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 01:28:51 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KQsR0-0004KY-Bn for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 01:28:50 +0200 Original-Received: from localhost ([127.0.0.1]:45812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQsQ4-0006IM-Qw for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Aug 2008 19:27:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQsPo-000690-6h for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 19:27:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQsPl-00066O-Jc for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 19:27:35 -0400 Original-Received: from [199.232.76.173] (port=33808 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQsPl-00066C-Ep for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 19:27:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59603) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQsPk-0005hK-VV for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 19:27:33 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m76NRNPi018751; Wed, 6 Aug 2008 16:27:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m76NF6lH014769; Wed, 6 Aug 2008 16:15:06 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 06 Aug 2008 23:15:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 641 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 641-submit@emacsbugs.donarmstrong.com id=B641.121806398612881 (code B ref 641); Wed, 06 Aug 2008 23:15:06 +0000 Original-Received: (at 641) by emacsbugs.donarmstrong.com; 6 Aug 2008 23:06:26 +0000 Original-Received: from agminet01.oracle.com (agminet01.oracle.com [141.146.126.228]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m76N6Nhd012818 for <641@emacsbugs.donarmstrong.com>; Wed, 6 Aug 2008 16:06:24 -0700 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m76N6Dhu006787; Wed, 6 Aug 2008 18:06:13 -0500 Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m76GWF8q011571; Wed, 6 Aug 2008 17:06:12 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt358.oracle.com with ESMTP id 11279796451218063951; Wed, 06 Aug 2008 18:05:51 -0500 Original-Received: from dradamslap1 (/69.181.100.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 06 Aug 2008 16:05:51 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acj4BOvRT5tXzfF4TIK/RX4bbDBPAgAE1Rdw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 06 Aug 2008 19:27:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19080 Archived-At: > At the time the function was introduced, the docstring clearly said: > "The number of options reflects the strftime(3) function." > http://cvs.savannah.gnu.org/viewvc/emacs/emacs/src/editfns.c?r > 1=1.67&r2=1.68&pathrev=HEAD > > Two years later Richard rewrote the docstring and that bit > disappeared: > http://cvs.savannah.gnu.org/viewvc/emacs/emacs/src/editfns.c?r > 1=1.153&r2=1.154&pathrev=HEAD > > It is open to interpretation (or asking him) whether the intent was to > detach strftime from format-time-string or not. OK, thanks. I really don't care which function lets you format a time to produce a timezone name on Windows. If `format-time-string' continued to do that, that would be more backward-compatible, but that's not a biggee. It would be fine if it were some other function (or some other format key, besides %Z) that provided this feature. Just so we don't lose all ability to do this. For the record, I probably will use %z for my application. But I feel nevertheless that we should continue to provide some way to produce a timezone name (on Windows), however rudimentary, language-specific, or non-compliant that name might be.