emacs-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]