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 18:18:02 +0200 Message-ID: <196041295367483@web138.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 1295400049 21777 80.91.229.12 (19 Jan 2011 01:20:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2011 01:20:49 +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:20:45 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 1PfMj6-0002MT-4I for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jan 2011 02:20:44 +0100 Original-Received: from localhost ([127.0.0.1]:39534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfMj4-0007t3-Kn for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jan 2011 20:20:42 -0500 Original-Received: from [140.186.70.92] (port=33569 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfEG8-0005Ve-GL for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 11:18:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfEFx-00023s-Hl for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 11:18:16 -0500 Original-Received: from forward13.mail.yandex.net ([95.108.130.120]:34360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfEFx-00023Z-6C for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 11:18:05 -0500 Original-Received: from web138.yandex.ru (web138.yandex.ru [95.108.130.35]) by forward13.mail.yandex.net (Yandex) with ESMTP id 895A410816EF for ; Tue, 18 Jan 2011 19:18:03 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1295367483; bh=v1QeeRAAONy8vnk/ELNZKHrTqdOodskvRJTrqsWuMRI=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=D4Janc5ulFzkix3FzKvEk7H41kuz3dzaiJhxivmV6HsynuqQkAuCbwa3mAw7dCfCD winGiKtdZI/98yk+ZruI7+mD5QBAq9Xz2ogzePshirQh+XMmrGTghgjfdsyO1/nmIT f6fn3osE2g5SHLDSMhHKTtqR0kdPjljiXCtUUhQw= Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by web138.yandex.ru (Yandex) with ESMTP id 806FC6A08078 for ; Tue, 18 Jan 2011 19:18:03 +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 19:18:02 +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:45 -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:78562 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 (using M-x appt-add) 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).