[Top][All Lists]

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

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

From: Patrick Drechsler
Subject: [Orgmode] Re: usage of bgein_src in 'Literal examples' section
Date: Sat, 07 Jun 2008 15:44:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Dominik, C." <address@hidden> writes:

>> 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!
> 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.

This also works fine, thanks for your feedback Dominik. As mentioned in
a previous mail I got a bit confused between different emacs buidls on
my machine, sorry for the noise.


1 + 1 = 3 for large values of 1 and small values of 3. ;-)

reply via email to

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