Re: uncomment-region in xemacs21.4 (patch 12)

Jake Colman <[email protected]>
Newsgroups gmane.emacs.xemacs.general
Message-ID <[email protected]>
>>>>> "SR" == Sonny Rajagopalan <[email protected]> writes:

   SR> well, does it work? appears like "M-x uncomment-region" is not available
   SR> anymore. if that is indeed true, can anyone provide me with code to do the
   SR> same?

   SR> thanks a heap.

Just do 'C-u M-x comment-region' as per the doctring:

`comment-region' is an interactive compiled Lisp function
  -- loaded from "/homes/nj/colman/src/xemacs-21.4.14/lisp/simple.elc"
(comment-region START END &optional ARG)

Documentation:
Comment or uncomment each line in the region.
With just C-u prefix arg, uncomment each line in region.
Numeric prefix arg ARG means use ARG comment characters.
If ARG is negative, delete that many comment characters instead.
Comments are terminated on each line, even for syntax in which newline does
not end the comment.  Blank lines do not get comments.

-- 
Jake Colman -- XEmacs Tinkerer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.