From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: mithraeum Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Fri, 26 Oct 2018 08:05:01 +0000 Message-ID: References: <83lg6mqdfh.fsf@gnu.org> <87va5pkxae.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83mur1p3oj.fsf@gnu.org> <87r2gdkvl6.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: mithraeum NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540540997 11783 195.159.176.226 (26 Oct 2018 08:03:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 08:03:17 +0000 (UTC) Cc: Eli Zaretskii , "emacs-devel@gnu.org" To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 10:03:13 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 1gFx5M-0002xp-S4 for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 10:03:13 +0200 Original-Received: from localhost ([::1]:58751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFx7T-0001LW-7y for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 04:05:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFx7L-0001LQ-9X for emacs-devel@gnu.org; Fri, 26 Oct 2018 04:05:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFx7F-0005kS-Id for emacs-devel@gnu.org; Fri, 26 Oct 2018 04:05:15 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]:62252) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFx7F-0005iN-Az for emacs-devel@gnu.org; Fri, 26 Oct 2018 04:05:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1540541107; bh=mFLrChHU1mS8KhqvnqARz+I/wLshwyRjHQKIMfQd98I=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=Df6wmkU7KSK8dCoEg1GzrpxDw9BAZEUkDZL1oBUT4srLAPahpYuBhDCGQO+xNqOjM QJgFzdHpcbip4U3f1mtj5hp+z+89zmbFjSUzmqH8mBogA0FmUoOBfxe1uAVl/vfyuw wSQ+woV3xNRRXQ3m1vJNObGx8nIMGQPMM4LYmhHg= In-Reply-To: <87r2gdkvl6.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Feedback-ID: xC_oeWz6JH8P2gZn7Lj2b-XCGuoCWrP5vJcnJIBITi8jaWWW0Er_cElwenRnHDRr1t8z5iqR6bQTnK1M9VLMtg==:Ext:ProtonMail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.70.40.133 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:230692 Archived-At: On Friday, October 26, 2018 12:36 AM, Ihor Radchenko w= rote: > > 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 buffe= rs. Yes. This is a serious concern for the various terminal emulation modes within Emacs. While using these modes, there are plenty of dangerous shell commands which may output huge amounts of output, possibly all on one line. This is the main reason why I avoid using those modes. I don't want to risk freezing my Emacs session by accidentally running a command that generates a mountain of output. This is not a concern in a real terminal, but it is in Emacs. Also, turning something like term-mode to Fundamental mode would likely face similar problems to what you encountered. I just tried it and, not surprisingly, it completely broke it. It made it read only, and I'm getting errors like "error in process filter: Symbol=E2=80=99s value as variable is void: term-pending-delete-mar= ker" and even changing it to read-write typing in to it and hitting RETURN doesn't result in a command being executed. So Fundamental mode alone is not a solution for these modes.