From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: About org-babel menu Date: Mon, 19 Mar 2012 10:52:25 -0400 Message-ID: <874ntkabiu.fsf@gmx.com> References: <87d388lo8f.fsf@gmail.com> <87pqc8acwy.fsf@gmx.com> <4F67458D.5090904@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9dwv-0008Fh-LT for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 10:53:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9dwp-0005tO-1z for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 10:52:41 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:44658) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S9dwo-0005tI-Qp for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 10:52:34 -0400 In-Reply-To: <4F67458D.5090904@gmail.com> (Rainer M. Krug's message of "Mon, 19 Mar 2012 15:41:17 +0100") 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: R.M.Krug@gmail.com Cc: FengShu , emacs-orgmode@gnu.org Rainer M Krug writes: > On 19/03/12 15:22, Eric Schulte wrote: >> Hi FengShu, >> >> I don't know much about the Emacs customization interface, but it is certainly the solution to >> this issue. There does currently exist a Babel specific customization group, the nesting is >> org>babel. Through this interface there are menus like the one you mention below available. >> >> One way to access these menus is through the help interface, with M-x describe-variable RET >> org-babel-load-languages RET and then select the "customize" link. > > Agreed on this point, but I am with FengShu regarding a babel menu. I likely would not use it that > often (I know the shortcuts relevant to me right now), but > > 1) it would advertise the babel functionality a little bit more if it is shown in the org menu > > 2) for a beginner, it would be much easier to use org-babel if commands like execute source block > or section, tangle, un-tangle, ... would be in the menu. > > > So I would see it as a useful way of promoting babel (and therefore org-mode) and also as a nice > reminder of less frequently (but nevertheless usefull) functionality. > I've had (setq menu-bar-mode nil) in my .emacs for years now and forget that Emacs even has support for menus. I don't know anything about how Emacs implements menus, but if anyone is interested in taking on this development I'm very happy to consult in the development of and to apply contributed patches which add Babel menu support. Best, > > Cheers, > > Rainer > > >> >> Best, >> >> FengShu writes: >> >>> Hi: Could we add some org-babel menu items ,so using them we can enable and disable the >>> computer languages ? >>> >>> for example: #+begin_example org => org-babel => * emacs-lisp sh * R ... * screen >>> >>> #+end_example >> -- Eric Schulte http://cs.unm.edu/~eschulte/