From: Deniz Dogan <deniz@dogan.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Commenting Multiple Lines
Date: Mon, 19 Sep 2011 06:45:18 +0200 [thread overview]
Message-ID: <4E76C8DE.3060502@dogan.se> (raw)
In-Reply-To: <CAN9n2azxv1L6YdLuby2AS4=1MLjtss6-exfCNKADCXfgeD6maw@mail.gmail.com>
On 2011-09-19 05:38, Nachiappan A wrote:
> Hi All,
>
> Thanks for the reply. M-; works for me. It does both the job of
> commenting and un-commenting.
>
> @Drew Adams : When i did 'C-h k' and tried 'C-c C-c' below was the
> description
> "runs the command comment-region, which is an interactive compiled Lisp
> function."
>
> Just trying to understanding, both C-c C-c and M-; does the job of
> commenting, what is the basic difference ?
C-c C-c is not a universal binding for commenting. M-; is. C-c C-c is
most likely bound by some major mode you are using. Try it in e.g.
lisp-mode and you will see that it does not do commenting there.
> Where can i find all such emacs shortcuts related to programming ?
This also depends on the modes you are using. You can use e.g. C-h b to
see all bindings currently active (usually a pretty long list), or you
can use C-h m to see a description of all modes you are currently using,
which narrows the list of bindings for each mode down.
next prev parent reply other threads:[~2011-09-19 4:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-18 18:20 Commenting Multiple Lines Nachiappan A
2011-09-18 20:58 ` Deniz Dogan
2011-09-18 21:01 ` Jambunathan K
2011-09-18 23:07 ` suvayu ali
2011-09-19 3:38 ` Nachiappan A
2011-09-19 4:45 ` Deniz Dogan [this message]
2011-09-19 6:00 ` Suvayu Ali
2011-09-18 21:27 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E76C8DE.3060502@dogan.se \
--to=deniz@dogan.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).