From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: layout org-babel menu WAS: About org-babel menu Date: Fri, 13 Apr 2012 08:45:17 -0400 Message-ID: <87d37bvm02.fsf@gmx.com> References: <87d388lo8f.fsf@gmail.com> <87pqc8acwy.fsf@gmx.com> <4F67458D.5090904@gmail.com> <87mx71mymu.fsf@gnu.org> <4F7D6125.40309@gmail.com> <87pqbm8i0t.fsf@gmx.com> <87bon4pm03.fsf@gmx.com> <87pqbfhwq0.fsf@gmx.com> <4F853242.3020600@gmail.com> <87iph64bev.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIhkk-0003Mc-1c for emacs-orgmode@gnu.org; Fri, 13 Apr 2012 10:45:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIhkc-00042Z-6E for emacs-orgmode@gnu.org; Fri, 13 Apr 2012 10:45:33 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:44649 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SIhkb-00040u-Vt for emacs-orgmode@gnu.org; Fri, 13 Apr 2012 10:45:26 -0400 In-Reply-To: (Thomas S. Dye's message of "Wed, 11 Apr 2012 10:12:06 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: FengShu , emacs-orgmode@gnu.org [...] >>>>> >>>>> 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/