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: Tue, 15 Feb 2011 12:19:06 +0200 Message-ID: <336621297765147@web1.yandex.ru> References: <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 1297766203 9690 80.91.229.12 (15 Feb 2011 10:36:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 10:36:43 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 15 11:36:39 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 1PpIGr-0002ue-DC for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Feb 2011 11:36:37 +0100 Original-Received: from localhost ([127.0.0.1]:52329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpIGq-0000Jc-Vn for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Feb 2011 05:36:37 -0500 Original-Received: from [140.186.70.92] (port=56465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpIGl-0000JN-Jl for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 05:36:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpIGj-0008ST-Ee for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 05:36:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpIGj-0008SK-59 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 05:36:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PpHs6-0005lm-Kk; Tue, 15 Feb 2011 05:11:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <129771297720718@web91.yandex.ru> 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: Tue, 15 Feb 2011 10:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.129776461622126 (code B ref -1); Tue, 15 Feb 2011 10:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Feb 2011 10:10:16 +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 1PpHrL-0005ko-LN for submit@debbugs.gnu.org; Tue, 15 Feb 2011 05:10:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpHrJ-0005kc-Dn for submit@debbugs.gnu.org; Tue, 15 Feb 2011 05:10:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpI00-000598-6q for submit@debbugs.gnu.org; Tue, 15 Feb 2011 05:19:13 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:44294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpHzz-000590-Md for submit@debbugs.gnu.org; Tue, 15 Feb 2011 05:19:12 -0500 Original-Received: from [140.186.70.92] (port=48457 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpHzy-0007HJ-UD for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 05:19:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpHzx-00058a-LG for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 05:19:10 -0500 Original-Received: from forward20.mail.yandex.net ([95.108.253.145]:35483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpHzw-00058O-VP for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 05:19:09 -0500 Original-Received: from web1.yandex.ru (web1.yandex.ru [95.108.252.101]) by forward20.mail.yandex.net (Yandex) with ESMTP id AE4B25D1071F for ; Tue, 15 Feb 2011 13:19:07 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1297765147; bh=nirDFH9fTXR84XojlYaKmFSrTP+NrfFyRH78au2W3+k=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=troWiUZSAwx4w+aZMlVF59uxhRHcBAIkjioEC7YThxcH+RdDiJ4qR8FkKhg7ciUCZ CncEGKVPd4XlSYQWBgt6IhqoSA3dNHEsLnf8mTF7xQlzX3kBaX55mIjpDGp5UcpqL5 QPtE7qPaEpG+4KqmXRb32Won9QPM2DP/SiIh2LXU= Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by web1.yandex.ru (Yandex) with ESMTP id A3EBE57A8312 for ; Tue, 15 Feb 2011 13:19:07 +0300 (MSK) Original-Received: from 195-102-133-95.pool.ukrtel.net (195-102-133-95.pool.ukrtel.net [95.133.102.195]) by mail.yandex.ru with HTTP; Tue, 15 Feb 2011 13:19:06 +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: 95.108.253.145 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 15 Feb 2011 05:11:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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:44141 Archived-At: >(setq appt-message-warning-time 6 > appt-display-interval 2) I tried this code snippet. It seems to solve problem by 99%. The only minus is that on deadline Emacs tells that "Appointment in 1 min." instead of "Appointment now" (and when "Appointment in 5 min." it means it will be in 4 minutes). The results are in the tables. The first column shows when Emacs displays warnings and second shows what time was at that moment (by h@localhost$ date) If I execute M-x appt-add with deadline at 11:32: | Appointment in 5 min. | 11:28 | | Appointment in 3 min. | 11:30 | | Appointment in 1 min. | 11:32 | If I execute M-x appt-add with deadline at 11:39: | Appointment in 5 min. | 11:35 | | Appointment in 3 min. | 11:37 | | Appointment in 1 min. | 11:39 |