GNU logs - #16181, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16181: 23.1; losing track of point
Resent-From: John Chandler <chandler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 18 Dec 2013 01:42:02 +0000
Resent-Message-ID: <handler.16181.B.138733086321796 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 16181
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 16181 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Reply-To: chandler@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.138733086321796
          (code B ref -1); Wed, 18 Dec 2013 01:42:02 +0000
Received: (at submit) by debbugs.gnu.org; 18 Dec 2013 01:41:03 +0000
Received: from localhost ([127.0.0.1]:56284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vt68D-0005fB-FB
	for submit <at> debbugs.gnu.org; Tue, 17 Dec 2013 20:41:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60895)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <chandler@HIDDEN>) id 1Vt64A-0005W5-Ml
 for submit <at> debbugs.gnu.org; Tue, 17 Dec 2013 20:36:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <chandler@HIDDEN>) id 1Vt643-0007n1-Gh
 for submit <at> debbugs.gnu.org; Tue, 17 Dec 2013 20:36:50 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44807)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <chandler@HIDDEN>) id 1Vt643-0007mx-Cy
 for submit <at> debbugs.gnu.org; Tue, 17 Dec 2013 20:36:43 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34363)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <chandler@HIDDEN>) id 1Vt63x-0000Md-Aa
 for bug-gnu-emacs@HIDDEN; Tue, 17 Dec 2013 20:36:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <chandler@HIDDEN>) id 1Vt63r-0007mG-6c
 for bug-gnu-emacs@HIDDEN; Tue, 17 Dec 2013 20:36:37 -0500
Received: from cfa.harvard.edu ([131.142.10.1]:40384)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <chandler@HIDDEN>) id 1Vt63r-0007mA-2e
 for bug-gnu-emacs@HIDDEN; Tue, 17 Dec 2013 20:36:31 -0500
Received: from cfa0.cfa.harvard.edu (cfa0 [131.142.24.30])
 by cfa.harvard.edu (8.13.7/8.13.7/cfunix Mast-Sol 1.0) with ESMTP id
 rBI1aUDR008396
 for <bug-gnu-emacs@HIDDEN>; Tue, 17 Dec 2013 20:36:30 -0500 (EST)
Received: (from chandler@localhost)
 by cfa0.cfa.harvard.edu (8.13.7/8.14.5/cfunix S 5.0) id rBI1aUj9050387;
 Tue, 17 Dec 2013 20:36:30 -0500
Date: Tue, 17 Dec 2013 20:36:30 -0500
Message-Id: <201312180136.rBI1aUj9050387@HIDDEN>
From: John Chandler <chandler@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Mailman-Approved-At: Tue, 17 Dec 2013 20:40:59 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

emacs-version:
GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9) of 2013-07-17 on c6b10.bsys.dev.centos.org

installed as part of CentOS 6.5

When a macro performs some editing tasks and then moves "point"
forward using a (forward-line 1) at a time when the current line wraps
and extends outside the viewing window, emacs often loses track of
"point" and leaves it somewhere near the middle of the viewing window.
The same macro invocation will work properly if the entire current
line is visible in the window when the editing tasks are done, even if
the beginning of the next line is outside the window.  But it will
fail if the editing tasks performed by the macro cause the line to
wrap outside the window before the final (forward-line 1).  This
behavior does not depend on the setting of line-move-visual.  The
following macro is a short example:

(defun ttt() "add tag from start" (interactive)
  (save-excursion
    (goto-char 0)
    (copy-to-register 26 (point) (progn (forward-word 1)(point)) t))
  (insert-register 26)
  (forward-line 1))

The file to be edited using this macro should begin with a line
containing a list of words to be inserted in front of a succession of
lines in the file.  If the lines in the file generally wrap,
especially if they wrap multiple times each, the successive
application of the macro should quickly trigger the bug.



In GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9)
 of 2013-07-17 on c6b10.bsys.dev.centos.org
