From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: buffer-file-name in [* Org src *] buffers Date: Mon, 12 Mar 2018 15:38:32 +0100 Message-ID: <87ina1cqaf.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evPG6-0000gD-RR for emacs-orgmode@gnu.org; Mon, 12 Mar 2018 11:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evPG3-00063P-Kl for emacs-orgmode@gnu.org; Mon, 12 Mar 2018 11:21:06 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:34469) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evPG3-00061b-Cy for emacs-orgmode@gnu.org; Mon, 12 Mar 2018 11:21:03 -0400 In-Reply-To: (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Sun, 11 Mar 2018 18:56:48 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Cc: emacs-orgmode@gnu.org Hello, Cl=C3=A9ment Pit-Claudel writes: > TL;DR: why does org-src-mode-configure-edit-buffer set > buffer-file-name to a non-nil value? > https://code.orgmode.org/bzg/org-mode/commit/4b6988bf36cb458c9d113ee4332e= 016990c1eb04#diff-ea848b037ba2c0bf95915700bb6f4e539d80d8cR486 [...] > Why is that? The explanation is here: AFAIU, this was needed so that Emacs would warn when closing a remote editing buffer with C-x k. This feature doesn't appear to be functional at the moment, tho. Regards, --=20 Nicolas Goaziou