From: "Dominik, C." <C.Dominik@uva.nl>
To: Patrick Drechsler <patrick@pdrechsler.de>, emacs-orgmode@gnu.org
Subject: RE: Re: usage of bgein_src in 'Literal examples' section
Date: Fri, 6 Jun 2008 13:27:22 +0200 [thread overview]
Message-ID: <9592BB6CDB1CEB48826BE86ACD71FA996ABF5B@kwik.ic.uva.nl> (raw)
In-Reply-To: 874p86g84m.fsf@pdrechsler.de
[-- Attachment #1.1: Type: text/plain, Size: 1320 bytes --]
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: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of Patrick Drechsler
Sent: Fri 6/6/2008 12:39 PM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] Re: usage of bgein_src in 'Literal examples' section
Bernt Hansen <bernt@norang.ca> writes:
> Patrick Drechsler <patrick@pdrechsler.de> 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!
Cheers,
Patrick
--
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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 2049 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-06-06 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 22:21 usage of bgein_src in 'Literal examples' section Patrick Drechsler
2008-06-05 0:30 ` Bernt Hansen
2008-06-05 1:40 ` Patrick Drechsler
2008-06-05 1:58 ` Bernt Hansen
2008-06-06 10:39 ` Patrick Drechsler
2008-06-06 11:27 ` Dominik, C. [this message]
2008-06-07 13:44 ` Patrick Drechsler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9592BB6CDB1CEB48826BE86ACD71FA996ABF5B@kwik.ic.uva.nl \
--to=c.dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=patrick@pdrechsler.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).