"Dominik, C." <[EMAIL PROTECTED]> writes:

>> Bernt Hansen <[EMAIL PROTECTED]> writes:
>>
>>> Patrick Drechsler <[EMAIL PROTECTED]> 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.

Cheers,

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




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to