From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: bug / regression: C-x C-s is broken in org-edit-special Date: Thu, 9 Feb 2012 15:49:48 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvbsF-0000rR-2Z for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 16:49:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvbsD-0006Wc-KP for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 16:49:51 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:58310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvbsD-0006WH-FW for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 16:49:49 -0500 Received: by dadv6 with SMTP id v6so1926793dad.0 for ; Thu, 09 Feb 2012 13:49:48 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs orgmode Previously, C-x C-s in an org-edit-special buffer (invoked via C-') would save the underlying org buffer (provided (setq org-src-window-setup (quote current-window)) was set; it was buggy with other settings, see http://thread.gmane.org/gmane.emacs.orgmode/50979 for discussion). Currently, C-x C-s prompts to save the temporary source edit buffer in a new file, which is almost certainly not what the user intends. I hope someone can look into this, C-x C-s shouldn't be broken in any context. This broke some time between commit fc93b6f34071703d5a154a51540f3f4e3f15b8a2 (Jan. 18) and this week, _possibly_ as a result of the change ensuring that buffer-file-name is nil in temporary org-src buffers. Buffer-file-name not being nil in a temp buffer is incorrect behavior, but in this context having C-x C-s not working is a much worse behavior, so perhaps that change ought to be reverted if it's the culprit. --Leo