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

Reply via email to