From: Tobias Getzner <tobias.getzner@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: [Bug?] Results of code block printed in wrong place
Date: Tue, 23 Sep 2014 09:58:06 +0000 (UTC) [thread overview]
Message-ID: <lvrg7e$akl$1@ger.gmane.org> (raw)
In-Reply-To: 1411460565.14042.1.camel@gmx.de
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
next prev parent reply other threads:[~2014-09-23 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-22 13:26 [Bug?] Results of code block printed in wrong place Tobias Getzner
2014-09-22 15:29 ` Nicolas Goaziou
2014-09-23 8:22 ` Tobias Getzner
2014-09-23 9:58 ` Tobias Getzner [this message]
2014-09-23 18:32 ` Aaron Ecay
2014-09-24 11:41 ` Tobias Getzner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lvrg7e$akl$1@ger.gmane.org' \
--to=tobias.getzner@gmx.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.