all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bric <bric@flight.us>
To: emacs-devel@gnu.org
Subject: awesome feature (yet to be added?)
Date: Sat, 3 May 2014 14:47:44 -0400 (EDT)	[thread overview]
Message-ID: <112075085.1028629.1399142864865.open-xchange@email.1and1.com> (raw)

Hi, all

unless it already exists, I thought of an awesome time-saving command: 
invert-comment

this to be on a par with "comment-region" and "uncomment-region".

"invert-comment" would change something like this :

   /* int b_progress; */
    /* int i_seek; */
    /* hnd_t hin; */
    /* hnd_t hout; */

    int c_progress;
    int j_seek;
    hnd_e hin;
    hnd_f hout;


to:


    int b_progress;
    int i_seek;
    hnd_t hin;
    hnd_t hout;

    /* int c_progress; */
    /* int j_seek; */
    /* hnd_e hin; */
    /* hnd_f hout; */


-------------

not for all occasions, but can be very useful for some, it seems to me.

Maybe it's easily added with a scheme script or something.

thanks!



             reply	other threads:[~2014-05-03 18:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-03 18:47 Bric [this message]
2014-05-04  1:23 ` awesome feature (yet to be added?) Bric
2014-05-04 11:12   ` Stephen Berman
2014-05-04 18:33   ` Andreas Röhler
2014-05-06  2:32 ` Le Wang
2014-05-06  2:45   ` Davis Herring
2014-05-06  8:19     ` Stephen J. Turnbull
2014-05-06 22:27     ` Robert Thorpe
2014-05-30 21:35     ` Thorsten Jolitz
2014-05-31  1:30       ` Stefan Monnier
2014-05-31 10:46         ` Thorsten Jolitz
2014-06-09 11:01         ` Thorsten Jolitz
2014-06-09 15:30           ` Stefan Monnier
2014-05-31  6:26       ` Andreas Röhler
2014-05-31 10:52         ` Thorsten Jolitz
2014-05-31 17:20           ` Andreas Röhler
2014-05-31 20:04             ` Thorsten Jolitz
2014-06-01  7:00               ` Andreas Röhler

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=112075085.1028629.1399142864865.open-xchange@email.1and1.com \
    --to=bric@flight.us \
    --cc=emacs-devel@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.