From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.bugs Subject: bug#7946: Referring to a marker changes Emacs' behaviour. Date: Wed, 2 Feb 2011 05:44:40 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296626847 15897 80.91.229.12 (2 Feb 2011 06:07:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2011 06:07:27 +0000 (UTC) Cc: 7946@debbugs.gnu.org To: Le Wang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 02 07:07:23 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PkVrq-0003T8-Ll for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Feb 2011 07:07:23 +0100 Original-Received: from localhost ([127.0.0.1]:40209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkVFZ-00086i-30 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Feb 2011 00:27:29 -0500 Original-Received: from [140.186.70.92] (port=37725 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkVEr-0007cj-05 for bug-gnu-emacs@gnu.org; Wed, 02 Feb 2011 00:26:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkUuU-0006u0-6j for bug-gnu-emacs@gnu.org; Wed, 02 Feb 2011 00:05:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkUuU-0006tu-1C for bug-gnu-emacs@gnu.org; Wed, 02 Feb 2011 00:05:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PkUSj-0000lR-MY; Tue, 01 Feb 2011 23:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Feb 2011 04:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7946-submit@debbugs.gnu.org id=B7946.12966213972909 (code B ref 7946); Wed, 02 Feb 2011 04:37:01 +0000 Original-Received: (at 7946) by debbugs.gnu.org; 2 Feb 2011 04:36:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkUSL-0000ks-9b for submit@debbugs.gnu.org; Tue, 01 Feb 2011 23:36:37 -0500 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkUSK-0000kh-8H for 7946@debbugs.gnu.org; Tue, 01 Feb 2011 23:36:36 -0500 Original-Received: by iyi42 with SMTP id 42so7116834iyi.3 for <7946@debbugs.gnu.org>; Tue, 01 Feb 2011 20:45:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=VKTn+pC7RTFkWWShh2TXYq5lc/b+A2OzKZ9WPSZzmnM=; b=Ab6rfGA/IywqmGmJPo0Y07hdehvkhdjKZQhDI8aJQLHMsayj9uGm7LgOhOcqS6u+zy BSzc0cYJEGwc1Z2mHabC4tFdaYewP9ZYrZccYJsgkPDfgyRCDrBGlPXELngi/fohfPde aVqr62KWmJ3C4gC7zAC5W/OpFvssbgA46Cj6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=WBH/F77neKa5AXO0Jeiqp0Z+UnpHWSJcuyoYN2dJN3Aj+jFRTtYCm7VZTecmzNZHjG XsD5RxOU2AnwhAwuE6oyxE8fAUpu3c+xLyYQGt5a8k+fHb+DMMMi5QrUdj3WnKiHeoVp asMTT/B5jDqwfv7P+KW5Dwkd9CHdBUMuoPYsY= Original-Received: by 10.231.10.200 with SMTP id q8mr9394694ibq.122.1296621900561; Tue, 01 Feb 2011 20:45:00 -0800 (PST) Original-Received: by 10.231.32.197 with HTTP; Tue, 1 Feb 2011 20:44:40 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Feb 2011 23:37:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43834 Archived-At: 2011/1/31 Le Wang : > Hi, > I found an issue where evaluating this line or not causes Emacs behaviour > change: > > (format "%s" marked-point) > > "marked-point" is a marker. =A0The bug was found on NTEmacs 23.2.1, repro= ed on > CVS NTEmacs 20110111, and=A0Stephen Berman=A0confirmed it on=A0GNU 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 ;; 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 ;; 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 ;; 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). --=20 Deniz Dogan