From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hobbit Newsgroups: gmane.emacs.bugs Subject: bug#8039: appt-add problems Date: Mon, 14 Feb 2011 23:58:38 +0200 Message-ID: <129771297720718@web91.yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297721838 11312 80.91.229.12 (14 Feb 2011 22:17:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 22:17:18 +0000 (UTC) To: 8039@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 14 23:17:14 2011 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.69) (envelope-from ) id 1Pp6jJ-0008Sb-IQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Feb 2011 23:17:13 +0100 Original-Received: from localhost ([127.0.0.1]:44155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp6jJ-0005mm-0H for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Feb 2011 17:17:13 -0500 Original-Received: from [140.186.70.92] (port=42956 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp6Yv-0003ER-6g for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 17:06:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pp6Yu-0004TM-9M for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 17:06:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pp6Yu-0004TG-18 for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 17:06:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pp6Pm-0001JN-2Z; Mon, 14 Feb 2011 16:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hobbit Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2011 21:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12977205964982 (code B ref -1); Mon, 14 Feb 2011 21:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2011 21:56:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6PL-0001IG-JP for submit@debbugs.gnu.org; Mon, 14 Feb 2011 16:56:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6Ik-00012h-ML for submit@debbugs.gnu.org; Mon, 14 Feb 2011 16:49:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pp6RQ-00036X-B6 for submit@debbugs.gnu.org; Mon, 14 Feb 2011 16:58:45 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:57621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pp6RQ-00036T-3n for submit@debbugs.gnu.org; Mon, 14 Feb 2011 16:58:44 -0500 Original-Received: from [140.186.70.92] (port=57510 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp6RP-0008PC-8B for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 16:58:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pp6RO-00036H-2C for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 16:58:43 -0500 Original-Received: from forward10.mail.yandex.net ([77.88.61.49]:55514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pp6RN-00036A-Kp for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 16:58:41 -0500 Original-Received: from web91.yandex.ru (web91.yandex.ru [77.88.60.15]) by forward10.mail.yandex.net (Yandex) with ESMTP id 0E4833FC9518 for ; Tue, 15 Feb 2011 00:58:39 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1297720719; bh=WfdIDOm9ucOPkrhYL7EvPtEWisdcdPOlmkDSQoPIfOg=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=hb/5v4pNIhi++b0468buTqwM8oG63nUjw8hKkFEne/SfzzYADM4ayhYvchS9bfpbv +4/BI4OdSpjDDBjhadzs8oWo3/2p8oGDN9EB2KyQtAjTDvLaka/w6y7Q32pmxf+Iok C09Q1N13eWQNSSsHIVW8URffyHcBG/IGk+aAvKZs= Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by web91.yandex.ru (Yandex) with ESMTP id 0624F5F84A5 for ; Tue, 15 Feb 2011 00:58:39 +0300 (MSK) Original-Received: from 133-178-133-95.pool.ukrtel.net (133-178-133-95.pool.ukrtel.net [95.133.178.133]) by mail.yandex.ru with HTTP; Tue, 15 Feb 2011 00:58:38 +0300 Envelope-From: werehobbit@yandex.ru X-Mailer: Yamail [ http://yandex.ru ] 5.0 X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-Received-From: 77.88.61.49 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Mailman-Approved-At: Mon, 14 Feb 2011 16:56:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 14 Feb 2011 16:57:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 14 Feb 2011 17:17:09 -0500 X-BeenThere: bug-gnu-emacs@gnu.org 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:44128 Archived-At: How to repair appointments in Emacs? E.g. 2 problems (case 2. when there are no notification at deadline and with "app't in % min" indicator which shows incorrect time). Just for example I run "emacs -q" and evaluate in *scratch* buffer next settings (usually I use .emacs, of course): (display-time) (setq appt-message-warning-time 5 appt-display-mode-line t) (appt-activate 1) When I add notifications on such time I get: 1. current_time + 1 minute - Emacs shows notification in correct time; 2. current_time + 6 minutes - shows two notifications, one before 5 minutes and second before 2 minutes to deadline (in time, 0 minutes to deadline, - nothing comes up). At the same time in Mode Line "App't in % min" shows time, which is current_time - 1 minute (if there are 3 minutes to deadline it shows only 2). What's surprising is that in clock (which is (display-time)'s work) time is correct (like [h@localhost$ date] displays).