From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.bugs Subject: bug#22715: 25.0.91; Point randomly jumps during key entry Date: Thu, 18 Feb 2016 21:22:40 -0500 Message-ID: <20160219022240.GD2572@srevilak.net> References: <20160217013949.GE2649@srevilak.net> <83r3gbuw2u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Hf61M2y+wYpnELGG" X-Trace: ger.gmane.org 1455848736 11975 80.91.229.3 (19 Feb 2016 02:25:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2016 02:25:36 +0000 (UTC) To: 22715@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 03:25:27 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aWal4-0008F0-KM for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2016 03:25:26 +0100 Original-Received: from localhost ([::1]:47541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWal4-0007Sn-2G for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 21:25:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWain-0005gt-5q for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 21:23:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWaij-00033m-Uu for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 21:23:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWaij-00033i-R3 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 21:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWaij-0004LC-K4 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 21:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steve Revilak Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2016 02:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 22715-submit@debbugs.gnu.org id=B22715.145584856616665 (code B ref 22715); Fri, 19 Feb 2016 02:23:01 +0000 Original-Received: (at 22715) by debbugs.gnu.org; 19 Feb 2016 02:22:46 +0000 Original-Received: from localhost ([127.0.0.1]:33341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWaiU-0004Kj-9P for submit@debbugs.gnu.org; Thu, 18 Feb 2016 21:22:46 -0500 Original-Received: from paulo.mayfirst.org ([209.234.253.240]:59481) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWaiS-0004Ka-O1 for 22715@debbugs.gnu.org; Thu, 18 Feb 2016 21:22:45 -0500 Original-Received: from paulo.mayfirst.org (unknown [127.0.0.1]) by paulo.mayfirst.org (Postfix) with ESMTP id 1E5263F41 for <22715@debbugs.gnu.org>; Thu, 18 Feb 2016 21:22:42 -0500 (EST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: srevilak@paulo.mayfirst.org) with ESMTPSA id F1EDA3F18 Content-Disposition: inline In-Reply-To: <83r3gbuw2u.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113264 Archived-At: --Hf61M2y+wYpnELGG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks, Eli and Andreas, for your suggestions. I began by collecting `view-lossage' after several instances of point-jumping. Here is a representative example: > [self-insert-command] SPC [self-insert-command] a [self-insert-command] l [self-insert-command] l [self-insert-command] R [self-insert-command] e [self-insert-command] q [self-insert-command] u [self-insert-command] e [self-insert-command] s [self-insert-command] <<< HERE t [self-insert-command] I [self-insert-command] M-x [execute-extended-command] v [self-insert-command] i [self-insert-command] e [self-insert-command] w [self-insert-command] - [self-insert-command] l [self-insert-command] o [self-insert-command] [minibuffer-complete] [minibuffer-complete-and-exit] I'd been typing on line 494 of a .java file. The characters "stI" ended up on line 464. I don't see any unexpected characters in view-lossage; the characters that appear are those I actually typed. Next, I tried to reproduce this behavior in a "almost emacs -Q" configuration, which was emacs -q --no-site-file --no-site-lisp --no-splash and the smallest ~/.emacs I could get away with. I was not able to reproduce the point-jumping behavior in this configuration. Looking through the emacs-devel archives, I came across https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01687.html which describes behavior nearly identical to what I've observed. A later post suggests a patch https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00029.html and another suggests that point-jumping might be related to timers https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02127.html As an experiment, I went back to my "normal emacs", but with a few lines in ~/.emacs commented out: ;(semantic-mode 1) ;(semantic-stickyfunc-mode t) I also commented out `setq' definitions for semanticdb-default-save-directory and semanticdb-project-roots. With those elements commented out, I couldn't reproduce the point-jumping behavior. (I'll continue to test in this configuration, to be more certain that the non-reproduce isn't just a coincidence.) If it would help, I can restore the aforementioned `semantic' pieces, and see if I can correlate point-jumping with specific timer events. I can also try the save-excursion patch in https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00029.html. Finally,=20 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00031.html suggests this might be related to Bug #15045. Steve --Hf61M2y+wYpnELGG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWxnxwAAoJED6yLeTllNzyT7QP/1GFtyHYepYb1tFHJMsBaSs8 6FiOaImG/7ODiFKpoFiwsfsSdRgDCytOTvkYk/Upgezx69FK2bUlIJ7zxBXm66uI slyFiotsSAH0ttOH76YV8FIUcUWlMzHQlB7njgzHNjZj9nC8QMBEvdI47Ud8lVdK s1TWbEl0ScYQdqV8+UdpsVmFFoOAx0hmGt0VcWjSkLecLCbUaav9k4yM07xlyVym 1GojH314hy2fQml7l6yxJ921ItYptq3z9Dc8r3dCWNqYONpWZLJYSP+SRD4fn+2L ejlFnh1WK6FIKk6/IqpEMblsVhcbc4VTCjSzAEdDqcyCaxLhHDmC6qd1VVjiQwfa ddjcqUQi6d25rvk0fw0rDxdUebEIeoB+tAMY1UCLQlUhKssacEW12uNMZ4Dp4Cgn E0CAL/W51gDPxR16N0WbbDUFyRyQHMx+BBFv/Y8F7JXMju/8WhgQs/pIgJYyyDjv f+nS4MjvoveBZ4NIszsYbTVSvUhEhISpwq1h1S4fR6u0kMB5N0kv4yjYgi57ArC+ IE/H39mPr9ZtwIGO4g+aug0iIrCwaUzAR847fif1ufDgjBdLKrLM0l6Z0VvJSeBe 1v7ngz1feURHnuoRiFbLVuI9NEWz98UR27EZxWh7sPUAdZeSpGz/OVsV5gZr9teA 188E8ttAcbyXI6M2k+2A =CsQd -----END PGP SIGNATURE----- --Hf61M2y+wYpnELGG--