From unknown Mon Jun 23 22:05:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7377: 23.2; Diary entries displayed twice Resent-From: Frank Lovelace Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Nov 2010 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7377 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7377@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128949853517774 (code B ref -1); Thu, 11 Nov 2010 18:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2010 18:02:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGbTS-0004cd-Vw for submit@debbugs.gnu.org; Thu, 11 Nov 2010 13:02:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGbLn-0004YU-Df for submit@debbugs.gnu.org; Thu, 11 Nov 2010 12:54:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbQO-0003Sg-UQ for submit@debbugs.gnu.org; Thu, 11 Nov 2010 12:59:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:47337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGbQO-0003Sa-83 for submit@debbugs.gnu.org; Thu, 11 Nov 2010 12:59:04 -0500 Received: from [140.186.70.92] (port=34362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGbQM-00009X-GI for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 12:59:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbQL-0003SD-7D for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 12:59:02 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:38913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGbQL-0003S1-1z for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 12:59:01 -0500 Received: by gyd8 with SMTP id 8so1631935gyd.0 for ; Thu, 11 Nov 2010 09:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=eYdklC7DcMsp7RPT+63SYNt+t+YPbsa+aJVdqhrg7sc=; b=fhfYjsnRcXAWDk3zXkFsgp/t6248AEGsyxtyvzVLVOcyRDegv60nR+uUd9KcmaBFYW Fz0wEGLc5hkeg4+Bwa899moQN/ECxLTBHLhElQoXWyHgfPhTaqJYmpXJ22T6gv/JKe5V eBzX0qElsp8StCs+5r7wNSJhs6nujLkz913V8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=u2seSNj3VNf0JtmjzGsYY+vUpAZ2takG1VRiOSabKuzNV5E7tPk1Km3cWTYFiWTKhw 7ZqGy5vPvopdRLfEs7MzBHgk6NwYgiKDOpRuxfWiwuyHp3flxH8343lDZ2bKi148sWtC 4eMdzxVMXHJFGYIzFt8oWXOUUiU1HY+EBSxto= Received: by 10.100.171.3 with SMTP id t3mr732857ane.83.1289498339428; Thu, 11 Nov 2010 09:58:59 -0800 (PST) Received: from [192.168.1.101] (184-96-176-121.hlrn.qwest.net [184.96.176.121]) by mx.google.com with ESMTPS id b22sm2613486anb.35.2010.11.11.09.58.56 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 09:58:57 -0800 (PST) Message-ID: <4CDC2EE0.9090004@gmail.com> Date: Thu, 11 Nov 2010 10:58:56 -0700 From: Frank Lovelace User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Thu, 11 Nov 2010 13:02:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) touch ~/diary emacs -Q M-x calendar M-x calendar-set-date-style Date style: iso i m Edit ~/diary to: --begin ~/diary-------- *-*-11 pay bills --end ~/diary---------- Save ~/dairy Then from within calendar with point on 11th of any month press d to display dairy, "pay bills" is written twice. The above was done in Emacs 23.2.1 on GNU/Linux, and a similar recipe causes same issue for Emacs on MS Windows, the configuration as shown below: In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Calendar 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 blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x M-x c a l a n d e r d e n d e a r i d t e s t m x u m C-x C-s m d M-x c a l e n d e r a r - d a t e d a t e - d a t e - i s o i d l u n c h X S C-x C-s d i m p a y SPC b i l l s C-x C-s C-x C-s d SPC i m h e l l o C-x C-s d i d n n n C-x C-s d d C-x C-g C-g M-x b u g r e p o r t Recent messages: Preparing diary...done Saving file c:/Documents and Settings/Mom/Application Data/diary... Wrote c:/Documents and Settings/Mom/Application Data/diary Marking diary entries...done Preparing diary...done Saving file c:/Documents and Settings/Mom/Application Data/diary... Wrote c:/Documents and Settings/Mom/Application Data/diary Marking diary entries...done Preparing diary...done Preparing diary...done Quit Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs diary-lib diary-loaddefs mule-util cal-move regexp-opt cal-menu easymenu calendar cal-loaddefs tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Mon Jun 23 22:05:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Frank Lovelace Subject: bug#7377: closed (Re: bug#7377: 23.2; Diary entries displayed twice) Message-ID: References: <4CDC2EE0.9090004@gmail.com> X-Gnu-PR-Message: they-closed 7377 X-Gnu-PR-Package: emacs Reply-To: 7377@debbugs.gnu.org Date: Thu, 11 Nov 2010 19:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1289504642-20670-1" This is a multi-part message in MIME format... ------------=_1289504642-20670-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7377: 23.2; Diary entries displayed twice which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7377@debbugs.gnu.org. --=20 7377: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7377 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1289504642-20670-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7377-done) by debbugs.gnu.org; 11 Nov 2010 19:43:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGd3H-0005N4-Rk for submit@debbugs.gnu.org; Thu, 11 Nov 2010 14:43:20 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGd3G-0005Mz-7i for 7377-done@debbugs.gnu.org; Thu, 11 Nov 2010 14:43:18 -0500 Received: from localhost ([127.0.0.1]:40283) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGd7r-00052x-U7; Thu, 11 Nov 2010 14:48:04 -0500 To: 7377-done@debbugs.gnu.org Subject: Re: bug#7377: 23.2; Diary entries displayed twice References: <4CDC2EE0.9090004@gmail.com> From: Glenn Morris X-Spook: Guantanamo HAMASMOIS FIPS140 benelux SCUD missile Firefly X-Ran: "dV0oVPQsl1+JOzpP4NM_QI3W-=Q?tb6=;m*l]^So~xtRQPH3XKN>N|3azcrZK.vVA3:{M X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 11 Nov 2010 14:48:03 -0500 In-Reply-To: <4CDC2EE0.9090004@gmail.com> (Frank Lovelace's message of "Thu\, 11 Nov 2010 10\:58\:56 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7377-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Version: 23.3 Frank Lovelace wrote: > Then from within calendar with point on 11th of any month press d to > display dairy, "pay bills" is written twice. It is because in the default value of diary-iso-date-forms, both these elements match your entry: (year "[-/]" month "[-/]" day "[^0-9]") (year "-" monthname "-" day "[^0-9]") This is a no-no, the elements are supposed to be mutually exclusive. For 23.3, I will change the default diary-iso-date-forms to: '((month "[-/]" day "[^-/0-9]") (year "[-/]" month "[-/]" day "[^0-9]") (monthname " *" day "[^-0-9]") (year " *" monthname " *" day "[^0-9]") (dayname "\\W")) You can manually set `diary-date-forms' to that in 23.2. ------------=_1289504642-20670-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Nov 2010 18:02:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGbTS-0004cd-Vw for submit@debbugs.gnu.org; Thu, 11 Nov 2010 13:02:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGbLn-0004YU-Df for submit@debbugs.gnu.org; Thu, 11 Nov 2010 12:54:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbQO-0003Sg-UQ for submit@debbugs.gnu.org; Thu, 11 Nov 2010 12:59:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:47337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGbQO-0003Sa-83 for submit@debbugs.gnu.org; Thu, 11 Nov 2010 12:59:04 -0500 Received: from [140.186.70.92] (port=34362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGbQM-00009X-GI for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 12:59:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbQL-0003SD-7D for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 12:59:02 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:38913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGbQL-0003S1-1z for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 12:59:01 -0500 Received: by gyd8 with SMTP id 8so1631935gyd.0 for ; Thu, 11 Nov 2010 09:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=eYdklC7DcMsp7RPT+63SYNt+t+YPbsa+aJVdqhrg7sc=; b=fhfYjsnRcXAWDk3zXkFsgp/t6248AEGsyxtyvzVLVOcyRDegv60nR+uUd9KcmaBFYW Fz0wEGLc5hkeg4+Bwa899moQN/ECxLTBHLhElQoXWyHgfPhTaqJYmpXJ22T6gv/JKe5V eBzX0qElsp8StCs+5r7wNSJhs6nujLkz913V8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=u2seSNj3VNf0JtmjzGsYY+vUpAZ2takG1VRiOSabKuzNV5E7tPk1Km3cWTYFiWTKhw 7ZqGy5vPvopdRLfEs7MzBHgk6NwYgiKDOpRuxfWiwuyHp3flxH8343lDZ2bKi148sWtC 4eMdzxVMXHJFGYIzFt8oWXOUUiU1HY+EBSxto= Received: by 10.100.171.3 with SMTP id t3mr732857ane.83.1289498339428; Thu, 11 Nov 2010 09:58:59 -0800 (PST) Received: from [192.168.1.101] (184-96-176-121.hlrn.qwest.net [184.96.176.121]) by mx.google.com with ESMTPS id b22sm2613486anb.35.2010.11.11.09.58.56 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 09:58:57 -0800 (PST) Message-ID: <4CDC2EE0.9090004@gmail.com> Date: Thu, 11 Nov 2010 10:58:56 -0700 From: Frank Lovelace User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.2; Diary entries displayed twice X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 11 Nov 2010 13:02:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) touch ~/diary emacs -Q M-x calendar M-x calendar-set-date-style Date style: iso i m Edit ~/diary to: --begin ~/diary-------- *-*-11 pay bills --end ~/diary---------- Save ~/dairy Then from within calendar with point on 11th of any month press d to display dairy, "pay bills" is written twice. The above was done in Emacs 23.2.1 on GNU/Linux, and a similar recipe causes same issue for Emacs on MS Windows, the configuration as shown below: In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Calendar 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 blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x M-x c a l a n d e r d e n d e a r i d t e s t m x u m C-x C-s m d M-x c a l e n d e r a r - d a t e d a t e - d a t e - i s o i d l u n c h X S C-x C-s d i m p a y SPC b i l l s C-x C-s C-x C-s d SPC i m h e l l o C-x C-s d i d n n n C-x C-s d d C-x C-g C-g M-x b u g r e p o r t Recent messages: Preparing diary...done Saving file c:/Documents and Settings/Mom/Application Data/diary... Wrote c:/Documents and Settings/Mom/Application Data/diary Marking diary entries...done Preparing diary...done Saving file c:/Documents and Settings/Mom/Application Data/diary... Wrote c:/Documents and Settings/Mom/Application Data/diary Marking diary entries...done Preparing diary...done Preparing diary...done Quit Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs diary-lib diary-loaddefs mule-util cal-move regexp-opt cal-menu easymenu calendar cal-loaddefs tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------------=_1289504642-20670-1--