From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sampo-emacs14@zxid.org Newsgroups: gmane.emacs.bugs Subject: bug#18684: 24.3; keystrokes come out of order Date: Fri, 10 Oct 2014 22:41:36 +0000 (GMT) Message-ID: <20141010224136.E120F6E688@mail.zxidp.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1412983882 9202 80.91.229.3 (10 Oct 2014 23:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2014 23:31:22 +0000 (UTC) Cc: sampo-emacs14@zxid.org To: 18684@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 11 01:31:16 2014 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 1XcjeU-0006nR-Oz for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Oct 2014 01:31:15 +0200 Original-Received: from localhost ([::1]:51579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcjeU-0003Xa-AJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Oct 2014 19:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcjeN-0003XH-Bu for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:31:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcjeI-0000bV-Fh for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:31:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcjeI-0000bR-DT for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XcjeH-0005fH-SE for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: sampo-emacs14@zxid.org Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Oct 2014 23:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18684 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141298383021718 (code B ref -1); Fri, 10 Oct 2014 23:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2014 23:30:30 +0000 Original-Received: from localhost ([127.0.0.1]:40536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xcjdl-0005eC-2b for submit@debbugs.gnu.org; Fri, 10 Oct 2014 19:30:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58633) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcjTI-0005LH-TN for submit@debbugs.gnu.org; Fri, 10 Oct 2014 19:19:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcjTD-0005mS-LL for submit@debbugs.gnu.org; Fri, 10 Oct 2014 19:19:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcjTD-0005mO-Ia for submit@debbugs.gnu.org; Fri, 10 Oct 2014 19:19:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcjT9-0002cb-1I for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:19:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcjT4-0005ls-I3 for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:19:30 -0400 Original-Received: from i-46-149-21-109.compute.is-1.greenqloud.com ([46.149.21.109]:42798 helo=mail.zxidp.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcjT4-0005kn-6i for bug-gnu-emacs@gnu.org; Fri, 10 Oct 2014 19:19:26 -0400 Original-Received: by mail.zxidp.org (Postfix, from userid 443) id E120F6E688; Fri, 10 Oct 2014 22:41:36 +0000 (GMT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Fri, 10 Oct 2014 19:30:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , 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:94397 When typing quickly, the charaters from keystrokes come out of order. For example typing 'f' 'o' 'r' 't' may come out as "ofrt" or sometimes fully inverse "trof" or some other combination. Typing faster makes the problem more likely to reproduce, but even quite normal typing speed has problems. Higher system load makes the problem more likely, but it manifests with load levels as low as 0.25. The problem is more prominent in buffers that have onerous font-lock configurations. E.g. the default syntax highlighting of c-mode makes the problem 4 times as likely as fundamental-mode. It seems to me that somehow the input queue processing is not strictly FIFO. Instead, the characters that pile up while other process is running, are all rendered in inverse order at some later time after some newer characters have already been rendered. Restarting emacs process gives temporary relief, but the problem will come back after a few hours of typing. The problem does not manifest on emacs21 on similar hardware (1GHz CPU lowend laptop) and similar Ubuntu version. In fact, ever since I started using emacs back in 1987, I have not had such an annoying problem. Getting typing out-of-order really destroys your productivity. There are no dropped or out of order keys in other applications I use, such as seamonkey (typing lengthy emails to web mail forms), RetroShare (typing chat messages fast) or mrxvt (typing shell commands fast and using emacs in remote machines). I tried reviewing bug archives at http://debbugs.gnu.org/Emacs.html to no avail (perhaps I did not have the imagination to think up the keyword that would match previous instances of this bug). I also tried google with similarily thin results. Cheers, --Sampo In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.1 LTS Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_MONETARY: de_BE.UTF-8 value of $LC_NUMERIC: de_BE.UTF-8 value of $LC_TIME: de_BE.UTF-8 value of $LANG: C value of $XMODIFIERS: @im=ibus locale-coding-system: nil default enable-multibyte-characters: t Major mode: C/l Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: O r d e r SPC I D : SPC C-x C-s C-x C-s C-x C-s 1 7 7 3 C-a U S D SPC $ C-e . 3 7 SPC ( U S D / J P Y SPC = SPC 1 0 7 . 6 7 5 ) C-x C-s C-x C-s C-x C-s C-a C-SPC C-g C-k C-k C-y C-y C-k l c i e n t i c l e c l i e n t _ i d SPC SPC = SPC = 1 2 3 SPC 4 3 2 1 = SPC C-s C-x C-a C-SPC C-w C-y C-y c r e e s t s e C-x C-s C-x C-s x r e p o r < return> Recent messages: Saving file /home/sampo/laptop... Wrote /home/sampo/laptop (No changes need to be saved) [2 times] Mark set Quit Mark set [6 times] Saving file /home/sampo/zxid/zxumacall.c... Wrote /home/sampo/zxid/zxumacall.c (No changes need to be saved) Making completion list... Load-path shadows: /usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/24.3/lisp/language/thai-word Features: (shadow sort gnus-util mail-extr emacsbug message cl-macs gv format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired conf-mode grep shell pcomplete compile etags make-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok rect perl-mode face-remap sgml-mode sh-script smie executable cc-langs cl cl-lib cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-cvs misearch multi-isearch vc-git help-mode easymenu bookmarknav bookmark pp ds-debug-mode gud easy-mmode comint ansi-color ring sampo-kalenteri-mode pd-mode ldif-mode header-db-mode time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)