From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hobbit Newsgroups: gmane.emacs.help Subject: emacs appointments (appt-add) Date: Tue, 18 Jan 2011 16:48:13 +0200 Message-ID: <144931295362094@web80.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 1295400343 23402 80.91.229.12 (19 Jan 2011 01:25:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2011 01:25:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 19 02:25:39 2011 Return-path: Envelope-to: geh-help-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 1PfMnp-0004PY-D7 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jan 2011 02:25:37 +0100 Original-Received: from localhost ([127.0.0.1]:50619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfMno-0002M5-OU for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jan 2011 20:25:36 -0500 Original-Received: from [140.186.70.92] (port=42738 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfCr5-00089i-VA for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 09:48:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfCr4-0004kO-LS for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 09:48:19 -0500 Original-Received: from forward10.mail.yandex.net ([77.88.61.49]:44913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfCr4-0004jI-AV for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 09:48:18 -0500 Original-Received: from web80.yandex.ru (web80.yandex.ru [77.88.60.147]) by forward10.mail.yandex.net (Yandex) with ESMTP id 810F61F50CA5 for ; Tue, 18 Jan 2011 17:48:14 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1295362094; bh=R9JcflsmUOhsgjPNwBjoCNRXftyYezQxqPZLyD0Jhow=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=WJXOX5nr0I/mzG8u3spq/6IgIlICCqgTxJv1mStUxgSmDW+9Pf1i4R7MsiNsKBbYp RpR8wycicECmcEdP4o73bIw+jhB3atIHcDAoUhAZG/kuOGPWyPzo9+A4c965AD6kSX HvGyHWu4YBXUeRkOpdTTDomBkGmPkVmp0EnnC7Qc= Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by web80.yandex.ru (Yandex) with ESMTP id 74F6AFC003A for ; Tue, 18 Jan 2011 17:48:14 +0300 (MSK) Original-Received: from 254-157-133-95.pool.ukrtel.net (254-157-133-95.pool.ukrtel.net [95.133.157.254]) by mail.yandex.ru with HTTP; Tue, 18 Jan 2011 17:48:13 +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-Mailman-Approved-At: Tue, 18 Jan 2011 20:19:41 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78569 Archived-At: I have several problems with Emacs appointments. 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). 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).