emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: FengShu <tumashu@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: layout org-babel menu WAS: About org-babel menu
Date: Fri, 13 Apr 2012 08:45:17 -0400	[thread overview]
Message-ID: <87d37bvm02.fsf@gmx.com> (raw)
In-Reply-To: <m1lim2m3jd.fsf@tsdye.com> (Thomas S. Dye's message of "Wed, 11 Apr 2012 10:12:06 -1000")

[...]
>>>>> 
>>>>> Hi Eric,
>>>>> 
>>>>> This is potentially much nicer than a function template.  I tried filling out an R source
>>>>> code block's header arguments, but I couldn't find a way to get :results output graphics,
>>>>> which I use frequently for ggplot2 graphics.  With TAB I could see type arguments, but not 
>>>>> collection or handling arguments.  Is there some way to cycle through the various completion
>>>>> lists?
>>>>> 
>>>>> All the best, Tom
>>>> 
>>>> Hi Tom,
>>>> 
>>>> Currently language specific arguments for header arguments are not stored in any elisp
>>>> variables so there is no way to provide this information to the auto completion function.  I'm
>>>> adding a new suite of language-specific variables which may be customized by each language to 
>>>> provide information on language-specific header-argument arguments.
>>>> 
>>>> I've just put together this new code into a patch.  I'm not currently able to run the test
>>>> suite without massive failures (with or without this patch), so I'm just attaching the patch
>>>> here rather than pushing it up directly.  If it works well on other people's systems I think
>>>> it should be committed.

[...]

>>>> After this is applied the language-specific header argument variables will need to be fleshed
>>>> out.  For example see the value of the `org-babel-header-args:R' which includes the "graphics"
>>>> results option. The arguments of these variables will override the arguments of specific 
>>>> headers in the global `org-babel-common-header-args-w-values' variable.
>>>> 
>>>> Best,
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>
> Hi Eric,
>
> Sorry to hear the test suite isn't working for you currently.  I know
> you've put a lot of work into it and have come to rely on it.
>
> It will be a few days before I find time to work with the autocompletion
> patch, but look forward to it and will get back to you with comments.
>
> All the best,
> Tom

Hi,

Thanks for your concern over the test suite.  I believe the problem is
that I've been trying to stick to the version of Org-mode included in
the Emacs24 pre-test, which has changed my load path and means that the
latest version of Org-mode and the test suite take extra care to load.

Since both Rainer and myself have run this successfully I've just pushed
it up to the main repo.  Please let me know if it causes any problems.

At some point in the next couple of weeks we should both flesh out the
language-specific header argument variables and document this new
auto-complete behavior (although I'm not sure where this documentation
should live).

Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2012-04-13 14:45 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 13:22 About org-babel menu FengShu
2012-03-19 14:22 ` Eric Schulte
2012-03-19 14:41   ` Rainer M Krug
2012-03-19 14:52     ` Eric Schulte
2012-03-31  5:50       ` Torsten Wagner
2012-03-31  7:21         ` Nick Dokos
2012-04-01 16:34           ` Bernt Hansen
2012-04-01 20:26             ` Nick Dokos
2012-03-31  8:27         ` Bastien
2012-03-31 10:33           ` Yagnesh Raghava Yakkala
2012-03-19 15:03     ` Jonathan Leech-Pepin
2012-03-27 23:07     ` Bastien
2012-04-05  9:08       ` layout org-babel menu WAS: " Rainer M Krug
2012-04-05 12:44         ` Eric Schulte
2012-04-06  1:51           ` Torsten Wagner
2012-04-06  6:34             ` Rainer M Krug
2012-04-06  6:48               ` Thorsten
2012-04-06  6:58                 ` Rainer M Krug
2012-04-06  7:18                 ` Bastien
2012-04-06  9:29                   ` Thorsten
2012-04-06 15:40             ` Thomas S. Dye
2012-04-06 21:51             ` Eric Schulte
2012-04-08 21:19               ` Thomas S. Dye
2012-04-11  1:40                 ` Eric Schulte
2012-04-11  7:26                   ` Rainer M Krug
2012-04-11 13:59                     ` Eric Schulte
2012-04-11 20:12                       ` Thomas S. Dye
2012-04-13 12:45                         ` Eric Schulte [this message]
2012-04-13 19:37                           ` [bug?] Re: layout " Yagnesh Raghava Yakkala
2012-04-14 13:35                             ` Eric Schulte
2012-04-14 16:21                               ` Nick Dokos
2012-04-10  8:05               ` layout org-babel menu WAS: About " Rainer M Krug
2012-04-10 20:35                 ` Bastien
2012-04-11  7:10                   ` Rainer M Krug
2012-04-11  7:24                     ` Yagnesh Raghava Yakkala
2012-04-11  8:10                       ` Bastien
2012-04-11  8:11                     ` Bastien
2012-04-11  8:13                       ` Rainer M Krug
2012-04-11 13:51                         ` Eric Schulte
2012-04-11 13:43                       ` 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=87d37bvm02.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    --cc=tumashu@gmail.com \
    /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).