On Mon, Mar 19, 2012 at 10:41, Rainer M Krug <r.m.k...@gmail.com> 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 >> 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. >
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-mode) > and also as a nice > reminder of less frequently (but nevertheless usefull) functionality. > > Cheers, > > Rainer > > >> >> Best, >> >> FengShu <tuma...@gmail.com> 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 >> > > > - -- > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, > UCT), Dipl. Phys. > (Germany) > > Centre of Excellence for Invasion Biology > Stellenbosch University > South Africa > > Tel : +33 - (0)9 53 10 27 44 > Cell: +33 - (0)6 85 62 59 98 > Fax : +33 - (0)9 58 10 27 44 > > Fax (D): +49 - (0)3 21 21 25 22 44 > > email: rai...@krugs.de > > Skype: RMkrug > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk9nRY0ACgkQoYgNqgF2egqR+QCfd9JUHONesOzWv/GeVL1sdgAl > J8UAn29QzxY9qxK9Du3n0brq7Orwo6yB > =5vux > -----END PGP SIGNATURE----- >