emacs-orgmode
[Top][All Lists]
Advanced

[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 10:22:45 +0200

Hello Nicolas,

On Mo, 2014-09-22 at 17:29 +0200, Nicolas Goaziou wrote:
> FWIW, I cannot reproduce it.

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. Can you confirm this?

Best regards,
Tobias


reply via email to

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