Your message dated Thu, 3 Jan 2019 21:38:53 +0000 (UTC) with message-id <[email protected]> and subject line Re: Bug#801349 has caused the Debian Bug report #801349, regarding emacs does not notify for appointments. appt mode. to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 801349: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801349 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: emacs Version: 46.1 Severity: normal Dear Maintainer, * What led up to the situation? I have used emacs' appointment capability extensively for years. It notifies the user of an appointment on jessie (emacs 23) but does not do so on wheezy (emacs 24). * What exactly did you do (or not do) that was effective (or ineffective)? On both jessie and wheezy with identical .emacs files, I open the calendar ("M-x calendar") and inserted an appointment about 15 minutes in the future (. i d ), and saved the diary file. * What was the outcome of this action? On wheezy, at 12 minutes before the appointment time, emacs started displaying a notification window and showed the appointment in the mode line (an option), as it is supposed to. On Jessie, no notification window or mode line. * What outcome did you expect instead? I expected both to produce a notification, as Jessie did. * Other: I have several machines with Jessie. On one the end-of-buffer warning is audible, on another it is not. I believe this is a separate issue. Relevant portion of .emacs: -------------------------------------------------- ;; Calendar stuff: (if (system-is-desktop) (progn ;; ---great bit of code from Jeff Miller to highlight appointments in red on modeline--- ;; per http://www.emacswiki.org/emacs/AppointmentMode (defface appt-face '((t (:foreground "red" :background "white"))) "Face to indicate a current appointment." :group 'appt) (defadvice appt-disp-window (before appt-hilite-more activate) (when appt-mode-string (put-text-property 1 (- (length appt-mode-string) 1) 'face 'appt-face appt-mode-string))) (defadvice appt-check (after appt-hilite activate) (when appt-mode-string (put-text-property 1 (- (length appt-mode-string) 1) 'face 'appt-face appt-mode-string) (force-mode-line-update))) ;; --------------------------------- ;; (seq appt-display-mode-line t) ; explicitly enable it. ;; set my home co-ordinates for sunrise/sunset calculations (setq calendar-latitude 43.6) (setq calendar-longitude -108.2) (setq calendar-location-name "Thermopolis, Wyo") (calendar) ; fire up the calendar display. (setq show-trailing-whitespace nil) ;; (setq cal-tex-diary t) ;; (setq cal-tex-rules t) (if (> emacs-major-version 22) (progn (calendar-mark-holidays) (diary-mark-entries) (other-window 1) ; Now switch to the main window on this frame. ;; Set a vector for the number of days in advance to show ;; appointments. Then turn the diary mode on. (setq diary-number-of-entries [2 3 3 3 3 5 2]) ;; Add the appointment generator to the diary hook. (if ( < emacs-major-version 24) ; emacs 23 or less (add-hook 'diary-hook 'appt-make-list) ) ;; (add-hook 'diary-display-function 'diary-fancy-display) (setq diary-display-function 'diary-fancy-display) ) (progn (mark-calendar-holidays) (mark-diary-entries) (other-window 1) ; Now switch to the main window on this frame. ;; Set a vector for the number of days in advance to show ;; appointments. Then turn the diary mode on. (setq number-of-diary-entries [2 3 3 3 3 5 2]) ;; Add the appointment generator to the diary hook. (if ( < emacs-major-version 24) ; emacs 23 or less (add-hook 'diary-hook 'appt-make-list) ) ;; (add-hook 'diary-display-hook 'fancy-diary-display) ) ) ;; If this is non-nil, Emacs rings the terminal bell for appointment ;; reminders. The default is t. ;; (setq appt-audible nil) ;; (if (< emacs-major-version 23) (diary) ;; ) ) ) ;; end calendar/diary stuff -------------------------------------------------- -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages emacs depends on: ii emacs24 24.4+1-5 emacs recommends no packages. emacs suggests no packages. -- no debconf information -- The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. -- U.S. Const. Amendment IV Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
--- End Message ---
--- Begin Message ---I see no call to "appt-activate" in the code you quote, so I guess you failed to spot the NEWS entry from Emacs 24: *** The obsolete (since Emacs 22.1) method of enabling the appt package by adding `appt-make-list' to `diary-hook' has been removed. Use `appt-activate' instead.
--- End Message ---

