[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Orgmode] Re: usage of bgein_src in 'Literal examples' section

From: Dominik, C.
Subject: RE: [Orgmode] Re: usage of bgein_src in 'Literal examples' section
Date: Fri, 6 Jun 2008 13:27:22 +0200

You can also load the file into Emacs and then check the value of
the variable `major-mode' in that buffer.  It will be c-mode or org-mode
or whatever.  From this value, just strig the "-mode" and you have
the value you need to use in the begin_src line.

- Carsten

-----Original Message-----
From: address@hidden on behalf of Patrick Drechsler
Sent: Fri 6/6/2008 12:39 PM
To: address@hidden
Subject: [Orgmode] Re: usage of bgein_src in 'Literal examples' section

Bernt Hansen <address@hidden> writes:

> Patrick Drechsler <address@hidden> writes:
>> But how do I find out which is the correct string for the Emacs mode?
>> Is there a `M-x describe-??' method?


> There's a variable 'auto-mode-alist' (C-h v auto-mode-alist) which
> lists the mappings of filenames to modes.


Thank Bernt, this the the variable I was looking for!


Sleep: Thing used by ineffective people as a substitute for coffee.
Ambition: A poor excuse for not having enough sense to be lazy.

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]