|
From: | Jonathan Stickel |
Subject: | Re: Commenting out lines |
Date: | Tue, 03 Aug 2004 10:12:20 -0700 |
User-agent: | Mozilla Thunderbird 0.7.1 (X11/20040626) |
Geraint Paul Bevan wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christoph Dalitz wrote on 08/03/04 15:53: | | If you use Emacs, you can mark a region and then type "ESC-x comment-region".| For some strange reason Emacs does not have a function "uncomment-region",| thus I have defined one myself in my ~/.emacs file: | Emacs does have an uncomment-region command - I use it frequently. I currently use version 21.3.1 but I don't remember a time when the command didn't exist.
Is there something I can add to ~/.emacs to have "comment-region" and "uncomment-region" in my menu bar? For c++-mode, these are in the c++ pull down menu. I'd like them in the octave pull-down menu when I am in octave-mode.
Thanks, Jonathan ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |