[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing comments
From: |
Javier |
Subject: |
Re: Editing comments |
Date: |
Sun, 7 Jun 2015 18:47:05 +0000 (UTC) |
User-agent: |
tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) |
>> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>>> commented code might need some edits too. In that case some basic
>>> commands like forward-sexp are not available.
>>>
>>> Is there a minor-mode, un-commenting temporarily, writing back the result?
You can always disable a block of code by an if(false). The emacs
major mode will work fine that way and reactivating the code is just
changing 0 by 1.
Python
if(0):
...
C with preprocessor directives
#if 0
...
#endif
TeX
\iffalse
...
\fi
LaTeX with the comment environment in the verbatim package.
\begin{comment}
...
\end{comment}
Re: Editing comments, Phillip Lord, 2015/06/08