From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Rename, delete and move current buffer and file Date: Mon, 07 May 2018 20:20:47 +0200 Message-ID: <8736z39vk0.fsf@linux-m68k.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525717170 17399 195.159.176.226 (7 May 2018 18:19:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 18:19:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: "emacs-devel@gnu.org" To: =?utf-8?Q?Jaros=C5=82aw_Rzesz=C3=B3tko?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 07 20:19:26 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 1fFkjO-0004Qc-16 for ged-emacs-devel@m.gmane.org; Mon, 07 May 2018 20:19:26 +0200 Original-Received: from localhost ([::1]:47563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFklV-00066u-0P for ged-emacs-devel@m.gmane.org; Mon, 07 May 2018 14:21:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkkr-00066o-Ue for emacs-devel@gnu.org; Mon, 07 May 2018 14:20:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFkkn-0007iN-U6 for emacs-devel@gnu.org; Mon, 07 May 2018 14:20:57 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:58825) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fFkkn-0007er-NO for emacs-devel@gnu.org; Mon, 07 May 2018 14:20:53 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40frXK2xKZz1qtHV; Mon, 7 May 2018 20:20:49 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40frXK2nmpz1qqkW; Mon, 7 May 2018 20:20:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 3LjfOoFGPUZa; Mon, 7 May 2018 20:20:48 +0200 (CEST) X-Auth-Info: IJQ3DmjqohiY55Y/W68mzoEAg4tAaZG7do+Wl8f++J8T332Y2m2dp1iD/1ZMad8W Original-Received: from localhost (ppp-188-174-145-238.dynamic.mnet-online.de [188.174.145.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 7 May 2018 20:20:48 +0200 (CEST) Original-Received: by localhost (Postfix, from userid 1000) id B0A662C3D66; Mon, 7 May 2018 20:20:47 +0200 (CEST) X-Yow: Wait.. is this a FUN THING or the END of LIFE in Petticoat Junction?? In-Reply-To: (=?utf-8?Q?=22Jaros=C5=82aw_Rzesz=C3=B3tko=22's?= message of "Mon, 7 May 2018 18:20:26 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.18.0.9 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:225133 Archived-At: On Mai 07 2018, Jaros=C5=82aw Rzesz=C3=B3tko wrote= : > That's maybe one more reason a function like buffer-directory-name woul= d be > nice? How is that different from (file-name-directory (buffer-file-name))? Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC= 1 "And now for something completely different."