[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [Bug?] Results of code block printed in wrong place

From: Tobias Getzner
Subject: Re: [O] [Bug?] Results of code block printed in wrong place
Date: Tue, 23 Sep 2014 09:58:06 +0000 (UTC)
User-agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]