From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.bugs Subject: bug#641: format-time-string %Z does not work, starting with Emacs 22.2 Date: Wed, 6 Aug 2008 22:34:51 +0200 Message-ID: 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: Juanma Barranquero , 641@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218055676 10754 80.91.229.12 (6 Aug 2008 20:47:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Aug 2008 20:47:56 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Drew Adams" , 641@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 06 22:48:46 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 1KQpw0-0004Vf-7F for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Aug 2008 22:48:40 +0200 Original-Received: from localhost ([127.0.0.1]:43725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQpv4-0008Rs-Ax for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Aug 2008 16:47:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQpux-0008Ns-10 for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 16:47:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQpuu-0008Io-D9 for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 16:47:34 -0400 Original-Received: from [199.232.76.173] (port=57102 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQpuu-0008If-1I for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 16:47:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45523) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQput-0008WD-MW for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2008 16:47:31 -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 m76KlNlP002476; Wed, 6 Aug 2008 13:47:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m76Ke6YJ032403; Wed, 6 Aug 2008 13:40:06 -0700 X-Loop: don@donarmstrong.com Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 06 Aug 2008 20:40: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.121805489630726 (code B ref 641); Wed, 06 Aug 2008 20:40:06 +0000 Original-Received: (at 641) by emacsbugs.donarmstrong.com; 6 Aug 2008 20:34:56 +0000 Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m76KYqVZ030664 for <641@emacsbugs.donarmstrong.com>; Wed, 6 Aug 2008 13:34:53 -0700 Original-Received: by nf-out-0910.google.com with SMTP id 30so51828nfu.31 for <641@emacsbugs.donarmstrong.com>; Wed, 06 Aug 2008 13:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YQAFhFRLd3Alnwylz1drD634/Mau8B+ZWv8UdGkXDWA=; b=x7Oxi1r4w58IlwsUIo+acIBbtlwOQ2N6b9XMjA+HtEbn8WrGahk2mE/fFpze6LTYLa J9Jqz01op8HFokJOrlQ5VN4u5oUK5mYl+mHtNUGwMM/p838uRMxZhj9ohM0q20mOjSdQ wq41HIHKu30iqVWwJVp8J86Y4m6dMgAIemVas= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Ag6khiyVPtl3ViFZcV6RF+6lti4VZ+xld7DZrY+mX8B9Z1B7OGgdp+/060wR3abbFU MNpOoE4n/3Qw2b4ea52dbmlfXXaye4Hm5wZrOo8TTzZAICrHBnqel3hrC/UwE6k0qGEE xTVXqDqwxjLfEyJsyrdLIyeybnBHG4+JmQklg= Original-Received: by 10.210.29.11 with SMTP id c11mr3042053ebc.119.1218054891572; Wed, 06 Aug 2008 13:34:51 -0700 (PDT) Original-Received: by 10.210.71.14 with HTTP; Wed, 6 Aug 2008 13:34:51 -0700 (PDT) In-Reply-To: <00ff01c8f7fd$5d92d6b0$0200a8c0@us.oracle.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 06 Aug 2008 16:47:34 -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:19075 Archived-At: On Wed, Aug 6, 2008 at 21:48, Drew Adams wrote: >> `format-time-string' is a Lisp interface to the Posix function >> `strftime' from the standard C library. > > That's what I question. Where does it say that that is the mission of > `format-time-string'? This is a new interpretation, AFAICT. Where does it say > that `format-time-string' must be implemented only as a transparent front end to > `strftime'? 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?r1=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?r1=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. Juanma