configured using `configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic''

Important settings:
  value of $LC_ALL: en_US
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: ascii8
  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
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default-enable-multibyte-characters: t

Major mode: Apropos

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
c a t e SPC / / ; C-x C-s ESC O A C-a C-s C-w C-s C-g 
ESC O B ESC O B ESC O B ESC [ 5 ~ ESC O A ESC O A ESC 
O A ESC O B ESC O B C-s C-w C-s ESC O A C-a C-x 2 C-x 
C-f r b DEL b . x RET C-s c h e k DEL c k ESC O C C-s 
a C-g C-s SPC a g C-x 0 C-s C-w C-r C-r C-g ESC O B 
ESC O B ESC O A ESC O A C-s C-w C-s C-s C-g C-g C-r 
C-r ESC O B ESC O B ESC O B C-a ESC b C-s C-w C-r C-r 
C-e C-r d . ESC f ESC f SPC S e p SPC 2 3 SPC a e : 
8 7 SPC i n : S h e r b o r n , SPC M A SPC * S C D 
SPC P DEL p : 4 6 8 - 2 0 C-r SPC i RET . 7 . 2 ESC 
f ESC f ESC f SPC b y : d y s e n t e r y C-u ESC d 
C-y C-e ESC b ESC f C-y C-a C-s C-w C-s ESC O B ESC 
O B ESC [ 5 ~ ESC O A ESC O A ESC O A ESC O B ESC O 
B ESC O A C-a C-s C-w C-r C-r C-r C-g ESC [ 1 8 ~ ESC 
[ 1 8 ~ C-h a b u g s RET C-h a b u g RET ESC [ 1 8 
~ ESC [ 6 ~ ESC [ 6 ~ ESC x r e p o TAB r TAB RET

Recent messages:
Mark saved where search started
Quit [2 times]
Mark saved where search started [4 times]
Mark set [2 times]
Auto-saving...
Mark saved where search started
Quit
No apropos matches for `bugs'
Type C-x 4 C-o RET to restore the other window.  
Making completion list...




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: chandler@HIDDEN
Subject: bug#16181: Acknowledgement (23.1; losing track of point)
Message-ID: <handler.16181.B.138733086321796.ack <at> debbugs.gnu.org>
References: <201312180136.rBI1aUj9050387@HIDDEN>
X-Gnu-PR-Message: ack 16181
X-Gnu-PR-Package: emacs
Reply-To: 16181 <at> debbugs.gnu.org
Date: Wed, 18 Dec 2013 01:42:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 16181 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
16181: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16181
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16181: 23.1; losing track of point - partial workaround
References: <201312180136.rBI1aUj9050387@HIDDEN>
In-Reply-To: <201312180136.rBI1aUj9050387@HIDDEN>
Resent-From: "Chandler, John" <jchandler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 26 Feb 2014 20:33:01 +0000
Resent-Message-ID: <handler.16181.B16181.139344673920615 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16181
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 16181 <at> debbugs.gnu.org
Received: via spool by 16181-submit <at> debbugs.gnu.org id=B16181.139344673920615
          (code B ref 16181); Wed, 26 Feb 2014 20:33:01 +0000
Received: (at 16181) by debbugs.gnu.org; 26 Feb 2014 20:32:19 +0000
Received: from localhost ([127.0.0.1]:41865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WIl9P-0005MQ-3X
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2014 15:32:19 -0500
Received: from mail-ie0-f178.google.com ([209.85.223.178]:53738)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jchandler@HIDDEN>) id 1WIl8d-0005KC-7R
 for 16181 <at> debbugs.gnu.org; Wed, 26 Feb 2014 15:31:31 -0500
Received: by mail-ie0-f178.google.com with SMTP id ar20so1201149iec.9
 for <16181 <at> debbugs.gnu.org>; Wed, 26 Feb 2014 12:31:30 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=XWctgGuClSiAX3wU50lSl5vK1hTYB07dH9dw+dlxSlA=;
 b=FuHW63HdemvHHSGrUItgTFNI3tfzgsmz/ETPIsXsOzqbolwL7useVQFeS/J76rcCJN
 W6Hp5GCZvZni8pIzuK/VbWMLRgoxMnvgGFloVFKpaujblPA+05kijyXk3X5xYnl3FLeV
 w0jEBwg+G1UgUjcjUgHZeT4a/VnwFqVYCAvFgTkKSYkW86vs5C02lHkx88uqkNB0k5Ig
 5rjoik7c5j3jE3R2H0cbKskycw5vYaElC1iY8hFAKO4HUYK3oTmwFJ0RBA1kSgxqW7Mz
 diAvtg6jJi0ZekkEVm4nfbdqL5WFU582UXA8VSri+sxnqvOJcXfkTsg4Hzp8EHFdtTIc
 zw2w==
X-Gm-Message-State: ALoCoQlVvZ4ph5pUoVrFQSAuSohiaF4Cgc5muAubYg/FHmSHpIGdMKmIEE6syh2wg4lJp+iwRCb2
MIME-Version: 1.0
X-Received: by 10.50.136.162 with SMTP id qb2mr28373758igb.11.1393446690430;
 Wed, 26 Feb 2014 12:31:30 -0800 (PST)
Received: by 10.50.137.131 with HTTP; Wed, 26 Feb 2014 12:31:30 -0800 (PST)
Date: Wed, 26 Feb 2014 15:31:30 -0500
Message-ID: <CAOHbs5fzLVk8Xcobj0DXm=a+iQ9bHv7T9YbgxssCr963RKmjiw@HIDDEN>
From: "Chandler, John" <jchandler@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Spam-Score: -0.7 (/)
X-Mailman-Approved-At: Wed, 26 Feb 2014 15:32:15 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

I have determined empirically that interleaving short "sit-for"
commands between the
actual working commands of a macro can usually keep emacs from getting
confused over
where "point" is.





Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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