GNU bug report logs - #10323
24.0.92; docstring diary-date-forms

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; Severity: minor; Reported by: "Roland Winkler" <winkler@HIDDEN>; dated Sun, 18 Dec 2011 23:34:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 10323) by debbugs.gnu.org; 19 Dec 2011 08:04:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 19 03:04:57 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RcYDR-00050f-N5
	for submit <at> debbugs.gnu.org; Mon, 19 Dec 2011 03:04:57 -0500
Received: from essmail.ess.niu.edu ([131.156.1.18])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rwinkler@HIDDEN>) id 1RcYDP-00050X-0R
	for 10323 <at> debbugs.gnu.org; Mon, 19 Dec 2011 03:04:55 -0500
Received: from regnitz (lukas.physics.niu.edu [131.156.85.221])
	by essmail.ess.niu.edu (8.14.3/8.14.3) with ESMTP id pBJ831c7004492
	for <10323 <at> debbugs.gnu.org>; Mon, 19 Dec 2011 02:03:02 -0600 (CST)
Message-ID: <20206.61360.35778.630450@HIDDEN>
Date: Mon, 19 Dec 2011 02:02:56 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: "Roland Winkler" <winkler@HIDDEN>
To: 10323 <at> debbugs.gnu.org
Subject: Re: bug#10323: 24.0.92; docstring diary-date-forms
In-Reply-To: <handler.10323.B.13242512295184.ack <at> debbugs.gnu.org>
References: <87mxapsbhd.fsf@HIDDEN>
	<handler.10323.B.13242512295184.ack <at> debbugs.gnu.org>
X-Mailer: VM 8.2 trial under 24.0.92.1 (x86_64-unknown-linux-gnu)
X-Spam-Score: -3.2 (---)
X-Debbugs-Envelope-To: 10323
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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: -3.2 (---)

> Actually, this is not completely true either, and it becomes
> relevant if one wants to indent the diary entries for which the
> `backup' mechanism of diary-european-date-forms applies. If one
> has the diary entries
> 
> 18/12/2011$  foo bar
> 18/12/2011   foo baz
> 18 December  foo bar
> 
> the first two entries are indented as one might expect it; yet the
> third one is not indented (i.e., with `backup' all whitespace
> characters following immediately the date become part of the date)

To avoid misunderstandings: Here I was talking about how
diary-fancy-display displays the above diary entries.
This uses diary-date-forms.

Roland




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#10323; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 18 Dec 2011 23:33:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 18 18:33:49 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RcQEn-0001LZ-Hq
	for submit <at> debbugs.gnu.org; Sun, 18 Dec 2011 18:33:49 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rwinkler@HIDDEN>) id 1RcQEl-0001LR-HL
	for submit <at> debbugs.gnu.org; Sun, 18 Dec 2011 18:33:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rwinkler@HIDDEN>) id 1RcQCy-0002lW-UI
	for submit <at> debbugs.gnu.org; Sun, 18 Dec 2011 18:31:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:36511)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rwinkler@HIDDEN>) id 1RcQCy-0002lS-Sr
	for submit <at> debbugs.gnu.org; Sun, 18 Dec 2011 18:31:56 -0500
Received: from eggs.gnu.org ([140.186.70.92]:52770)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rwinkler@HIDDEN>) id 1RcQCy-0000MM-1L
	for bug-gnu-emacs@HIDDEN; Sun, 18 Dec 2011 18:31:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rwinkler@HIDDEN>) id 1RcQCw-0002l1-3F
	for bug-gnu-emacs@HIDDEN; Sun, 18 Dec 2011 18:31:56 -0500
Received: from essmail.ess.niu.edu ([131.156.1.18]:51009)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rwinkler@HIDDEN>) id 1RcQCv-0002kZ-Vs
	for bug-gnu-emacs@HIDDEN; Sun, 18 Dec 2011 18:31:54 -0500
Received: from regnitz (lukas.physics.niu.edu [131.156.85.221])
	by essmail.ess.niu.edu (8.14.3/8.14.3) with ESMTP id pBINViTJ028399
	for <bug-gnu-emacs@HIDDEN>; Sun, 18 Dec 2011 17:31:45 -0600 (CST)
Date: Sun, 18 Dec 2011 17:31:42 -0600
Message-Id: <87mxapsbhd.fsf@HIDDEN>
From: "Roland Winkler" <winkler@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.92; docstring diary-date-forms
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -4.8 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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: -4.8 (----)

Maybe this is too pedantic: If one tries to separate a diary entry
into the date and the text part, the question comes up: what about
the separator (usually some whitespace character(s)) between the
date and the text part? The docstring of diary-date-forms says

  The patterns on the list must be MUTUALLY EXCLUSIVE and should not match
  any portion of the diary entry itself, just the date component.

Originally I thought this would exclude the separator from the date
component (so that I had to deal with it myself). But the patterns
are designed the other way round. For the regexp matcher the
separator is an important part of the date component. So I suggest
to modify the docstring of diary-date-forms to say something like

  The patterns on the list must be MUTUALLY EXCLUSIVE and should not match
  any portion of the diary entry itself, just the date component.
  Here the first character following the date itself is considered part of
  the date.
  
Actually, this is not completely true either, and it becomes relevant if
one wants to indent the diary entries for which the `backup' mechanism
of diary-european-date-forms applies.  If one has the diary entries

18/12/2011$  foo bar
18/12/2011   foo baz
18 December  foo bar

the first two entries are indented as one might expect it; yet the third
one is not indented (i.e., with `backup' all whitespace characters 
following immediately the date become part of the date)


In GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-12-14 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000




Acknowledgement sent to "Roland Winkler" <winkler@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#10323; 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.