Re: IDLWAVE and commenting out sections [message #35557] |
Fri, 20 June 2003 11:24 |
paul wisehart
Messages: 28 Registered: December 2002
|
Junior Member |
|
|
On Fri, 20 Jun 2003 10:33:36 -0700, JD Smith <jdsmith@as.arizona.edu> wrote:
> Thanks. Just mark it as described and use [C-c ;]. The same command
> uncomments commented sections. You might also find the various
> commands to mark and move among sub-blocks and program units useful:
>
> M-C-h Mark sub-program
> IDLWAVE->Mark->Block Mark block
> IDLWAVE->Mark->Header Mark the header
> M-C-n Move to end of next block (if, case, etc.)
> M-C-p Move the beginning of the previous block
> M-C-d Move down one nested block before point
> C-- M-C-d Move down one nested block before point
> M-C-u Move up to the top of current enclosing block
> C-- M-C-u Move up to the end of the current enclosing block
> M-C-a Move to beginning of current sub-program
> M-C-e Move to end of current sub-program
Thanks!
I am decreasing my key-strokes rapidly.
Soon, I will not have to actually type anything to program.
--
paul \ /
wisehart >/
<//////$>
|\|\|\
|
|
|
Re: IDLWAVE and commenting out sections [message #35563 is a reply to message #35557] |
Fri, 20 June 2003 10:33  |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Fri, 20 Jun 2003 09:50:31 -0700, paul wisehart wrote:
> Is there a way to comment out a section in the IDLWAVE mode of emacs ?
>
> something like:
> C-space
> [move to end of region to indent]
> C-[some-command-to-comment-out-section]
>
> (I'm not sure if this post is on-topic here, but I've seen previous
> IDLWAVE posts answered)
>
>
> (I love IDLWAVE by the way!)
Thanks. Just mark it as described and use [C-c ;]. The same command
uncomments commented sections. You might also find the various
commands to mark and move among sub-blocks and program units useful:
M-C-h Mark sub-program
IDLWAVE->Mark->Block Mark block
IDLWAVE->Mark->Header Mark the header
M-C-n Move to end of next block (if, case, etc.)
M-C-p Move the beginning of the previous block
M-C-d Move down one nested block before point
C-- M-C-d Move down one nested block before point
M-C-u Move up to the top of current enclosing block
C-- M-C-u Move up to the end of the current enclosing block
M-C-a Move to beginning of current sub-program
M-C-e Move to end of current sub-program
JD
|
|
|