From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: About org-babel menu Date: Sat, 31 Mar 2012 14:50:24 +0900 Message-ID: References: <87d388lo8f.fsf@gmail.com> <87pqc8acwy.fsf@gmx.com> <4F67458D.5090904@gmail.com> <874ntkabiu.fsf@gmx.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307f31d294ae3204bc83889a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDrCo-0004rc-EA for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 01:50:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDrCl-0000DX-UZ for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 01:50:29 -0400 Received: from mail-vb0-f41.google.com ([209.85.212.41]:54221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDrCl-0000DS-J3 for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 01:50:27 -0400 Received: by vbbey12 with SMTP id ey12so1004093vbb.0 for ; Fri, 30 Mar 2012 22:50:25 -0700 (PDT) In-Reply-To: <874ntkabiu.fsf@gmx.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: Eric Schulte Cc: emacs-orgmode@gnu.org --20cf307f31d294ae3204bc83889a Content-Type: text/plain; charset=ISO-8859-1 My menus are hidden too. However, if I need them for some reasons there is some key mouse combo. Can't remember exactly. Shift right click or C- right click.. something along this. The menu will pop up as a context menu close to the mouse cursor location. Be aware there is a customization menu too. Just in case you look for a quick way to use the menu. Torsten On Mar 19, 2012 11:53 PM, "Eric Schulte" wrote: > 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/ > > --20cf307f31d294ae3204bc83889a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

My menus are hidden too. However,=A0 if I need them for some reasons the= re is some key mouse combo.
Can't remember exactly. Shift right click or C- right click.. something= along this.=A0 The menu will pop up as a context menu close to the mouse c= ursor=A0 location. Be aware there is a customization menu too.

Just in case you look for a quick way to use the menu.

Torsten

On Mar 19, 2012 11:53 PM, "Eric Schulte&quo= t; <eric.schulte@gmx.com>= wrote:
Rainer M Krug <r.m.krug@gmail.com<= /a>> 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. =A0There does currently exist a Babel specific customi= zation group, the nesting is
>> org>babel. =A0Through this interface there are menus like the o= ne 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&q= uot; 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 command= s 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 or= g-mode) and also as a nice
> reminder of less frequently (but nevertheless usefull) functionality.<= br> >

I've had (setq menu-bar-mode nil) in my .emacs for years now and forget=
that Emacs even has support for menus. =A0I don't know anything about h= ow
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 appl= y
contributed patches which add Babel menu support.

Best,

>
> Cheers,
>
> Rainer
>
>
>>
>> Best,
>>
>> FengShu <
tumashu@gmail.com= > writes:
>>
>>> Hi: Could we add =A0some org-babel menu items ,so using them w= e can enable and disable the
>>> computer languages ?
>>>
>>> for example: #+begin_example org =3D> org-babel =3D> =A0= * emacs-lisp sh * R ... * screen
>>>
>>> #+end_example
>>

--
Eric Schulte
http://cs.unm.ed= u/~eschulte/

--20cf307f31d294ae3204bc83889a--