From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Robert Thorpe <rt@robertthorpeconsulting.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Editing comments
Date: Sun, 07 Jun 2015 19:33:57 +0200 [thread overview]
Message-ID: <55748085.30602@easy-emacs.de> (raw)
In-Reply-To: <87sia525d8.fsf@robertthorpeconsulting.com>
Am 05.06.2015 um 23:49 schrieb Robert Thorpe:
> 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
Thanks. IMO that's worth a minor-mode like wdired.
That would reduce needed keystrokes towards two - while marking comments
already may cost severals.
Cheers,
Andreas
next prev parent reply other threads:[~2015-06-07 17:33 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 [this message]
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=55748085.30602@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
--cc=rt@robertthorpeconsulting.com \
/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.