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

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

Possible `point-entered' `point-left' Text Property Bug


From: David Hansen
Subject: Possible `point-entered' `point-left' Text Property Bug
Date: Wed, 12 Apr 2006 14:29:15 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

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:

Eval in emacs -Q:

(defun prop-test (old new) (message "XXX: %d %d" old new))
(let ((buffer (generate-new-buffer "*prop tst*")))
  (with-current-buffer buffer
    (insert "1234567890\n1234567890\n")
    (put-text-property (point-min) (point-max) 'point-entered 'prop-test)
    (put-text-property (point-min) (point-max) 'point-left 'prop-test)
    (pop-to-buffer buffer)))

Now move up two lines.  You'll see the `message' for every
line you move up.  This doesn't happen if you move backward
character wise with C-b.

As far as i understand the documentation this shouldn't
happen for the line movement either as all chars have the
same `point-left' and `point-entered' text-property.

David

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
/home/dhansen/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu)
 of 2006-04-05 on robotron
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure '--prefix=/home/dhansen' '--disable-sound' 
'--disable-pop' '--with-x-toolkit=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  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: Lisp Interaction

Minor modes in effect:
  flyspell-mode: t
  jabber-activity-mode: t
  rcirc-track-minor-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  auto-compression-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
C-M-SPC M-w C-n C-y M-b M-b C-b C-b <M-backspace> l 
e f t C-e C-b <return> ( p o p - t o - b u f f e r 
SPC b u f f e r C-e ) C-p C-p C-p C-p C-p C-p C-e C-x 
C-e C-n C-n C-n C-n C-n C-n C-x C-e C-p C-p C-n C-p 
C-n C-p C-n C-n C-p C-p C-n C-n C-p C-p C-x o C-x 1 
<switch-frame> C-x 1 <switch-frame> C-x C-e C-p C-p 
C-n C-n C-x o C-x 1 M-x r e p <tab> o <tab> r <tab> 
b <tab> <return>

Recent messages:
XXX: 23 12
XXX: 12 1
#<buffer *prop tst*<2>>
XXX: 1 12
XXX: 23 12
XXX: 12 1
XXX: 1 12 [2 times]
XXX: 1 23
Making completion list... [2 times]
Loading emacsbug...done




reply via email to

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