From: Javier <nospam@nospam.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Editing comments
Date: Sun, 7 Jun 2015 18:47:05 +0000 (UTC) [thread overview]
Message-ID: <ml23j9$m7t$1@speranza.aioe.org> (raw)
In-Reply-To: mailman.4519.1433698446.904.help-gnu-emacs@gnu.org
>> 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}
next prev parent reply other threads:[~2015-06-07 18:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 6:45 Editing comments Andreas Röhler
2015-06-05 21:49 ` Robert Thorpe
2015-06-07 17:33 ` Andreas Röhler
2015-06-07 19:08 ` Artur Malabarba
2015-06-08 4:59 ` Andreas Röhler
[not found] ` <mailman.4519.1433698446.904.help-gnu-emacs@gnu.org>
2015-06-07 18:47 ` Javier [this message]
2015-06-07 20:38 ` Robert Thorpe
2015-06-08 14:24 ` Phillip Lord
2015-06-08 18:24 ` Andreas Röhler
2015-06-09 9:18 ` Phillip Lord
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ml23j9$m7t$1@speranza.aioe.org' \
--to=nospam@nospam.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.