[mercury-users] Emacs, multi-line comments for Mercury?

Erwan Jahier Erwan.Jahier at irisa.fr
Thu Apr 26 22:05:23 AEST 2001


| 
| ... or some easy way in Emacs to comment an entire region quickly.

You can use comment-region (and uncomment-region) Emacs commands if you are
in a rigth Emacs mode (e.g., prolog-mode or mercury-mode). 

If you have ...
	(global-set-key  "\C-cu" 'uncomment-region)
	(global-set-key  "\C-cc" 'comment-region)
...somewhere in your .emacs config file, then select a region and type 
`CRTL-c c' (resp `CRTL-c u').

-- 
R1.

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list