From: Robert Thorpe <rt@robertthorpeconsulting.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Editing comments
Date: Fri, 05 Jun 2015 22:49:07 +0100 [thread overview]
Message-ID: <87sia525d8.fsf@robertthorpeconsulting.com> (raw)
In-Reply-To: <5571456C.1060807@easy-emacs.de> (message from Andreas Röhler on Fri, 05 Jun 2015 08:45:00 +0200)
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?
What I do in this situation is I first mark the commented region. I
then narrow to the region, then uncomment it, after that I widen.
So, something like:
* C-SPC
* M-} or M-C-f, etc
* C-x n n
* M-;
* Edit
* C-x h
* M-;
* C-x n w
There is probably a better way.
BR,
Rob
next prev parent reply other threads:[~2015-06-05 21:49 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 [this message]
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
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=87sia525d8.fsf@robertthorpeconsulting.com \
--to=rt@robertthorpeconsulting.com \
--cc=andreas.roehler@easy-emacs.de \
--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.