[Top][All Lists]

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

bug#7946: Referring to a marker changes Emacs' behaviour.

From: Le Wang
Subject: bug#7946: Referring to a marker changes Emacs' behaviour.
Date: Mon, 31 Jan 2011 14:45:43 +0800


I found an issue where evaluating this line or not causes Emacs behaviour change:

(format "%s" marked-point)

"marked-point" is a marker.  The bug was found on NTEmacs 23.2.1, reproed on CVS NTEmacs 20110111, and Stephen Berman confirmed it on GNU Emacs
(i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-01-13 on escher

"rebox2_bug.el" is attached to this message.

  1. emacs -Q rebox2_bug.el
  2. M-x eval-current-buffer
  3. C-x b<enter> ;; switch to "*scratch*"
  4. M-x rebox-mode
  5. M-<
  6. SPC,SPC ;; space twice
  7. C-aC-aC-aC-a ;; notice that the point is stuck at 6
  8. C-xb<enter> ;; switch to "rebox2_bug.el
  9. M-g g 1714
  10. C-d ;; uncomment the hack workaround the bug
  11. C-M-x ;; reevaluated the function 
  12. C-x b<enter> ;; switch to "*scratch*"
  13. C-aC-aC-aC-a ;; notice that the cursor switches between 1 and 6


Attachment: rebox2_bug.el
Description: Binary data

reply via email to

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