From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.help Subject: Re: Opening multiple files in a single buffer? Date: Sun, 14 Jun 2020 07:12:22 +0000 Message-ID: References: <83pna23j1h.fsf@gnu.org> <53D2E172-0D7E-4440-84C7-8650B3AA7FCB@easesoftware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="15959"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.21 (NEB 202 2017-01-01) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 14 09:12:55 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jkMp4-000433-UV for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 09:12:54 +0200 Original-Received: from localhost ([::1]:42190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkMp4-0005p0-0v for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 03:12:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkMok-0005on-Ny for help-gnu-emacs@gnu.org; Sun, 14 Jun 2020 03:12:34 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:52398) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkMoi-0004cM-Rh for help-gnu-emacs@gnu.org; Sun, 14 Jun 2020 03:12:34 -0400 Original-Received: from sdf.org (IDENT:ghe@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 05E7CPV6017776 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Sun, 14 Jun 2020 07:12:25 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 05E7CPeg028114; Sun, 14 Jun 2020 07:12:25 GMT In-Reply-To: Received-SPF: pass client-ip=205.166.94.20; envelope-from=ghe@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/14 03:12:25 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123385 Archived-At: > >> That's not correct. On my laptop, I can easily edit a 100 (one >> hundred) MB text file, Emacs is almost as reactive as with a 1 KB text >> file. Of course some operations take more time, e.g. a >> query-replace-regexp on the whole buffer, but from what I see (on my >> laptop it takes about four seconds, with a regexp) I doubt that it >> takes more time than hundred query-replace-regexp in a 1 MB file, or >> for that matter than doing this with dired on hundred 1 MB files. >> > I think it depends on content in those files as well as of size. > > Try to edit some of those two files: https://github.com/amno1/Plato , > possibly Plato.org. Don't just display them, but try to actually put > some text note in it or add/remove some whitespace or whatever. Jump to > some paragraph and insert a new line and see how long it takes. Then try > to do same in Atom text editor. > > My Emacs takes quite some time even to add a white space char while Atom > has not problems whatsoever. I run on 6700K i7 cpu + 32 gig 3000Mhz ram. > > I don't know what the problem is, if it is just my Emacs config or > actually underlaying data structure (Gap buffer vs linked structure > optimized for changes - their "Superstring"). > These files work flawlessly on my laptop (under Org-mode), which has half the memory of your computer. So this has nothing to do with Emacs per se. I don't know what the problem on your computer is. I'd suggest to try to open these files by opening with emacs -q. Then try to find what causes the problem in your .emacs file. Anyway, all this has nothing to do with the proposed feature. The fact that it will not work under some circumstances is obvious and is not a problem. Of course every feature has a limit, I mean, even opening files does not work anymore above some limit. Gregory