From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Fri, 26 Oct 2018 15:36:53 +0800 Message-ID: <87r2gdkvl6.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <83lg6mqdfh.fsf@gnu.org> <87va5pkxae.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83mur1p3oj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1540539404 24446 195.159.176.226 (26 Oct 2018 07:36:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 07:36:44 +0000 (UTC) Cc: mithraeum@protonmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 09:36:40 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gFwfd-0006Gf-OG for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 09:36:37 +0200 Original-Received: from localhost ([::1]:58681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwhj-0007uo-WA for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 03:38:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwhd-0007uj-By for emacs-devel@gnu.org; Fri, 26 Oct 2018 03:38:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFwhc-0003mK-Kw for emacs-devel@gnu.org; Fri, 26 Oct 2018 03:38:41 -0400 Original-Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:38515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFwhZ-0003km-12; Fri, 26 Oct 2018 03:38:37 -0400 Original-Received: by mail-pf1-x42b.google.com with SMTP id b11-v6so117012pfi.5; Fri, 26 Oct 2018 00:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=KEMo7P9RSLqvI6Yy0+hGnATC0ymeIE+qm2FoMtiMd7w=; b=AUzGf8/2LWs4kbeQ6N84QerzVBrkIu76EggnIxwtpJ8jrCt39S1jtGSbgZ5ztV3eLp +8JF7VLS46vOKo71wt8YzrezpI9yxV3ZE9v5Tlvd6A0dLWw0xiZQr8io1KQVH83PWcRC MkyGBxOeff1uxzVowj0kSa+MoC7i3U357Pvi5Q3aYWXREgTL3d0GlvtbaKzAq2YaqJ0u t1aWP6X8O52dSPRyoJjIrgG2KSdmQzVdlo7bztin/1f1+AzbG/dImD7/fyXWZ9E24Dno j/gEEg4kgaoKNfo/MWfs9ioCJgX2G1TriQpNv78wApWP3pp45ayGYhg3NGnZGDnQ6wVJ M2Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=KEMo7P9RSLqvI6Yy0+hGnATC0ymeIE+qm2FoMtiMd7w=; b=ca2Vp5dG/ly5L8Y1IkJjsmhhWZdD424XCGeVS7Ep9FMx/Q1fX0vgHRzpe5uMyFUDch pSlpmUvqJzXSzni193NByBAFjqLeDKK4gH42V9RywCVZqeideReUY0x2cUCf2hp0LMQk siFc46pl1mrF7yPDH64Z2hGggqb3nwyUzKL+pvyQz9AElnkir5+86zrUjhDqtonGEE+D gLWL5UHWAq7rVYSfnTPNq9GL3BVTQutjSyyqL4ATrbbwCLEhyaU1YhkgT8hGaZQBAaI8 0ndJioq/qYjotaydDTONQdmJ6O+PAiuHNFyX0o1mmiyZxLsJDpkCqjjTNRWTLfL7eDzX INAw== X-Gm-Message-State: AGRZ1gLcRrZRbir1rdNM7pwGJn5yt5toIaj4QWHFtxVUas1P1rea2+xL qN/3LPWJbFq2TAhY7GaejNPUGRQ97KE= X-Google-Smtp-Source: AJdET5eu18ncMap1ZMhbYqQHNnJWJv16Gap8RDTiRk3m3F6Fjt7j5fq1fHiVpdO/NEnC0r/QGo/LCQ== X-Received: by 2002:a62:55c3:: with SMTP id j186-v6mr2565359pfb.161.1540539515350; Fri, 26 Oct 2018 00:38:35 -0700 (PDT) Original-Received: from localhost ([202.94.70.51]) by smtp.gmail.com with ESMTPSA id u190-v6sm37626880pgu.3.2018.10.26.00.38.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Oct 2018 00:38:34 -0700 (PDT) In-Reply-To: <83mur1p3oj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:230689 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Maybe I miss something, but it is not trivial thing to do. I just tried to switch debug buffer to fundamental mode and run debugger-step-through. It lead to the buffer changing back to debug-mode. Not running debugger commands in debugger buffer would be useless. I imagine that similar issues may exist for other types of non-file buffers. Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: emacs-devel@gnu.org >> Date: Fri, 26 Oct 2018 15:00:09 +0800 >>=20 >> I would like to point out that the long line problem also exists for >> non-file buffers. >> Specifically, evaluating debug-on-entry for org-mode buffer parsing >> functions often leads to ridiculously long lines (pretty much the whole >> buffer is transformed into a single line), which takes forever to >> display. >> find-file-literally does not help with this problem at all. > > The equivalent of find-file-literally for non-file buffers is use a > unibyte buffer in Fundamental mode. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEERZAHPFbUe3JemmzmZHB2Kn2hHYsFAlvSxBUACgkQZHB2Kn2h HYuABAgAmKXEYTO0vBYOInzitt2SG1b5QLrNIyI0CjtDVhHgdobxBE7ao5cRbJjm C01FtEp2dvRC1Rj/6hl84L4s67DUxMmvxKdZjNLpDwa8Cl8an+hbJ9py029+zDt2 WqYVXkjOHQQsW2pIZiKHHRUG/epyziuEIedPZPAKoESqZkiLbCMg0yQcemStIEef s0Nb7bKhonws03OkJYuIe1VfI0JgY6M3b1ujhSybzPpvmb0eoT6ccSDLUPKwYZo3 gy0hOttVbVLil/iciJHrDmy/LdEbNgWHd4P4S3Pp9TM0Hoj66Z7rqhU1dOwF7VDg X6tJiSXRun1AlFXVdyTXW0sCRwikcw== =/Swb -----END PGP SIGNATURE----- --=-=-=--