emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Click on fancy diary entry cause error if diary buffer was killed


From: Miguel V. S. Frasson
Subject: Click on fancy diary entry cause error if diary buffer was killed
Date: Wed, 3 May 2006 07:44:54 -0600

Hi.

I can always reproduce the bug I will describe bellow.

I have fancy-diary display when emacs starts, displaying entries for
several days.

Today, with most recent cvs Emacs, after the *Fancy Diary Entries*
buffer appeared, I noticed that the mouse over an entry highlights
it.  A click with mouse-2 sent me to a file that is #include'd in my
diary file, in the entry.  Very nice.  Then I killed that file with
the entry and returned to the *Fancy Diary Entries* buffer again.  I
clicked again in the same entry, and now it crashed with the
`push-button: Wrong type argument: integer-or-marker-p, nil' error.
It crashed also if I try other entries in that file (I didn't test
with entries in separated files.)

For additional info, I send part of my .emacs file and the
customizations I made for diary and calendar.

In my .emacs --------------------

; diary
(add-hook 'emacs-startup-hook 'diary)

; some private holidays
(setq other-holidays
     '('((( 2 27 2006) "Recesso escolar. Não haverá aula.")
          (( 2 28 2006) "Recesso escolar. Não haverá aula.")
          (( 3  1 2006) "Cinzas. Não haverá aula.")
          (( 4 10 2006) "Semana Santa. Não haverá aula.")
          (( 4 11 2006) "Semana Santa. Não haverá aula.")
          (( 4 12 2006) "Semana Santa. Não haverá aula.")
          (( 4 13 2006) "Semana Santa. Não haverá aula.")
          (( 4 14 2006) "Semana Santa. Não haverá aula.")
          (( 4 15 2006) "Semana Santa. Não haverá aula.")
          (( 4 21 2006) "Tiradentes. Não haverá aula.")
          (( 4 22 2006) "Recesso escolar. Não haverá aula.")
          (( 5  1 2006) "Dia do Trabalho. Não haverá aula.")
          (( 6 15 2006) "Corpus Christi. Não haverá aula.")
          (( 6 16 2006) "Recesso escolar. não haverá aula.")
          (( 6 17 2006) "Recesso escolar. não haverá aula.")
          (( 8 15 2006) "Dia de Nossa Senhora. Não haverá aula.")
          (( 9  4 2006) "Semana da Pátria. Não haverá aula.")
          (( 9  5 2006) "Semana da Pátria. Não haverá aula.")
          (( 9  6 2006) "Semana da Pátria. Não haverá aula.")
          (( 9  7 2006) "Semana da Pátria. Não haverá aula.")
          (( 9  8 2006) "Semana da Pátria. Não haverá aula.")
          (( 9  9 2006) "Semana da Pátria. Não haverá aula.") 
          ((10 12 2006) "Dia da Padroeira do Brasil. Não haverá aula.")
          ((10 13 2006) "Recesso escolar. Não haverá aula.")
          ((10 14 2006) "Recesso escolar. Não haverá aula.")
          ((11  2 2006) "Finados. Não haverá aula.")
          ((11  3 2006) "Recesso escolar. Não haverá aula.")
          ((11  4 2006) "Recesso escolar. Não haverá aula.")
          ((11 15 2006) "Proclamação da República. Não haverá aula.")
          )))

; Custom
(setq custom-file "~/.emacs-custom")
(load "~/.emacs-custom" t t)

---------------------------------

in my .emacs-custom

(custom-set-variables
 ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
 ;; Your init file should contain only one such instance.
'(delete-selection-mode t nil (delsel))
'(diary-display-hook (quote (fancy-diary-display)))
'(diary-mail-addr "address@hidden")
'(european-calendar-style t)
'(general-holidays nil)
'(global-font-lock-mode t nil (font-lock))
'(inhibit-startup-message t)
'(list-diary-entries-hook (quote (include-other-diary-files)))
'(mark-diary-entries-hook (quote (mark-included-diary-files)))
'(mark-diary-entries-in-calendar t)
'(mark-holidays-in-calendar t)
'(number-of-diary-entries [2 2 2 2 2 4 3])
'(pc-selection-mode t nil (pc-select))
'(scroll-bar-mode (quote right))
'(sgml-name-8bit-mode t)
'(today-visible-calendar-hook (quote (calendar-mark-today)))
'(view-calendar-holidays-initially nil))
(custom-set-faces
 ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
 ;; Your init file should contain only one such instance.
'(calendar-today-face ((t (:foreground "blue" :weight bold)))))

---------------------------------

If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
   `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2006-05-02 on miguel
X server distributor `The X.Org Foundation', version 11.0.60802000
Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: en_US.UTF-8
 locale-coding-system: utf-8
 default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
 delete-selection-mode: t
 pc-selection-mode: t
 tooltip-mode: t
 auto-compression-mode: t
 tool-bar-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 line-number-mode: t
 transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <down-mouse-2> <mouse-2> C-x
k <return> C-x b * F <tab> <return> <help-echo> <down-mouse-2>
<mouse-2> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Loading diary-lib...done
Preparing diary... [11 times]
Loading holidays...done
Loading cal-hebrew...done
Loading cal-islam...done
Loading cal-china...done
Preparing diary...done
push-button: Wrong type argument: integer-or-marker-p, nil
Loading emacsbug...done

--
Miguel Vinicius Santini Frasson
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]