From: Nick Sandow <njsand@internode.on.net>
To: help-gnu-emacs@gnu.org
Subject: Swapping comments and code in the region
Date: Fri, 22 Aug 2008 16:44:16 -0700 [thread overview]
Message-ID: <48AF4F50.5070008@internode.on.net> (raw)
Hi,
I think it would be handy to have a function that made comments into
code, and code into comments.
That is, if the region consisted of the following 2 lines:
foo();
// bar();
...they would become:
// foo();
bar();
Does anyone know of a package or command out there that does this?
Thanks
next reply other threads:[~2008-08-22 23:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 23:44 Nick Sandow [this message]
[not found] <mailman.17303.1219387442.18990.help-gnu-emacs@gnu.org>
2008-08-22 12:51 ` Swapping comments and code in the region weber
2008-08-23 12:10 ` Glauber Alex Dias Prado
2008-09-09 21:09 ` Xah
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48AF4F50.5070008@internode.on.net \
--to=njsand@internode.on.net \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).