GNU bug report logs - #7946
Referring to a marker changes Emacs' behaviour.

Previous Next

Package: emacs;

Reported by: Le Wang <l26wang <at> gmail.com>

Date: Mon, 31 Jan 2011 07:20:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
To: Le Wang <l26wang <at> gmail.com>
Cc: 7946 <at> debbugs.gnu.org
Subject: bug#7946: Referring to a marker changes Emacs' behaviour.
Date: Wed, 2 Feb 2011 05:44:40 +0100
2011/1/31 Le Wang <l26wang <at> gmail.com>:
> Hi,
> 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 24.0.50.1
> (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-01-13 on escher
> "rebox2_bug.el" is attached to this message.
> Repro-steps:
>
> emacs -Q rebox2_bug.el
> M-x eval-current-buffer
> C-x b<enter> ;; switch to "*scratch*"
> M-x rebox-mode
> M-<
> SPC,SPC ;; space twice
> C-aC-aC-aC-a ;; notice that the point is stuck at 6
> C-xb<enter> ;; switch to "rebox2_bug.el
> M-g g 1714
> C-d ;; uncomment the hack workaround the bug
> C-M-x ;; reevaluated the function
> C-x b<enter> ;; switch to "*scratch*"
> C-aC-aC-aC-a ;; notice that the cursor switches between 1 and 6
>
> --
> Le
>

I was unable to reproduce this. At both of the "C-a C-a C-a" steps, it
switches between 1 and 4 (or 0 and 3 rather).

-- 
Deniz Dogan




This bug report was last modified 14 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.