From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: rename buffer but overwrite already existing one Date: Mon, 23 Mar 2020 19:05:23 +0100 Message-ID: <874kuf9cbg.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="110963"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:q6/UrcAn1b+ComLa9PVGRD54Pdg= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 23 19:07:23 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 1jGRTu-000SkW-Sx for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 19:07:22 +0100 Original-Received: from localhost ([::1]:37984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGRTt-0000Ex-W1 for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Mar 2020 14:07:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58168) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGRS6-000754-Tc for emacs-devel@gnu.org; Mon, 23 Mar 2020 14:05:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGRS5-0001Pv-SS for emacs-devel@gnu.org; Mon, 23 Mar 2020 14:05:30 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:55972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jGRS5-0001Pg-ML for emacs-devel@gnu.org; Mon, 23 Mar 2020 14:05:29 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jGRS3-000QCF-R9 for emacs-devel@gnu.org; Mon, 23 Mar 2020 19:05:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 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:245728 Archived-At: Hi Not sure my first posting arrived, if yes my apologies. I use rename-buffer quite often, especially for message buffers. However once a name is taken, the function refuses to overwrite a buffer. I could of course use rename-uniquely in which case a number is attached, but this I find quickly confusing. Couldn't rename-buffer, optionally, overwrite the content of a buffer. I looked around but can't find such a functionality. Thanks and regards Uwe Brauer