emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <dandavison7@gmail.com>
To: Paul Sexton <psexton@xnet.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel: Bugs with inline src_* blocks
Date: Tue, 15 Feb 2011 23:36:56 +0000	[thread overview]
Message-ID: <m1y65grht3.fsf@gmail.com> (raw)
In-Reply-To: loom.20110215T222100-833@post.gmane.org

Paul Sexton <psexton@xnet.co.nz> writes:

> Eric Schulte <schulte.eric <at> gmail.com> writes:
>> Hi, I agree with your intuition here, but I changed the default inline
>> header argument so that others would be able to use inline code blocks
>> and have the results inserted.  To regain the behavior you describe,
>> simply adjust the value of `org-babel-default-inline-header-args' as
>> follows in your .emacs file.
>> 
>> #+begin_src emacs-lisp
>>   (setf org-babel-default-inline-header-args
>>         '((:session . "none")
>>           (:results . "silent")
>>           (:exports . "results")))
>> #+end_src
>
> Thanks Eric. The 'default' behaviour I experienced where inline blocks
> were inheriting behaviour from elsewhere seems odd however.

Hi Paul, Eric,

Paul -- I do agree with you. I've had to manually delete unwanted inline
src output a few times in the last few days.

I think we did have the behaviour we want before -- replacement during
export but no modification of the buffer in interactive use. Could we
make the default behave so that it does "replace" during export and
"silent" during normal interactive evaluation? (Or some similar change
to ob-exp.el?)

Dan


> Is it intended
> to work this way?
>
> Paul
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-02-15 23:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15  2:31 org-babel: Bugs with inline src_* blocks Paul Sexton
2011-02-15  6:10 ` Suvayu Ali
2011-02-15 18:42 ` Eric Schulte
2011-02-15 21:22   ` Paul Sexton
2011-02-15 23:36     ` Dan Davison [this message]
2011-02-20  9:20       ` Eric Schulte

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1y65grht3.fsf@gmail.com \
    --to=dandavison7@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=psexton@xnet.co.nz \
    /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 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).