From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Getzner Subject: Re: [Bug?] Results of code block printed in wrong place Date: Tue, 23 Sep 2014 09:58:06 +0000 (UTC) Message-ID: References: <871tr3n06a.fsf@nicolasgoaziou.fr> <1411460565.14042.1.camel@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWMre-0001p4-4a for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 05:58:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWMrX-0007xZ-Rh for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 05:58:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:53692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWMrX-0007wM-LY for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 05:58:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWMrR-0008Me-CW for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 11:58:17 +0200 Received: from glenalbyn.linguistics.ruhr-uni-bochum.de ([134.147.14.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 11:58:17 +0200 Received: from tobias.getzner by glenalbyn.linguistics.ruhr-uni-bochum.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 11:58:17 +0200 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@gnu.org On Tue, 23 Sep 2014 10:22:45 +0200, Tobias Getzner wrote: > This was quite painful to isolate, but I’ve now identified a minimal > configuration which should trigger this bug. > > ────────────────────────────────────────────────────────────────── > ;; BEGIN minimal.el > (add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-20140922")) > > ;; Example needs sh; might also trigger with other langs. > (org-babel-do-load-languages > 'org-babel-load-languages > '((sh .t))) > > (fset 'yes-or-no-p 'y-or-n-p) > > (defun my-org-mode-hook () > (follow-mode)) > (add-hook 'org-mode-hook 'my-org-mode-hook) > ;; END minimal.el > ────────────────────────────────────────────────────────────────── > > This seems rather bizarre. Both follow-mode and the y-or-n-p alias work > in isolation, but when both are used at the same time, I observe the > bug initially described. I’ve found this bug might be related to [1], where org-mode seems to trip when both follow-mode and TeX-source-correlate-mode are active. [1] does not seem to interact with aliasing yes-or-no-p, though. [1] http://article.gmane.org/gmane.emacs.orgmode/91009