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: Mon, 15 Jun 2020 14:24:29 +0000 Message-ID: References: <87a714ze85.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="87665"; 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 Mon Jun 15 16:27:19 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 1jkq51-000Mg5-03 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 15 Jun 2020 16:27:19 +0200 Original-Received: from localhost ([::1]:41958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkq50-00042d-2G for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 15 Jun 2020 10:27:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkq2R-0000jW-5B for help-gnu-emacs@gnu.org; Mon, 15 Jun 2020 10:24:39 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:54608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkq2P-0005Pv-1g for help-gnu-emacs@gnu.org; Mon, 15 Jun 2020 10:24:38 -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 05FEOVa3015293 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Mon, 15 Jun 2020 14:24:31 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 05FEOV4p029077; Mon, 15 Jun 2020 14:24:31 GMT In-Reply-To: <87a714ze85.fsf@fastmail.fm> 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/15 02:47:27 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:123397 Archived-At: > > I can't tell you how feasible it would be, but unless you want to > implement it yourself, you'll probably have to do some more convincing > in order to get someone to implement it for you. As you said yourself, > the potential use cases for such a multi-file buffer are easily covered > by other means. > Are covered: yes. Are easily covered: no. If you take the tool-bar, everything it offers is (very!) easily covered by other means. Yet it exists, because it makes these things easier for some users. > > There is `multi-occur` for searching in multiple buffers, there are > front-ends to e.g., ripgrep (I use `counsel-rg` self) to search through > multiple files and with `wgrep` you can then edit those occurrences in > one go. (I use `multiple-cursors`, but you can also do a search and > replace in the multi-occur buffer.) > Yes, these tools exist. Yet I'd bet that many users would find a multi-file buffer far easier to use than these tools. Many users find it easier to use customize than to type Emacs LISP code by hand in their .emacs file. Gregory