From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Anast Gramm Newsgroups: gmane.emacs.help Subject: Re: Fixxed buffer size for eshell Date: Sun, 30 Apr 2017 21:37:46 +0300 Message-ID: <20170430183746.uyr7ayi4wxnnpe5h@gmail.com> References: <20170430100252.ibyfpqkgibupjddh@gmail.com> <83fugqkmbk.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1493577527 2195 195.159.176.226 (30 Apr 2017 18:38:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2017 18:38:47 +0000 (UTC) User-Agent: NeoMutt/20161104 (1.7.1) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 30 20:38:43 2017 Return-path: Envelope-to: geh-help-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 1d4tk2-0000RT-V4 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Apr 2017 20:38:43 +0200 Original-Received: from localhost ([::1]:45575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4tk3-0003sZ-J5 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Apr 2017 14:38:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4tjb-0003sH-J0 for help-gnu-emacs@gnu.org; Sun, 30 Apr 2017 14:38:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4tja-0000lP-QP for help-gnu-emacs@gnu.org; Sun, 30 Apr 2017 14:38:15 -0400 Original-Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:33867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d4tjZ-0000kf-Bg; Sun, 30 Apr 2017 14:38:13 -0400 Original-Received: by mail-wr0-x231.google.com with SMTP id l9so55956811wre.1; Sun, 30 Apr 2017 11:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OI7Eh2Sr7UlIrdriAE8llNeiWeemNJRi+7rO196rLug=; b=Ce9zTFH3+KDnyt/5M/piq5RDZo+E6p/hfddWs7Qb35fxBja+o6gF3Kq8K3gJ3flG8y Dbgt7FtT0iH4hGtLZaFYoJZt03pRBH7dsrZkGBppx7FkY9ylGpRpGrWIvQ8Q+e3Glx3u Z/e9MFZG14FrTq7zQbLRt0LWP43YnHdlLObSBzVHTP1CGHt8ZUwKq/Y30TikXx39IbvL +B3n3+T7sE5lcf6quuWjdctUZDuDqkm7t5xQ+5lLLmh/1v016+e0VlQy+dfzoxzyZTcE 4dTcfJsEPamluxGjrGVC0Wv8owmHR+AMVCpXIjbI6JerCZlIWUrN40XEg8cKt1VjYwfj deEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OI7Eh2Sr7UlIrdriAE8llNeiWeemNJRi+7rO196rLug=; b=JeCbW/uyh9/A7PRGiQe+Qt/5m7wKqz/P/+6+q4KwqP8HB6y9WQHMzQKvXa3gCmo7AQ TSHMHvPo2BwYWy8Z3wANtZWWCvyX3HZtXEYBmesyEz0FT/9Gd9WHbzQeTGf/YthVYNto DOll4/QQNbA6LEjW0UCzdd2hWbzAAP5deR0DtijosfPKGbZf8Rp32QfwJNdAzli+U8NZ PpV6Jzp4Bobs236Wzu/CHQECvNAloiEyNLqaU9vcAsZsS2n+8ophIXiqHx50ByG/g5fo DdWVGlHinC5MwmTO4plF77LN0IoFt6ZP7w1aIWsImunqVuJA3C5ilF4wqd4oJKNoF27Y eWnQ== X-Gm-Message-State: AN3rC/4Cv1AIs3m58NjRBX1rcKD+ceGOUJbUHFOmRG2z14LtbZMIiMRR ojuIlGmJBNfkXWZl X-Received: by 10.223.142.135 with SMTP id q7mr13806357wrb.180.1493577491918; Sun, 30 Apr 2017 11:38:11 -0700 (PDT) Original-Received: from gmail.com ([2a02:587:181c:d00:beee:7bff:fe5b:17a8]) by smtp.gmail.com with ESMTPSA id f64sm8335270wmg.2.2017.04.30.11.38.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Apr 2017 11:38:11 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83fugqkmbk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112909 Archived-At: On Sun, Apr 30, 2017 at 05:21:51PM +0300, Eli Zaretskii wrote: > > Date: Sun, 30 Apr 2017 13:02:52 +0300 > > From: Anast Gramm > > > > When I run a build command eshell gets filled with thousands of lines > > with the compiler commands. > > > > This results in a huge buffer (>10mb) thus slowing down emacs. > > Large buffers shouldn't slow down Emacs. They don't here. And 10MB > is not large by today's standards anyway. Actually it's 10mb for every time I run the afformentioned commands, so it gets big fast. > > Can you show a recipe for reproducing the problem? An example is when I print the contents of a binary file using a C++ program, and that file is big, eshell buffer gets ~50000 lines at that point stuff moves slower for a while. Compared to urxvt, when I print the file there, when the command finish its just like a simple ls. > > Also, what Emacs version is that? Emacs 25.1.1