From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Drechsler Subject: Re: usage of bgein_src in 'Literal examples' section Date: Thu, 05 Jun 2008 03:40:05 +0200 Message-ID: <484743F5.3090100@pdrechsler.de> References: <87tzg8n8oe.fsf@pdrechsler.de> <87prqw67uq.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K44So-0000Y9-0p for emacs-orgmode@gnu.org; Wed, 04 Jun 2008 21:40:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K44Sm-0000Xw-Jq for emacs-orgmode@gnu.org; Wed, 04 Jun 2008 21:40:25 -0400 Received: from [199.232.76.173] (port=53444 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K44Sm-0000Xp-Ct for emacs-orgmode@gnu.org; Wed, 04 Jun 2008 21:40:24 -0400 Received: from main.gmane.org ([80.91.229.2]:53780 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K44Sm-0007R5-03 for emacs-orgmode@gnu.org; Wed, 04 Jun 2008 21:40:24 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K44Sd-0002PS-Oa for emacs-orgmode@gnu.org; Thu, 05 Jun 2008 01:40:15 +0000 Received: from dslb-084-057-082-238.pools.arcor-ip.net ([84.57.82.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2008 01:40:15 +0000 Received: from patrick by dslb-084-057-082-238.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2008 01:40:15 +0000 In-Reply-To: <87prqw67uq.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: emacs-orgmode@gnu.org Bernt Hansen schrieb: > Patrick Drechsler writes: > >> I like the new feature in "literal examples" using #+BEGIN_SRC ! >> >> But how do I find which mode Emacs is using for a certain file type? >> >> I could not figure out how to replace for simple C or CPP files. >> >> What is the correct to insert? [snip] > This works for me: > > * C Source Example > #+BEGIN_SRC c > int main(void) > { > return 0; > } > #+END_SRC [snip] > > HTH Yes, it did, thanks a lot Bernt! Mmmh, I just have to many emacs devel versions currently on my system to reproduce the original error at the moment... But how do I find out which is the correct string for the Emacs mode? Is there a `M-x describe-??' method? Patrick