unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: C Mode Comments
Date: Mon, 30 Dec 2002 17:35:05 +0100	[thread overview]
Message-ID: <84r8bz79dy.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: mailman.705.1041256662.19936.help-gnu-emacs@gnu.org

Kevin Dziulko <dziulko@klaatu.canisius.edu> writes:

> I am running GNU Emacs 20.2.3.  M-; does not run comment-dwim, but runs 
> indent-for-comment.
>
> What I am looking for is a command that would have the effect of killing 
> an entire comment.  For example, given:
>
> int x;      /* this is a comment */
>
> Only "int x;" would remain on this line of code.

It might work to say C-u M-;.

You could try to search for a file newcomment.el, it might have been
posted to gnu.emacs.sources and this version might work with your
Emacs.  Or it might not.  Maybe it's easier to just upgrade your
Emacs.  This is very easy to do, if you have enough space in your
home dir, say.
-- 
Ambibibentists unite!

       reply	other threads:[~2002-12-30 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.705.1041256662.19936.help-gnu-emacs@gnu.org>
2002-12-30 16:35 ` Kai Großjohann [this message]
     [not found] <qlcy96m58g4.fsf@nymfe33.fi.muni.cz>
2002-12-30 13:57 ` C Mode Comments Kevin Dziulko
     [not found] <mailman.416.1040309869.19936.help-gnu-emacs@gnu.org>
2002-12-19 22:22 ` Zero Void
2002-12-19 14:37 Kevin Dziulko

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=84r8bz79dy.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /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).