help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Temporary switching to another major mode


From: Thorsten Jolitz
Subject: Re: Temporary switching to another major mode
Date: Thu, 02 Oct 2014 11:34:53 +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?

2 specialized tools are:

- poporg: edit the docstring at point in Org (works in emacs-lisp-mode
  and maybe others?)
- outorg: edit the subtree at point (or whole buffer) in Org (works in
  all major-modes, given original buffer is org-style-structured and has
  outshine activated)

Then there is polymode and linked-buffers, recently discussed on the ESS
mailing list. 

None of them seems to be a perfect fit for your needs though ...

-- 
cheers,
Thorsten




reply via email to

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