From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: Opening multiple files in a single buffer? Date: Sat, 13 Jun 2020 14:45:39 -0500 Message-ID: <53D2E172-0D7E-4440-84C7-8650B3AA7FCB@easesoftware.com> References: <83pna23j1h.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54389"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Gregory Heytings Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 13 21:47:32 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 1jkC7n-000E2L-Ua for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Jun 2020 21:47:31 +0200 Original-Received: from localhost ([::1]:33548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkC7m-0006vl-Gn for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Jun 2020 15:47:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkC6l-0006vc-Fd for help-gnu-emacs@gnu.org; Sat, 13 Jun 2020 15:46:27 -0400 Original-Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:36426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkC6j-0007kf-97 for help-gnu-emacs@gnu.org; Sat, 13 Jun 2020 15:46:27 -0400 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6187164067D; Sat, 13 Jun 2020 19:45:42 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (100-96-10-13.trex.outbound.svc.cluster.local [100.96.10.13]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 77D09640867; Sat, 13 Jun 2020 19:45:41 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Sat, 13 Jun 2020 19:45:42 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Shoe-Gusty: 50d9272d5a68c1dd_1592077542164_3445162054 X-MC-Loop-Signature: 1592077542164:3511429087 X-MC-Ingress-Time: 1592077542164 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UZMKNUhVx+K5BVN7NS54sSQltYfrJsycoOprl4WE6o0=; b=LEAYq//4yWPvMLdqDb34fuGN6 xU281xWrdnOhnzLRfXWjYn76c4PgPsUjmbcTuHC1VgXTjvZF4FLEqqQO7p+ePeNOksbuqe799OR5Z wRycTBH1ck1HXy7fFWgvClprSV3YlVRatzhzG/xR7zNncRK76oAgWKXFHzTQph69QlVh16QJzy/o6 kMzhzbrvFVfD77OhjPs0jZXP9BtyFAMzuKQiYJV1QqK2PMgaUIaVm4lXnftcZf/g9oW+u1e1zslWa uvA5NPG6OJwYq1zc8TTpRVRJHnlJYIpBUMVpH1/qC+DbWdwwhsdzebDfqbQy1qwhrwTbaxr0GhCzl UW5ecF2FQ==; Original-Received: from mobile-107-107-187-56.mycingular.net ([107.107.187.56]:32015 helo=macbook-pro.localdomain) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jkC60-0007LW-Co; Sat, 13 Jun 2020 15:45:40 -0400 In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com Received-SPF: pass client-ip=23.83.209.48; envelope-from=pedz@easesoftware.com; helo=dog.birch.relay.mailchannels.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/13 14:45:50 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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:123382 Archived-At: > On Jun 13, 2020, at 2:22 PM, Gregory Heytings wrote: >=20 >=20 >>=20 >>> Another application would be to open all the code files in a = directory into a single buffer, and do replace-string or query-replace = on all of them, to rename variables, for example. >>=20 >> We have a special Dired command to do such renaming. >>=20 >=20 > Indeed, but that's not the point. As I said what I'm proposing is a = way to do some things more easily (for some users). Everything that = could be done with such a feature can already be done in other ways. I = don't use the menu-bar, the tool-bar, customize, or the menus on the = mode-line. But I do not consider that they are useless. All these = features make it possible to do things more easily (for some users), = that can already be done in other ways. Before you decide to dive into this, I would suggest doing a test run by = writing a simple script to cat the files together with a separator and = edit that file with something like search and replace or bounce around = in various places making edits. I have vague memories that when buffers = get extremely big, emacs slows down considerably but my memories are not = clear enough to recall the exact circumstances. Perhaps one of the = emacs maintainers can jump in and comment. Is emacs going to be more = efficient with several =E2=80=9Csmall=E2=80=9D buffers rather than one = extremely large buffer. Some of the people commenting are wanting to = load up an entire project into a single buffer. As I recall, that is = going to be very unfriendly to use.