Lars Madsen <[email protected]> writes:
> If you run TeX-comment-region it will out comment the lines that are
> not blank. How can I tell it to comment everyline even if it is blank?

Since Tassilo answered this part already, let's look at the story :

> I'm using this in a macro that cleans up some 'strange' syntax into a
> more normal env based stuff. But I'd like to keep the original. So the
> macro detects the material, copies it, outcomments the region

At this point you know where the region ends, don't you ?

>  and has
> to insert the converted stuff after the commented area.
>
> but after TeX-comment-region, the cursor may still be inside the
> commented area, so I need to get out.

So you could use it here.

I know I missed something because this was too obvious, but what did I
miss ?

-- 
Nicolas Richard

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to