unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kester Clegg <kester@cs.york.ac.uk>
Subject: Re: How to set shortcut for uncomment-region?!?
Date: 14 Jan 2003 10:48:36 +0000	[thread overview]
Message-ID: <yqrel7gxb0b.fsf@cs.york.ac.uk> (raw)
In-Reply-To: H8o50y.D0o@news.muni.cz

Dave Sumsky <xsumsky@fi.muni.cz> writes:

> I move to the end of the third line
> 
> C-<SPC>#include <iostream>
> #include <fstream>
> #include <string>
>                             ^
> 
> And now I have a region, which I want to comment, so I try M-;, what's
> the result? This:
> 
> #include <iostream>
> #include <fstream>
> #include <string>                     //
> 
> But I would like to see this:
> 
> // #include <iostream>
> // #include <fstream>
> // #include <string>


What happens if you do M-x comment-region ?


-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************

  reply	other threads:[~2003-01-14 10:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08 15:08 How to set shortcut for uncomment-region?!? Dave Sumsky
2003-01-08 15:18 ` Galen Boyer
2003-01-08 17:11   ` Dave Sumsky
2003-01-08 17:34     ` Galen Boyer
2003-01-08 18:49       ` Henrik Enberg
2003-01-08 19:16         ` Galen Boyer
2003-01-13 20:06 ` Dave Sumsky
2003-01-14 10:48   ` Kester Clegg [this message]
2003-01-14 12:47     ` Thomas Traub
  -- strict thread matches above, loose matches on Subject: below --
2003-01-08 17:57 Moore, Mathew L

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=yqrel7gxb0b.fsf@cs.york.ac.uk \
    --to=kester@cs.york.ac.uk \
    /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).