From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: Rename, delete and move current buffer and file Date: Wed, 9 May 2018 12:12:34 -0600 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004bb4c4056bc9db08" X-Trace: blaine.gmane.org 1525890811 12494 195.159.176.226 (9 May 2018 18:33:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 May 2018 18:33:31 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 09 20:33:27 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGTu2-00038k-Ra for ged-emacs-devel@m.gmane.org; Wed, 09 May 2018 20:33:27 +0200 Original-Received: from localhost ([::1]:58423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGTw9-00050D-LM for ged-emacs-devel@m.gmane.org; Wed, 09 May 2018 14:35:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGTaY-0007py-7Z for emacs-devel@gnu.org; Wed, 09 May 2018 14:13:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGTaX-0007aW-Aw for emacs-devel@gnu.org; Wed, 09 May 2018 14:13:18 -0400 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:44633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGTaX-0007aD-2l for emacs-devel@gnu.org; Wed, 09 May 2018 14:13:17 -0400 Original-Received: by mail-lf0-x22d.google.com with SMTP id h197-v6so52251375lfg.11 for ; Wed, 09 May 2018 11:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aUdzaD+QdLb2sonnuH6oz3K2nngN6csqDrrlZuZfS5M=; b=HibRsYYji0VdWtt7yOtIiaJdxdjQhJboSlSErmW4TABVM2ViP7OCOmuYVr7As1sqxj cYP9ery8ZxXL77JpMNABWZQ+vzqvC1Nxd6bkNgF0QW59sRpxadPrGZrGcXbFiSbyrSJ6 oSrdv2KblBKprc5Tty4hnpibgVAvRXfZLXH8U9e6/yf8CVBNz+Y9MgoX/wM79O0rW9uN WNjMEruuC47yAs25XPlL5M5wOxKWC3IR3x0Ciprcxq76z1JGhusu/YrHhHOZLCBltnfT QG1pc7DGo/N1UQ6g9MI+cy8vLaE88Rv3QcP45BCHgTu1jiNqWjcWVOL8tM/EzSdoz5qx sjhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aUdzaD+QdLb2sonnuH6oz3K2nngN6csqDrrlZuZfS5M=; b=Roj8An1vLVxQmYt8dokJRx9n7p0yXWU0rhfUJr/WsO5mHUNMBnQpI7EbEyQaa6selG yYnQcX8Eu7QEdxCCEP2J2rpPXLKUCON8gIK9JgSAyDBXODBp/9zvLUQrpz899ARLwU1w COXbINDHkKvjVH92M1j9iKDb3jwT9T83QmXWDr5GYE/TgZEX6tL1Z4hMDBooQAs+vSnK z+0ZmnwBu0ozfSJiES8wPN0Djt2cq9UU8zlFRCsMv1IZ+KvrQIrHssO/TrigtsgOo/wL ha7+WOZ9+J/ofVqYp/8MoszIV79fsoS6gs8vPEgkdM7A1m+xEWs8rM3G8+fvt3vXFqaS FqPQ== X-Gm-Message-State: ALQs6tBHa50bMOwdKbhJpKc8EyfCqeieTqFsz/0DcF9BPiS1i2cXPpeN OKM8tQJBQY9/PtzvMwbklE9MuIwP4zTsrMs9L3oOVnPD X-Google-Smtp-Source: AB8JxZpQqmNvL7TOeaRR291zcpqwXBRyyNEJQ6iT7IgAHqaaH10S+19hd6tRTGOY/Rj4Q/SAdbqzBHx+C7Cu+rm1arw= X-Received: by 2002:a2e:94c8:: with SMTP id r8-v6mr26024723ljh.118.1525889595322; Wed, 09 May 2018 11:13:15 -0700 (PDT) Original-Received: by 2002:a19:268f:0:0:0:0:0 with HTTP; Wed, 9 May 2018 11:12:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225170 Archived-At: --0000000000004bb4c4056bc9db08 Content-Type: text/plain; charset="UTF-8" > > I do not understand what you have in mind with write-file. This creates a > > copy, which is natural given the name. Do you envision some changes to it? > > Not sure what happened, but my first answer said: > > so maybe we could instead have `C-x C-w` prompt the user > "delete the old file (y or n)?" It seems like you are proposing a way to copy a file and then delete the original. This is not the same as *moving* it. --0000000000004bb4c4056bc9db08 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> > I do not understand what you have in mind w= ith write-file. This creates a
> > copy, which is natural g= iven the name. Do you envision some changes to it?
>=C2=A0
> Not sure what happened, but my first answer said:
>= ;=C2=A0
> =C2=A0 =C2=A0 so maybe we could instead have `C-x C-= w` prompt the user
> =C2=A0 =C2=A0 "delete the old file (= y or n)?"

It seems like you are proposing a w= ay to copy a file and then delete
the original. This is not the s= ame as *moving* it.

--0000000000004bb4c4056bc9db08--