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

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

dired-after-readin-hook


From: kevin.gal
Subject: dired-after-readin-hook
Date: Tue, 28 Nov 2006 19:27:48 -0600 (CST)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing
list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

In dired.el, the line 

     (run-hooks 'dired-after-readin-hook)

has been added to the end of the function dired-readin().  This line is
also found in the function dired-revert() AFTER a call to
dired-readin().  This means, on a call to dired-revert(), the
functions assigned to dired-after-readin-hook are call TWICE, which
can cause the dired buffer to become corrupted, depending upon what
the functions assigned to dired-after-readin-hook are designed to do.  

I observed this problem when using the popular clearcase.el package.
If the line 

     (run-hooks 'dired-after-readin-hook)

is removed from dired-revert(), the modification to the buffer
performed by the clearcase.el function assigned to
dired-after-readin-hook works properly.


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
/users/gallagk/usr/local/share/emacs/22.0.91/etc/DEBUG for instructions.


In GNU Emacs 22.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2006-11-20 on houfcs4
X server distributor `Hummingbird Ltd.', version 11.0.90020
configured using `configure '--prefix=/users/gallagk/usr/local''

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: C
 locale-coding-system: nil
 default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
 shell-dirtrack-mode: t
 show-paren-mode: t
 display-time-mode: t
 tooltip-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
 auto-compression-mode: t
 line-number-mode: t
 transient-mark-mode: t

Recent input:
<pause> f <return> g g <pause> b f <pause> f ~ / d 
i r <tab> <return> <pause> g C-g <escape> x r e p o 
r t SPC e m SPC b SPC <return>

Recent messages:
Listing ClearCase modified files...done
Reformatting /vobs/fcsc_systemServices/...
Reformatting...Done
Listing ClearCase modified files...done
Reformatting /vobs/fcsc_systemServices/...
Reformatting...Done
Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.
Reading view properties...done
Quit
Loading emacsbug...done





reply via email to

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