Received: (at 59481) by debbugs.gnu.org; 22 Nov 2022 20:44:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 22 15:44:32 2022 Received: from localhost ([127.0.0.1]:52656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oxa88-0001w7-7R for submit <at> debbugs.gnu.org; Tue, 22 Nov 2022 15:44:32 -0500 Received: from mail-pf1-f180.google.com ([209.85.210.180]:34313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1oxa81-0001vo-Uw for 59481 <at> debbugs.gnu.org; Tue, 22 Nov 2022 15:44:30 -0500 Received: by mail-pf1-f180.google.com with SMTP id z26so15464812pff.1 for <59481 <at> debbugs.gnu.org>; Tue, 22 Nov 2022 12:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=0AYRGkYUynMrSUXv4iums0Wa9FacXFJiJtK+pyvHBiU=; b=BzSai85pJmd+ALegtA1BtpZlHnH5lTuJ1bymiZGVuqHWAEx3Bo70jJFh3NTA4i2kLW 61oMOK2FcQ5eaWR4BowJR4E+H7fZkrppk9ZNE297ro1BUwdFlH5zFOLVsMr0jDUDmjE8 lK+djRns12atGaiEg3AoUXQmY/afNvIHi2VGVOrAU3zw18N3kbwilNBxsbVw4FIKa8TP DzX/+THy0rYydBhepKCRdKRXnmz5xfDPWyWBSmYAcaudYPBwwQ6EJiHy+vhauvu0JhN6 jI/QLt59YeNFRjcc7wi8KmOo7TTfnTarn/NSDd5WdQEiMBCH7WiDeqWyT/oVs4QX08yr PWaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0AYRGkYUynMrSUXv4iums0Wa9FacXFJiJtK+pyvHBiU=; b=S7K/l8Fho03DcoAKzk8cPICgtnhc/7pk4M4tQnqtvyP3dr0zEh3bSLeccg4gtHwZ1I BWm6SOutItVV7kkPY0QjZ3aJ6Pbk79CXjMIOsZ/FCfbhjsuYpiKc3tuV09nX0texnI/f QqBgQAOrK2D6QNkUp+3yKIMy4qyKYQU98p9XFasbjC8bB5bl79/NK87MeFY+gOQ8dNvz rj0s5XwlQcejtr19ZOFaCnlgOkjQVMzYq0wHTEcJEEipgxrks0tJejf1CJzpBm91qIIh ItQtRwn6Xh3BHKlX3zMXr3WjOZaIBGGbhEfafLr1QfLw5PLO/s21yJJm8vO9+pv1LqtI Gg+g== X-Gm-Message-State: ANoB5pmXJTbI8ZzKBlxCVkG8oGIcqTxvNIYoU6iQrdbaA0FqmlO7dYik bBwyaXgZQSHyam1tFIohmjw= X-Google-Smtp-Source: AA0mqf4WQMrgqLLmw3gYFHgVtFzkIq9M3Nj9qG1HzDndvHKDTA7T9oN9Rhnq8ApsVlfWgu8+TOpnVA== X-Received: by 2002:a62:e80b:0:b0:56e:ad31:b98b with SMTP id c11-20020a62e80b000000b0056ead31b98bmr9945187pfi.40.1669149859949; Tue, 22 Nov 2022 12:44:19 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id u10-20020a170903124a00b00186b3528a06sm12656452plh.41.2022.11.22.12.44.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2022 12:44:19 -0800 (PST) From: Yuan Fu <casouri@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: bug#59481: 29.0.50; c-ts-mode doesn't play nicely with pixel-scroll-precision-mode Message-Id: <6B7338DA-2F7A-486B-8213-B180D1BA146E@HIDDEN> Date: Tue, 22 Nov 2022 12:44:18 -0800 To: Po Lu <luangruo@HIDDEN> X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59481 Cc: 59481 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://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: -1.0 (-) Po Lu <luangruo@HIDDEN> writes: > Enable pixel-scroll-precision-mode, then open src/xterm.c. Go to line > 3439, enable c-ts-mode, and scroll up _with a trackpad_ until line = 1675 > becomes visible near the start of the window. Finally, go down to = line > 1817: brackets will become randomly fontified in the error face. > > In addition, I was expecting c-ts-mode to be quite a lot faster > fontifying during precision scrolling, but it is currently as slow as = CC > Mode. I think that is almost definitely a bug somewhere in our > tree-sitter fontification code, since emacs-lisp-mode fontifies much > faster. How do you decide if the scrolling is fast or not? Maybe you are seeing palpable lags? I=E2=80=99m using macOS with the builtin trackpad, and = scrolling is pretty snappy. Maybe this only happens on Linux? I=E2=80=99m also = seeing random error faces (albeit not on brackets), could this relate to some particular way pixel-scrolling works? Does pixel-scrolling do anything special comparing to normal scrolling when fontifying text? Thanks, Yuan
bug-gnu-emacs@HIDDEN
:bug#59481
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 Nov 2022 13:08:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 22 08:08:57 2022 Received: from localhost ([127.0.0.1]:50186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oxT1E-0006PQ-Uh for submit <at> debbugs.gnu.org; Tue, 22 Nov 2022 08:08:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:57242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1oxT1B-0006PG-42 for submit <at> debbugs.gnu.org; Tue, 22 Nov 2022 08:08:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <luangruo@HIDDEN>) id 1oxT1A-0001HO-3N for bug-gnu-emacs@HIDDEN; Tue, 22 Nov 2022 08:08:52 -0500 Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <luangruo@HIDDEN>) id 1oxT17-0001fB-Ee for bug-gnu-emacs@HIDDEN; Tue, 22 Nov 2022 08:08:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669122525; bh=5Jfb7fnH6/ff/h7nL0E+87TXwZN6z2R3SpvqJs/rjIc=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=GgFslV79ON7q7X0EExI5XEp93G0yFmu8P/knmt7IcN31xemSbwBHWY0DZelcohTgYK/HhryOU9IHTJOjj3z580F42+TPs2mwAuErYEl1EyPOsfiH1Jm+F3GC9Hrkpx0wvFw+sfl4hx2BEdzUkEASogndyB9cJr1Bzmqj8LrKGS3hZoCyTiX76So3ipy8URv9lWcKElZSv431lO7GxFwcSleIrA70x9Opc+pWIw7xtoJt06z7Z8QAZvEmqkvibrXQDDdNYvxP+6oj5YWLOqVBm/u4EKBNT1UPf269w8aOnzIMjhcLofjRF1zbMkLfFQE9L2/O7fSn41kWJj0/4f0xbg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669122525; bh=6KAFVGrt2f49ps/ePVOrtjayxf0OTIm9vWowEiMXPYd=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=VDBdBZ1hf+kB0LHAfWFbTbqDExrctJNuKrLq4cC6BClVc2LsrNwawxT7TOvHOYIW6S3feSyux/XCTK6fVT4TtzO4jUVP1XfXhPP12o6/o61+nG0Jq9FVkhbC9nNUUIv/smSUfMikgJjOqvAEStns0oCnU+9ODa/A93n8hivdZgeSTLj4yvbz1l+PY/MQ7quFY+eJp9b65Hy4Ervklu516XvyKUhH3+Yq9ng85A6/5NVC/wG1xTV+U4SW57WQswUnzNW6vhpCbaGkuwv1z2V5UpiEsfYFbtZs8X3stdtwVQ0ZOjDwSDbYlU/1Q4nyUL9SAMdnM9ky2P0P6qbAHTrxmg== X-YMail-OSG: qEsbFxEVM1nq_362xjafYh6PzaFUofRpLc_ep9WEM33Gp6RO34evG6Hj6vs2mw6 8c4XiFSbrEyys_PnWHTKiacBy6tVv9kMStJ0iJ0wR13tt1dl1xV5V9SFq7o.Kr_tS3b5YB_ZyQ7K u8f9ZMYxH.OfqCvdraMNEofMERQyy3Y4Uv.3xztLGLME14V6g1JRfiHrpGUzPqySdGHxbAuqH9Gw mEsLcUgus5NYba4zsYy9E1R8tmBuUny4.zmri3rDCYxBBrc_ssnO_x2b1u8YnQnWy6PQTRCAvohm 7MLEels7SkwsXXew81BcJUD8RC2slfxnUrN0mvfzg98MQKVIEUeDj22pSHMMGQMCWbEVrH83TEnD ji53hqYLTs34s87i0M_JsDhuoEXEbJUN3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ylcl4nsKLfcU9G7Mbln1KS5_UVsfstjAwofYhe s9uS6PQH.00wwtOmJN6P050yyk2btOGJtUdl9ZWkhTPCnTPwD8xO2KClQyiV0W4Ct0cum3pNyJOU 9ICXS1ayDKG.o0PDuyq1edA8BUd0AajRdenaVAJlj3xgs3gQ.tzu3.Z5IKvqa_I2Po5WYOjdeCOC O6_CvJBJFGJgm93PG13HhOtRjO5V_YNAYadpv5Bz1Zt22EdKRtZ9hwAOKhUioRsc1PHhpSbQFjG1 r_tJm1OuBsRIR86Y1EY9h6d.y3EdEKNa_1PZGBerHNl1fACCJFWtZDPjKCDc4u3ktyWBExu7gO3Z AAO95TFUj7TcMbpcu6e5q7dDAbiX4A.HCZhHVKBnOALzDQwDfR6OshXw5QR.PCtqIqT__TL7LHLc ku2ordyIeaxXE61c9KJhT8sz9N1nApsrxJsyuVpusfwI_DlA83GSuZ.Q0ibGgCWJSqywOrA11LE4 1BuGwFQYypI9aelhfy94A4VCpj6o.Gd4tTcgTgoJPHhsTyOqCR4IPC4GTd3QMeHS7ozIIzlK8vbv COYax.J0RjOVxUScqXwU0se2kWlUyqreXllUqV_6CDtt2sYkXnC35NqPeu3MPo7UAThy0wmBr6sg WcZJPXm8NzAhKyyVKl94soelPZhCLi60_nT3qcyMoun7RKvYjaRNSCfQM9kCp..bt.HiIITv.5yF Zz_Z9ePj2bUKZed9D1HbqXnnc57b_UHndzdpqhcUWl_yEA.MqFwQVsE38TXMlT0CQ6X1QdYMpUIp DDFhUoMou_v6MfgRDLevT_JA9qGspGTIFd6pYDX62sxDMlHALyJ8JfhQO X-Sonic-MF: <luangruo@HIDDEN> Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Tue, 22 Nov 2022 13:08:45 +0000 Received: by hermes--production-sg3-6c8895b545-zc8w5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID faee10d410171c46a0231823440b92f2; Tue, 22 Nov 2022 13:08:40 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 29.0.50; c-ts-mode doesn't play nicely with pixel-scroll-precision-mode Date: Tue, 22 Nov 2022 21:08:30 +0800 Message-ID: <877czn3zn5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain References: <877czn3zn5.fsf.ref@HIDDEN> X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 4000 Received-SPF: pass client-ip=66.163.184.146; envelope-from=luangruo@HIDDEN; helo=sonic309-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://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: -1.6 (-) Enable pixel-scroll-precision-mode, then open src/xterm.c. Go to line 3439, enable c-ts-mode, and scroll up _with a trackpad_ until line 1675 becomes visible near the start of the window. Finally, go down to line 1817: brackets will become randomly fontified in the error face. In addition, I was expecting c-ts-mode to be quite a lot faster fontifying during precision scrolling, but it is currently as slow as CC Mode. I think that is almost definitely a bug somewhere in our tree-sitter fontification code, since emacs-lisp-mode fontifies much faster. In GNU Emacs 29.0.50 (build 243, x86_64-pc-linux-gnu) of 2022-11-22 built on trinity Repository revision: 350918e7be82fca046911073b360518173169255 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101099 System Description: Fedora Linux 37 (Workstation Edition) Configured using: 'configure --with-x --with-x-toolkit=no --without-cairo --with-dumping=unexec --cache-file=/tmp/ccache' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY OLDXMENU PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER UNEXEC WEBP X11 XDBE XFT XIM XINPUT2 XPM ZLIB Important settings: value of $LANG: en_GB.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C Minor modes in effect: pixel-scroll-precision-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils warnings icons c-ts-mode misearch multi-isearch add-log log-view pcvs-util vc time-date cus-start cus-load pixel-scroll cua-base ring subr-x vc-git diff-mode easy-mmode vc-dispatcher bug-reference byte-opt gv bytecomp byte-compile find-func cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-extra shortdoc text-property-search thingatpt help-fns radix-tree help-mode sh-script rx smie treesit cl-seq cl-loaddefs cl-lib executable rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 220297 20026) (symbols 48 27211 0) (strings 32 52112 2076) (string-bytes 1 1435642) (vectors 16 28133) (vector-slots 8 881343 40772) (floats 8 194 659) (intervals 56 19633 0) (buffers 992 18))
Po Lu <luangruo@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#59481
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.