From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stefan-W. Hahn" Newsgroups: gmane.emacs.devel Subject: Re: Sudden jumping point in buffer. Probably a bug? Date: Tue, 24 Nov 2015 20:07:22 +0100 Organization: -no organization- Message-ID: <20151124190722.GA13848@scotty.home> References: <20151118183555.GI5776@scotty.home> <83a8qb9m81.fsf@gnu.org> <564CCA00.6030907@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448392065 15720 80.91.229.3 (24 Nov 2015 19:07:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2015 19:07:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 24 20:07:37 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a1IwC-0004Ke-CQ for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2015 20:07:36 +0100 Original-Received: from localhost ([::1]:40894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1IwD-0001kG-I5 for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2015 14:07:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Iw9-0001k5-1k for emacs-devel@gnu.org; Tue, 24 Nov 2015 14:07:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Iw7-0006l5-Qc for emacs-devel@gnu.org; Tue, 24 Nov 2015 14:07:32 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.24]:64404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Iw2-0006k6-3T; Tue, 24 Nov 2015 14:07:26 -0500 Original-Received: from scotty.home ([92.201.53.29]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0MEmVu-1a8Pfa0a6s-00G0rj; Tue, 24 Nov 2015 20:07:24 +0100 Original-Received: from scotty.home (hs@localhost [127.0.0.1]) by scotty.home (8.14.4/8.14.4/Debian-4) with ESMTP id tAOJ7MRX016145 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Nov 2015 20:07:22 +0100 Original-Received: (from hs@localhost) by scotty.home (8.14.4/8.14.4/Submit) id tAOJ7M6Q016143; Tue, 24 Nov 2015 20:07:22 +0100 X-Authentication-Warning: scotty.home: hs set sender to stefan.hahn@s-hahn.de using -f Content-Disposition: inline In-Reply-To: <564CCA00.6030907@yandex.ru> X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe, Germany, Wolfenbuettel X-GPG-Public-Key: gpg --keyserver pool.sks-keyservers.net --recv-keys 7A948D9CB5F0706D X-GPG-Fingerprint: 0x7A948D9CB5F0706D / 270E F64C 748A E880 9CB7 3D9B 7A94 8D9C B5F0 706D User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.98.7 at scotty X-Virus-Status: Clean X-Provags-ID: V03:K0:PcgfYx5Vq8T4r0v+NQ63JKuZakS+lewRobkXTT4uSOikQUZhxf0 vhTyMIjahIipo+DXArp1tyxW2oIX1TuINYWtQySuqu5RnbFxj3xkxCEPWbjGatKf2hy32dp vy90kRsbclIt7ryom1CWFQwBAiPLTly8PMF7ZgT+6jYIUvKsAaJy/nZ8GTVMH731J58B9au BmfNhdvhNhI0dIAXb1rkg== X-UI-Out-Filterresults: notjunk:1;V01:K0:UeN6X3ORZpw=:0thFHlwYyI7mgQJ8ngV8TD sEQ8v0HjAvsPR4ojpc7u0kzN02qltwi/6w3UetIpqES71d7A89ysHopXxtTyqUbPB/AkcfJDb aA8P7vi8063/oYY9BudLJVxyDs9tmBFg7ZKypuf5uljWZTAvBHUQjvvU/+q16bywmuAxySPAC sCoHIbIQ03oeSnkcqlOq400BopAJ063N9GNdgKL3SXXsFOMK4E8XdCkuI2n6ZSbGpe/xmeXxO vhPJOdlaIUxr6pUc5MCqCIjCL05k6+pM2SyH4VQRHCGnmsLZc0mcYkW0e+j5QSZCuxOOVCQIa Scz8kbKnIrtPzsBBflc+oy4c/MIH0hHCh5hhUpDB23/FXwc/I/5xSf35rTw13EIdcdKE1o+d0 1W4c00P3ERQAkkusOg+6aKiacuNIiFaK0sKSIuIHywOEqQYx70I75jDCRdSAYXEj1WcJhC+yf KmLbQ7YOXDLryfJBa4Wd2RlidFM1qqHSl8nJFEcMclztj+MH/FgkPPQf5fdtir2UlAAzkEvho SeJgJWClwZvLCxnhOHV8kTdi5nD/xdBRUMbNjA/lM8i3l7rLvrZKjzccrZZMFt+3/SlmWLPZn 37OrXfQQ5Jl5VRaCA2jtWDg0CuP9zd3JGK7aQ3GHlNubknV9+P2ldkHUvceri00nbpw6ikQkP jKPxrjff9+GgwhSgJ55RGGex9Z0elCWs/iuQsfaqlgj0i5Pq/kpYsEi4p7JMaMkRx8/8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195177 Archived-At: Mail von Dmitry Gutov, Wed, 18 Nov 2015 at 20:57:04 +0200: > On 11/18/2015 08:49 PM, Eli Zaretskii wrote: Hello, > >>I'm using emacs as 64 bit compiled on windows 7/64 and linux 64 bit. Si= nce > >>quite a while I have the problem that, while typing, the cursor (point)= is > >>sometimes suddenly jumping to another position in buffer. > > > >Does this happen in "emacs -Q"? If not, look for a deviant timer or a I tried this and it doesn't happen. But this does not say anthing because it is not reproducible anyway. > >post-command-hook set up by some of your customizations and optional > >features you load. In a C++ buffer post-command-hook has: (global-font-lock-mode-check-buffers global-company-mode-check-buffers global-hi-lock-mode-check-buffers winner-save-old-configurations eldoc-schedule-timer mode-local-post-major-mode-change) timer-list has: Its value is ([nil 22100 46194 814488 3 quick-transfer-check-dired ("/home/hs/transfer/" 3) nil 945000] [nil 22100 46196 580496 nil undo-auto--boundary-timer nil nil 660000] [nil 22100 46207 130220 300 savehist-autosave nil nil 194000] [nil 22100 46240 0 60 display-time-event-handler nil nil 0]) (quick-transfer-check-dired self written to check a directory for new content. This my colleague isn't running, s.b.) timer-idle-list has: ([t 0 0 50000 t jit-lock-deferred-fontify nil idle 0] [t 0 0 100000 t mouse-avoidance-fancy nil idle 0] [t 0 0 125000 t show-paren-function nil idle 0] [nil 0 0 500000 nil #[0 "=08\204=0F=00 \205=11=00\n\303>?\205=11=00\304 \207" [eldoc-mode global-eldoc-mode eldoc-documentation-function (nil ignore) eldoc-print-current-symbol-info] 2] nil idle 0] [nil 0 0 500000 t which-func-update nil idle 0] [nil 0 0 500000 t jit-lock-context-fontify nil idle 0] [nil 0 0 500000 0.5 blink-cursor-start nil idle 0] [nil 0 1 0 t semantic-idle-scheduler-function nil idle 0] [nil 0 5 0 t jit-lock-stealth-fontify nil idle 0] [nil 0 10 560 nil jit-lock-stealth-fontify (t) idle 723000] [nil 0 60 0 t semantic-idle-scheduler-work-function nil idle 0]) > I think it's already been mentioned here: > http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01655.html Tried this patch. But I think I have seen it one time with this patch. A Colleague mentioned that if he scrolls a (C++ containing) buffer to bottom with pressing C-n () continously he saw the cursor jumping to beginning of the buffer. But this also is not reproducible. My guess it has to do with fontifying, perhaps jit-lock or semantic. With kind regards, Stefan --=20 Stefan-W. Hahn It is easy to make things. It is hard to make things simple.