emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with org-babel and shell scripts
@ 2012-07-10 17:41 John Wiegley
  2012-07-10 20:08 ` Bastien
       [not found] ` <johnw@newartisans.com>
  0 siblings, 2 replies; 7+ messages in thread
From: John Wiegley @ 2012-07-10 17:41 UTC (permalink / raw)
  To: emacs-orgmode

I have a shell block in my todo.txt which I've been using for generating some
reports for about a year.  I just tried C-c C-c in that shell block today, and
got the following:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-variable org-current-export-file)
  org-babel-confirm-evaluate(("sh" "..." ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:session . "none") (:hlines . "no") (:padnewline . "yes") (:result-type . value) (:result-params "replace") (:rowname-names) (:colname-names)) "" nil 0))
  org-babel-execute-src-block(nil ("sh" "..." ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:session . "none") (:hlines . "no") (:padnewline . "yes") (:result-type . value) (:result-params "replace") (:rowname-names) (:colname-names)) "" nil 0))
  org-babel-execute-src-block-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
--8<---------------cut here---------------end--------------->8---

I guess something changed recently?

John

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Bug in behavior of M-RET with latest Org-mode
@ 2013-02-25  4:25 John Wiegley
  0 siblings, 0 replies; 7+ messages in thread
From: John Wiegley @ 2013-02-25  4:25 UTC (permalink / raw)
  To: emacs-orgmode

In Org I've liked that fact that hitting M-RET in a list of headlines which
have no intervening whitespace, will add a new headline without whitespace.
Example:

    * One
    * Two<cursor>
    * Three

If hit M-RET at the <cursor>, I'll would get:

    * One
    * Two
    * <cursor>
    * Three

With the latest Org, I get:

    * One
    * Two
    * <cursor>

    * Three

Is this just a regression, or has the core behavior been changed to do this?
Is there a new variable I need to tweak to get the old behavior?

Thanks! John

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-03 17:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-10 17:41 Problem with org-babel and shell scripts John Wiegley
2012-07-10 20:08 ` Bastien
     [not found] ` <johnw@newartisans.com>
2012-07-10 18:53   ` Nick Dokos
2013-02-25  5:13   ` Bug in behavior of M-RET with latest Org-mode Nick Dokos
2013-02-25  5:39   ` Nick Dokos
2013-03-03 17:07     ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2013-02-25  4:25 John Wiegley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).