From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: About org-babel menu Date: Mon, 19 Mar 2012 11:03:53 -0400 Message-ID: References: <87d388lo8f.fsf@gmail.com> <87pqc8acwy.fsf@gmx.com> <4F67458D.5090904@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9e7y-0006vv-C5 for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 11:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9e7n-0007pV-Oj for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 11:04:05 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:34155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9e7n-0007p7-Hu for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 11:03:55 -0400 Received: by vcbfk14 with SMTP id fk14so8140602vcb.0 for ; Mon, 19 Mar 2012 08:03:53 -0700 (PDT) In-Reply-To: <4F67458D.5090904@gmail.com> 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, Eric Schulte On Mon, Mar 19, 2012 at 10:41, Rainer M Krug wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 19/03/12 15:22, Eric Schulte wrote: >> Hi FengShu, >> >> I don't know much about the Emacs customization interface, but it is cer= tainly the solution to >> this issue. =C2=A0There does currently exist a Babel specific customizat= ion group, the nesting is >> org>babel. =C2=A0Through 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 de= scribe-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 lik= ely 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 l= ike execute source block > or section, tangle, un-tangle, ... would be in the menu. > That would be useful, however I believe what FengShu means is a sub-menu specifically with a list of all the org-babel languages, where you can see which are active at the moment. I'm not sure how you could deactivate them once they are active however since the libraries would be loaded, however you could use that menu as a way to keep track of which languages require confirmation on code blocks and which will be evaluated without prompting. > > So I would see it as a useful way of promoting babel (and therefore org-m= ode) and also as a nice > reminder of less frequently (but nevertheless usefull) functionality. > > Cheers, > > Rainer > > >> >> Best, >> >> FengShu writes: >> >>> Hi: Could we add =C2=A0some org-babel menu items ,so using them we can = enable and disable the >>> computer languages ? >>> >>> for example: #+begin_example org =3D> org-babel =3D> =C2=A0* emacs-lisp= sh * R ... * screen >>> >>> #+end_example >> > > > - -- > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biolog= y, UCT), Dipl. Phys. > (Germany) > > Centre of Excellence for Invasion Biology > Stellenbosch University > South Africa > > Tel : =C2=A0 =C2=A0 =C2=A0 +33 - (0)9 53 10 27 44 > Cell: =C2=A0 =C2=A0 =C2=A0 +33 - (0)6 85 62 59 98 > Fax : =C2=A0 =C2=A0 =C2=A0 +33 - (0)9 58 10 27 44 > > Fax (D): =C2=A0 =C2=A0+49 - (0)3 21 21 25 22 44 > > email: =C2=A0 =C2=A0 =C2=A0Rainer@krugs.de > > Skype: =C2=A0 =C2=A0 =C2=A0RMkrug > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk9nRY0ACgkQoYgNqgF2egqR+QCfd9JUHONesOzWv/GeVL1sdgAl > J8UAn29QzxY9qxK9Du3n0brq7Orwo6yB > =3D5vux > -----END PGP SIGNATURE----- >