From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: rename buffer but overwrite already existing one Date: Mon, 23 Mar 2020 21:35:54 +0200 Message-ID: <83d092c19h.fsf@gnu.org> References: <874kuf9cbg.fsf@mat.ucm.es> <83ftdyc234.fsf@gnu.org> <87y2rq98po.fsf@mat.ucm.es> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21008"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 23 20:36:36 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jGSsE-0005KG-MK for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 20:36:34 +0100 Original-Received: from localhost ([::1]:38878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGSsD-0003eD-LC for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 15:36:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46790) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGSrZ-0002vg-Dp for emacs-devel@gnu.org; Mon, 23 Mar 2020 15:35:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jGSrZ-0008Ce-3Y; Mon, 23 Mar 2020 15:35:53 -0400 Original-Received: from [176.228.60.248] (port=4046 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jGSrY-0002XB-6a; Mon, 23 Mar 2020 15:35:52 -0400 In-Reply-To: <87y2rq98po.fsf@mat.ucm.es> (message from Uwe Brauer on Mon, 23 Mar 2020 20:23:15 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245733 Archived-At: > From: Uwe Brauer > Date: Mon, 23 Mar 2020 20:23:15 +0100 > > >> Couldn't rename-buffer, optionally, overwrite the content of a buffer. > > > Yes, but it's called copy-to-buffer, not rename-buffer. > > Thanks for pointing this out to me, but I have to mark the whole buffer > first, which is a but inconvenient, I say. That's just "C-x h" away. > Couldn't there an argument added so that with the argument the whole > buffer is copied? I suggest to submit a feature request.