From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#30457: 26.0.91; bidi-display-reordering makes navigation around melpa/archive-contents slow Date: Wed, 14 Feb 2018 11:22:37 -0800 Message-ID: References: <83tvujwh2t.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1518636087 9983 195.159.176.226 (14 Feb 2018 19:21:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 19:21:27 +0000 (UTC) Cc: 30457@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 20:21:22 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em2cE-0001oK-VA for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 20:21:15 +0100 Original-Received: from localhost ([::1]:51794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em2eG-0003Lq-Rk for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 14:23:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em2e2-0003Jj-0t for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:23:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1em2dy-0008Jg-QJ for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:23:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1em2dy-0008JN-LB for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1em2dy-0005J2-ES for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2018 14:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2018 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30457-submit@debbugs.gnu.org id=B30457.151863616520357 (code B ref 30457); Wed, 14 Feb 2018 19:23:02 +0000 Original-Received: (at 30457) by debbugs.gnu.org; 14 Feb 2018 19:22:45 +0000 Original-Received: from localhost ([127.0.0.1]:43183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em2dh-0005IH-DK for submit@debbugs.gnu.org; Wed, 14 Feb 2018 14:22:45 -0500 Original-Received: from mail-qt0-f174.google.com ([209.85.216.174]:44879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em2df-0005I3-5o for 30457@debbugs.gnu.org; Wed, 14 Feb 2018 14:22:43 -0500 Original-Received: by mail-qt0-f174.google.com with SMTP id f18so9064967qth.11 for <30457@debbugs.gnu.org>; Wed, 14 Feb 2018 11:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VMQTq4oDnZXIWIdtWJ8LkDQWvGn5QJ9GwszrfpuXj+o=; b=mw5aRTDJTXGQ4QinLoHmd8hB31+OB2TZUc/zwC5vCNebbdGCe8pLA6p7vONPQNlNMo g3Pqfa8BWOV1a5HR3xznV6ADTAJgiDAPuKCX0Mn+VD4hbviCG5TZilLmYH988FyPVtsD KBPRbkLmV5/pfKUObuG5obpsgp/fo/DVvl0Rqiw/BT3nUspHuiVHdFrAWc5HAeR5eVSM WHkZWQbWcWd2dqa05H0PXBICrsrKn/WSO2qtvSkOG7w+fYvIimhfC7HChONING5qlpvx 3cXESFy8lm5u6TBDcPubMELWOMBTkF3pydyEhN8wOFRD7QnsZk0GK+IK6CqmImYjXUIc Ouow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VMQTq4oDnZXIWIdtWJ8LkDQWvGn5QJ9GwszrfpuXj+o=; b=eR6pauTSrGqky8Y82Blaho7yLNQeIhRsD8c+GsPV34+P/Kv+myfP447ks8XiQ+u5Bh kju9ZrbIk4KGVQV+1FhNeJMcbsbsVIijEh933OlAZ3wD0fDDe6/oVQWKLZVsKmwHinmF 9prPOMB9FE2w25UXdOgVhvvI5l3v/x4Vo9/M3V3/3r4fxzx/gZD6BFEg3u/icjsXtL+g qIP0KfGEz2XHLYKe9gzFuPem82eCUg6GTZpzyPN6xBuLkspEAMo1nLUJoU2bsNo0lHpo nzpfA2t03G5xVW6EiZbkeiFd5uEmeSdwzjii4aK81fZcnQiA3Jb9YTSPRwsCbOpAKl9X h//g== X-Gm-Message-State: APf1xPA3IqTcsMN6DYEAY2LB2UI71TJE/1vGjE8W+kSbitk8NToRQUX7 D0+KPaWmJvQhG2iHm0aFjuDmT5wA6CtlVXX1xZMkIF7R X-Google-Smtp-Source: AH8x226mJb97M2xS3tNmYe+Mz32CqmLWJ5h01+1raFYJZky+g2Dv1dpgtz3OEHoqZdJWnRv+jqP+j8vtPV0pGbXstaw= X-Received: by 10.200.27.172 with SMTP id z41mr266915qtj.58.1518636157648; Wed, 14 Feb 2018 11:22:37 -0800 (PST) Original-Received: by 10.237.54.65 with HTTP; Wed, 14 Feb 2018 11:22:37 -0800 (PST) In-Reply-To: <83tvujwh2t.fsf@gnu.org> 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" Xref: news.gmane.org gmane.emacs.bugs:143285 Archived-At: On Wed, Feb 14, 2018 at 10:40 AM, Eli Zaretskii wrote: > It's a 870K line with multi-level parentheses. As already mentioned > there, the BPA implementation that is part of the bidi reordering > makes this sluggish due to the many parentheses in such a long line. Yes, it's also a real use-case that I encountered today while trying to figure out why a package was getting installed (I'm sure there's a better way to do this... but that's not the point). It's not just line scrolling, it's most any manipulation/navigation of the buffer. Emacs has definitely sped up in the last year and I'm quite pleased with that, but this is still one area that it's rather sluggish. I do experience sluggishness in other instances as well with long lines, but this is the example I have today. > (However, it's nowhere near 13 sec on my box. Are you on a mac? It seems we're slower than linux still... Is there a way to check to see if I was compiled w/ optimizations? I used the emacs-plus recipe on homebrew. > And going several lines > in one go, as in "C-u 20 C-n", makes it even faster.) Sure, but everything has a latency and these sort of workaround don't really solve the overall feel problem. It feels like I'm working over ssh to a server in another country and the difference when bidi is disabled is incredible. > Beware: the code which is used when bidi-display-reordering is nil is > unsupported since Emacs 24, so you are on your own when using it. I > urge you to reconsider. I didn't know this, I'm not sure what it means in practice. Perhaps I'll turn it back to t for now and just have that in my bag of tricks if I encounter a file that has this problem. Thanks, Aaron