[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Temporary switching to another major mode
From: |
Pascal J. Bourguignon |
Subject: |
Re: Temporary switching to another major mode |
Date: |
Wed, 01 Oct 2014 23:17:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:
> Hi list,
>
> so I have this small fragment which really belongs to another major
> mode. Maybe it's an Org-mode table embedded somewhere in a LaTeX file.
> Maybe it's a LaTeX fragment in an email. I would like to edit it
> (e.g. in an indirect buffer) in its "native" mode (Org-mode, AUCTeX
> etc.), then hit e.g. C-c C-c and have the temporary buffer disappear,
> and the modified fragment update in the "base" buffer.
>
> I am pretty sure there exist some tools for that. Am I right?
http://www.emacswiki.org/emacs/MultipleModes
mmm-mode or mumamo.
(In case of web files, web-mode seems nice too).
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk