[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: awesome feature (yet to be added?)
From: |
Le Wang |
Subject: |
Re: awesome feature (yet to be added?) |
Date: |
Mon, 5 May 2014 22:32:07 -0400 |
I made this: https://github.com/lewang/try-code
The idea is developed a little further than what you propose. I
decorate the code with markers so it's easy to choose the new or old
code.
Judging by the uptake. We are the only two to think this is useful. :)
On Sat, May 3, 2014 at 2:47 PM, Bric <address@hidden> wrote:
> 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!
>
--
Le
- awesome feature (yet to be added?), Bric, 2014/05/03
- Re: awesome feature (yet to be added?), Bric, 2014/05/03
- Re: awesome feature (yet to be added?),
Le Wang <=
- Re: awesome feature (yet to be added?), Davis Herring, 2014/05/05
- Re: awesome feature (yet to be added?), Stephen J. Turnbull, 2014/05/06
- Re: awesome feature (yet to be added?), Robert Thorpe, 2014/05/06
- Re: awesome feature (yet to be added?), Thorsten Jolitz, 2014/05/30
- Re: awesome feature (yet to be added?), Stefan Monnier, 2014/05/30
- Re: awesome feature (yet to be added?), Thorsten Jolitz, 2014/05/31
- Re: awesome feature (yet to be added?), Andreas Röhler, 2014/05/31
- Re: awesome feature (yet to be added?), Thorsten Jolitz, 2014/05/31
- Re: awesome feature (yet to be added?), Andreas Röhler, 2014/05/31
- Re: awesome feature (yet to be added?), Thorsten Jolitz, 2014/05/31