From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9008: 23.2; Sluggishness when editing large latex files containing CJK text using preview-latex, due to slow buf_bytepos_to_charpos Date: Sat, 26 Dec 2015 00:06:56 +0100 Message-ID: <87lh8iruun.fsf@gnus.org> References: <1309957253.1342.35.camel@wangqingchuan> <83zjh4sxkw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451084915 11635 80.91.229.3 (25 Dec 2015 23:08:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Dec 2015 23:08:35 +0000 (UTC) Cc: r6144 , 9008@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 00:08:17 2015 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 1aCbT6-0001w8-W9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 00:08:17 +0100 Original-Received: from localhost ([::1]:36760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCbT6-0006W6-Cg for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 18:08:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCbSv-0006IF-Dp for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 18:08:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCbSs-0008P0-8A for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 18:08:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCbSs-0008Ow-4L for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 18:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCbSs-0004wD-1K for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 18:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2015 23:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9008 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 9008-submit@debbugs.gnu.org id=B9008.145108484218855 (code B ref 9008); Fri, 25 Dec 2015 23:08:01 +0000 Original-Received: (at 9008) by debbugs.gnu.org; 25 Dec 2015 23:07:22 +0000 Original-Received: from localhost ([127.0.0.1]:35943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbSD-0004u2-PZ for submit@debbugs.gnu.org; Fri, 25 Dec 2015 18:07:21 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:41177) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbSB-0004tt-HL for 9008@debbugs.gnu.org; Fri, 25 Dec 2015 18:07:19 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCbRp-0006In-6D; Sat, 26 Dec 2015 00:06:57 +0100 In-Reply-To: <83zjh4sxkw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jun 2014 19:44:47 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aCbRp-0006In-6D MailScanner-NULL-Check: 1451689617.47869@LWZZXczMba7d9ixMQl0qQA 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:110497 Archived-At: Eli Zaretskii writes: >> From: r6144 >> Date: Wed, 06 Jul 2011 21:00:53 +0800 >> >> I'm using auctex to edit a large latex file (about 400kB in size) >> containing Chinese text as well as about 6000 equations previewed with >> preview-latex. Emacs feels a bit sluggish in this mode: individual >> cursor movements are not delayed much, but when holding down the right >> arrow key, the cursor does not keep moving but only shows up in the new >> position after I release the key, while fill-paragraph can take more >> than a second. The CPU usage is high during these operations, even >> though I have a modern Core 2 Quad CPU. > > Do you still see this problem with the current Emacs? More information was requested, but no response was given within a few months, so I'm closing this bug report. If the problem still exists, please reopen this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no